summaryrefslogtreecommitdiff
path: root/views/partials/header.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-06 11:48:08 -0400
committerJules Laplace <jules@okfoc.us>2015-09-06 11:48:08 -0400
commitabe12120374d07cf5f87192964a9d1c10741e475 (patch)
tree48a5c09e51863fe1508e7404cec2a9340e29f686 /views/partials/header.ejs
parent5b1461e7b4d32e96eaa8386b4b7ea96ec4b18d5a (diff)
header
Diffstat (limited to 'views/partials/header.ejs')
-rw-r--r--views/partials/header.ejs22
1 files changed, 21 insertions, 1 deletions
diff --git a/views/partials/header.ejs b/views/partials/header.ejs
index 0b2c5c5..799040f 100644
--- a/views/partials/header.ejs
+++ b/views/partials/header.ejs
@@ -9,4 +9,24 @@
<h1><%= title %></h1>
-<hr> \ No newline at end of file
+<hr>
+
+<% if (show_header) { %>
+ <div id="menu">
+ <span class="lastlog">
+ <script class="template" type="text/html">
+ <a href="/profile/{{username}}">{{username}}</a>
+ [{{age}}]
+ </script>
+ </span>
+ <span class="links">
+ <a href="/index">home</a> |
+ <a href="/search">search</a> |
+ <a href="/post">post</a> |
+ <a href="/inbox">inbox</a> |
+ <a href="/message">message</a> |
+ <a href="/profile">profile</a> |
+ <a href="/logout">logout</a>
+ </span>
+ </div>
+<% } %> \ No newline at end of file