diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 01:45:57 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-11 01:45:57 +0100 |
| commit | 6702125f12820c504ae18114f99fee3e13b2616f (patch) | |
| tree | f775b3d409951e1078547d380fc87a2da69cddb5 /views | |
| parent | 7b6a999eb2ae4ade37acd045cf8f806b4021d4c1 (diff) | |
moreeeeee styling
Diffstat (limited to 'views')
| -rw-r--r-- | views/pages/index.ejs | 9 | ||||
| -rw-r--r-- | views/pages/search.ejs | 2 | ||||
| -rw-r--r-- | views/partials/comments.ejs | 11 | ||||
| -rw-r--r-- | views/partials/searchform.ejs | 6 | ||||
| -rw-r--r-- | views/partials/threads.ejs | 5 |
5 files changed, 14 insertions, 19 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs index ea9236a..0dd5cdd 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -1,18 +1,11 @@ <% include ../partials/header %> <div id="content"> - <% include ../partials/searchform %> <% include ../partials/threads %> </div> <div id="sidebar"> - <div class="bluebox"> - <b><big>welcome to bucky</big></b> - <a href="/mail">Inbox</a> | - <a href="/profile">Profile</a> | - <a href="/logout">Logout</a> - </div> - + <% include ../partials/searchform %> <span class="lastlog bluebox"> <script class="template" type="text/html"> <a href="/profile/{{username}}">{{username}}</a> diff --git a/views/pages/search.ejs b/views/pages/search.ejs index 3ee3f8e..6994876 100644 --- a/views/pages/search.ejs +++ b/views/pages/search.ejs @@ -35,7 +35,7 @@ </script> </div> - <a class="next_page" href="">Next page</a> + <a class="next_page" href="">Next page →</a> </div> </div> diff --git a/views/partials/comments.ejs b/views/partials/comments.ejs index 14bb9bf..936e487 100644 --- a/views/partials/comments.ejs +++ b/views/partials/comments.ejs @@ -20,13 +20,12 @@ </td> </tr> </script> -</table> -<table id="comment_form"> - <tr> - <td> + <tr id="comment_form"> + <td></td> + <td colspan="2"> <form> - <textarea required name="comment" placeholder="Enter your comment"></textarea> + <textarea required name="comment" placeholder="Add a comment"></textarea> <div class="inputs"> <input name="files" type="file" multiple> <input type="submit" value="POST" /> @@ -35,4 +34,4 @@ </form> </td> </tr> -</table>
\ No newline at end of file +</table> diff --git a/views/partials/searchform.ejs b/views/partials/searchform.ejs index be4bd97..c3b07e1 100644 --- a/views/partials/searchform.ejs +++ b/views/partials/searchform.ejs @@ -1,4 +1,4 @@ -<form id="search_form" action="/search" method="get" style="margin: 10px;"> +<form id="search_form" action="/search" method="get"> <div class='button'></div> - <input type="text" name="query" autofocus> -</form> + <input type="text" name="query"> +</form>
\ No newline at end of file diff --git a/views/partials/threads.ejs b/views/partials/threads.ejs index 9711eff..be3e458 100644 --- a/views/partials/threads.ejs +++ b/views/partials/threads.ejs @@ -7,7 +7,10 @@ <b><i>the latest</i></b> · </td> <td> - <a href="/post/">Start a new thread!</a> + <a href="/post/">Start a new thread!</a> | + <a href="/mail">Inbox</a> | + <a href="/profile">Profile</a> | + <a href="/logout">Logout</a> </td> </tr> </script> |
