summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-11 21:48:29 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-11 21:48:29 +0200
commit72423bd9cbe526c2d91701043498863c687f8db9 (patch)
tree5612d313b4b395e94f1c278d621b59dee5d461d9 /templates
parentfc40d7c22a54bf11b05b1e3e0015bc90530d66e8 (diff)
Moved menu, fixed login button.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.tmpl26
-rw-r--r--templates/login.tmpl2
2 files changed, 14 insertions, 14 deletions
diff --git a/templates/base.tmpl b/templates/base.tmpl
index 5b710f8..b15e62f 100644
--- a/templates/base.tmpl
+++ b/templates/base.tmpl
@@ -12,6 +12,19 @@
<div id="page">
<div id="page-header">
<h1><a href="/">$header</a></h1>
+ <div id="page-menu">
+ <ul>
+ <li><a href="/u">upload</a></li>
+#if $user
+ <li><a href="/o">logout</a></li>
+ <li><a href="/m">myfiles</a></li>
+#else
+ <li><a href="/l">login</a></li>
+ <li><a href="/r">register</a></li>
+#end if
+ <li><a href="/h">help</a></li>
+ </ul>
+ </div>
</div>
<p class="login">#slurp
#if $user
@@ -26,18 +39,5 @@ Not logged in.#slurp
<div id="page-wrapper"></div>
</div>
</div>
- <div id="page-footer">
- <ul>
- <li><a href="/u">upload</a></li>
-#if $user
- <li><a href="/o">logout</a></li>
- <li><a href="/m">myfiles</a></li>
-#else
- <li><a href="/l">login</a></li>
- <li><a href="/r">register</a></li>
-#end if
- <li><a href="/h">help</a></li>
- </ul>
- </div>
</body>
</html>
diff --git a/templates/login.tmpl b/templates/login.tmpl
index 6baee6c..306b0aa 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -9,6 +9,6 @@
<p><input type="text" id="username" name="username" /></p>
<p>password</p>
<p><input type="password" id="password" name="password" /></p>
- <p><input type="submit" value="Upload" /></p>
+ <p><input type="submit" value="Login" /></p>
</form>
#end def