diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/pages/index.ejs | 19 | ||||
| -rw-r--r-- | views/pages/search.ejs | 13 | ||||
| -rw-r--r-- | views/partials/searchform.ejs | 4 | ||||
| -rw-r--r-- | views/partials/threads.ejs | 2 |
4 files changed, 19 insertions, 19 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs index 37f828e..ea9236a 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -1,25 +1,16 @@ <% include ../partials/header %> -<div class="subtitle"> - <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> <div id="content"> + <% include ../partials/searchform %> <% include ../partials/threads %> </div> <div id="sidebar"> - <div class="bluebox" id="searchbox"> + <div class="bluebox"> <b><big>welcome to bucky</big></b> - - <form action="/search" method="get"> - <input type="text" name="query" autofocus> - <button>SEARCH</button> - </form> - + <a href="/mail">Inbox</a> | + <a href="/profile">Profile</a> | + <a href="/logout">Logout</a> </div> <span class="lastlog bluebox"> diff --git a/views/pages/search.ejs b/views/pages/search.ejs index 0bf7819..3ee3f8e 100644 --- a/views/pages/search.ejs +++ b/views/pages/search.ejs @@ -1,12 +1,17 @@ <% include ../partials/header %> +<div class="subtitle"> + <a href="/">< Home</a> | + <a href="/post">New</a> | + <a href="/mail">Inbox</a> | + <a href="/message">Message</a> | + <a href="/profile">Profile</a> | + <a href="/logout">Logout</a> +</div> <div id="content"> <div id="search"> - <form action="/search" method="get" style="margin: 10px;"> - <input type="text" name="query" autofocus> - <button>SEARCH</button> - </form> + <% include ../partials/searchform %> <div id="results"> <div class="preamble"> diff --git a/views/partials/searchform.ejs b/views/partials/searchform.ejs new file mode 100644 index 0000000..be4bd97 --- /dev/null +++ b/views/partials/searchform.ejs @@ -0,0 +1,4 @@ +<form id="search_form" action="/search" method="get" style="margin: 10px;"> + <div class='button'></div> + <input type="text" name="query" autofocus> +</form> diff --git a/views/partials/threads.ejs b/views/partials/threads.ejs index 94a7a62..9711eff 100644 --- a/views/partials/threads.ejs +++ b/views/partials/threads.ejs @@ -28,7 +28,7 @@ <td> <a href="/profile/{{username}}">{{username}}</a> {{privacy_dot}} </td> - <td class="{{color}}"> + <td class="{{color}} title"> <a href="/details/{{id}}">{{title}}</a> </td> <td class="{{date_class}}"> |
