summaryrefslogtreecommitdiff
path: root/views/pages/index.ejs
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-10 04:42:16 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-10 04:42:16 +0100
commita932b664db987f2cf9ceefe9bb56e43793470d5e (patch)
treebd0722849164218e418cc032d5a8a50d6b106709 /views/pages/index.ejs
parent9978bb56fc2c56ad52930bde9bcaa561158a158a (diff)
style search. LOTTA styling
Diffstat (limited to 'views/pages/index.ejs')
-rw-r--r--views/pages/index.ejs32
1 files changed, 22 insertions, 10 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs
index 454e358..7919344 100644
--- a/views/pages/index.ejs
+++ b/views/pages/index.ejs
@@ -1,22 +1,34 @@
<% include ../partials/header %>
-<hr>
+<div id="content">
+ <% include ../partials/threads %>
+</div>
<div id="sidebar">
- <div class="bluebox">
- <b><big>welcome to bucky</big></b>
- </div>
<div class="bluebox" id="searchbox">
- <form>
- <input type="text" name="search" autofocus>
+ <b><big>welcome to bucky</big></b>
+
+ <form action="/search" method="get">
+ <input type="text" name="query" autofocus>
<button>SEARCH</button>
</form>
+
</div>
- <% include ../partials/hootbox %>
-</div>
+ <div class="bluebox">
+ <a href="/post">new post</a> |
+ <a href="/mail">inbox</a> |
+ <a href="/message">message</a> |
+ <a href="/profile">profile</a> |
+ <a href="/logout">logout</a>
+ </div>
+ <span class="lastlog bluebox">
+ <script class="template" type="text/html">
+ <a href="/profile/{{username}}">{{username}}</a>
+ [{{age}}]
+ </script>
+ </span>
-<div id="content">
- <% include ../partials/threads %>
+ <% include ../partials/hootbox %>
</div>
<% include ../partials/footer %>