aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
diff options
context:
space:
mode:
authorBuchan Milne <buchan@mageia.org>2010-11-02 20:29:21 +0000
committerBuchan Milne <buchan@mageia.org>2010-11-02 20:29:21 +0000
commit7fa312026a6caba28550339fc29edfd790e78fda (patch)
treec054f6b854a3c6f6cba566b02b3fdd95b91a124c /root/template/header
parent11665d7a97e320fb38fd076da3ad7c62f36a1362 (diff)
downloadidentity-7fa312026a6caba28550339fc29edfd790e78fda.tar
identity-7fa312026a6caba28550339fc29edfd790e78fda.tar.gz
identity-7fa312026a6caba28550339fc29edfd790e78fda.tar.bz2
identity-7fa312026a6caba28550339fc29edfd790e78fda.tar.xz
identity-7fa312026a6caba28550339fc29edfd790e78fda.zip
Add some CSS themeing, and refactor some template stuff using preprocess
Add missing tempaltes
Diffstat (limited to 'root/template/header')
-rw-r--r--root/template/header16
1 files changed, 16 insertions, 0 deletions
diff --git a/root/template/header b/root/template/header
new file mode 100644
index 0000000..11ca573
--- /dev/null
+++ b/root/template/header
@@ -0,0 +1,16 @@
+<!-- BEGIN template/header -->
+<div class="masthead">
+<h1>[% c.config.apptitle %]</h1>
+</div>
+<div class="hnav">
+<!--div class="hnav" -->
+<ul class="hnav">
+[% FOREACH page IN pages %]
+<li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
+[% END %]
+[% IF c.user.username %]
+<li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">Log out</a></li>
+[% END %]
+</ul>
+</div>
+<!-- END template/header -->