projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stubbed out userpages.
[zzz-floof.git]
/
floof
/
templates
/
base.mako
diff --git
a/floof/templates/base.mako
b/floof/templates/base.mako
index
19f8455
..
f50f56a
100644
(file)
--- a/
floof/templates/base.mako
+++ b/
floof/templates/base.mako
@@
-10,13
+10,15
@@
<div id="header">
<a href="${h.url_for("/")}">Home</a>
<div id="header">
<a href="${h.url_for("/")}">Home</a>
-${h.form
(h.url_for(controller="search", action="results")
)}
-${h.text('query')} ${h.submit(
'search',
'Search')}
+${h.form
(h.url_for(controller='search'), method='GET'
)}
+${h.text('query')} ${h.submit(
None,
'Search')}
${h.end_form()}
<div id="user">
% if c.user:
${h.end_form()}
<div id="user">
% if c.user:
- <p>Logged in as ${c.user.name}</p>
+ <form action="${url(controller='account', action='logout')}" method="POST">
+ <p>Logged in as ${c.user.name}. ${h.submit(None, 'Log out')}</p>
+ </form>
% else:
<form action="${url(controller='account', action='login_begin')}" method="POST">
<p>
% else:
<form action="${url(controller='account', action='login_begin')}" method="POST">
<p>