diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/pages/details.ejs | 24 | ||||
| -rw-r--r-- | views/pages/index.ejs | 4 | ||||
| -rw-r--r-- | views/partials/comments.ejs | 5 | ||||
| -rw-r--r-- | views/partials/header.ejs | 7 | ||||
| -rw-r--r-- | views/partials/searchform.ejs | 2 | ||||
| -rw-r--r-- | views/partials/threads.ejs | 4 |
6 files changed, 27 insertions, 19 deletions
diff --git a/views/pages/details.ejs b/views/pages/details.ejs index c63d02f..a9e6c37 100644 --- a/views/pages/details.ejs +++ b/views/pages/details.ejs @@ -3,19 +3,17 @@ <div id="details_rapper"> <% include ../partials/metadata %> - <table id="details"> - <tr> - <td class="left"> - <% include ../partials/comments %> - </td> - - <td class="right"> - <% include ../partials/gallery %> - <% include ../partials/files %> - <% include ../partials/threads %> - </td> - </tr> - </table> + <div id="details"> + <div class="left"> + <% include ../partials/comments %> + </div> + + <div class="right"> + <% include ../partials/gallery %> + <% include ../partials/files %> + <% include ../partials/threads %> + </div> + </div> </div> <% include ../partials/footer %> diff --git a/views/pages/index.ejs b/views/pages/index.ejs index 0dd5cdd..8b4e033 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -1,11 +1,13 @@ <% include ../partials/header %> +<div class="subtitle"></div> + <div id="content"> <% include ../partials/threads %> </div> <div id="sidebar"> - <% include ../partials/searchform %> + <% include ../partials/searchform %> <span class="lastlog bluebox"> <script class="template" type="text/html"> <a href="/profile/{{username}}">{{username}}</a> diff --git a/views/partials/comments.ejs b/views/partials/comments.ejs index 936e487..ec27b09 100644 --- a/views/partials/comments.ejs +++ b/views/partials/comments.ejs @@ -14,8 +14,11 @@ </span> <span class="edit-links"> <a href="/comment/{{id}}/edit">edit</a> · - <a href="/comment/{{id}}/remove">remove</a> · + <a href="#" data-id="{{id}}" class='remove'>remove</a> +<!-- + · <a href="/comment/{{id}}/reply">reply</a> + --> </span> </td> </tr> diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 9a90d9c..d96179d 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -2,9 +2,14 @@ <html> <head> <title>bucky</title> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <link rel="stylesheet" href="/assets/css/bucky.css"> <meta name="_csrf" value="<%= csrfToken %>"> </head> <body class="loading"> -<h1><%= title %></h1> +<header> + <h1><%= title %></h1> + <% include ../partials/searchform %> +</header>
\ No newline at end of file diff --git a/views/partials/searchform.ejs b/views/partials/searchform.ejs index c3b07e1..7eea248 100644 --- a/views/partials/searchform.ejs +++ b/views/partials/searchform.ejs @@ -1,4 +1,4 @@ -<form id="search_form" action="/search" method="get"> +<form class="search_form" action="/search" method="get"> <div class='button'></div> <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 be3e458..5c8e8a5 100644 --- a/views/partials/threads.ejs +++ b/views/partials/threads.ejs @@ -6,7 +6,7 @@ <td> <b><i>the latest</i></b> · </td> - <td> + <td colspan="4"> <a href="/post/">Start a new thread!</a> | <a href="/mail">Inbox</a> | <a href="/profile">Profile</a> | @@ -18,7 +18,7 @@ <script class="keywordTemplate" type="text/html"> <tr class='keyword'> <td> - <b>{{keyword}}</b> · + <b><a href="/index/{{keyword}}">{{keyword}}</a></b> · </td> <td> <a href="/post/{{keyword}}">post</a> |
