diff options
Diffstat (limited to 'views/pages/index.ejs')
| -rw-r--r-- | views/pages/index.ejs | 32 |
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 %> |
