summaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/comments.ejs5
-rw-r--r--views/partials/header.ejs7
-rw-r--r--views/partials/searchform.ejs2
-rw-r--r--views/partials/threads.ejs4
4 files changed, 13 insertions, 5 deletions
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> &middot;
- <a href="/comment/{{id}}/remove">remove</a> &middot;
+ <a href="#" data-id="{{id}}" class='remove'>remove</a>
+<!--
+ &middot;
<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&nbsp;latest</i></b>&nbsp;&middot;
</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>&nbsp;&middot;
+ <b><a href="/index/{{keyword}}">{{keyword}}</a></b>&nbsp;&middot;
</td>
<td>
<a href="/post/{{keyword}}">post</a>