summaryrefslogtreecommitdiff
path: root/views/pages/index.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/pages/index.ejs')
-rw-r--r--views/pages/index.ejs48
1 files changed, 2 insertions, 46 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs
index 82ef8ab..454e358 100644
--- a/views/pages/index.ejs
+++ b/views/pages/index.ejs
@@ -12,55 +12,11 @@
<button>SEARCH</button>
</form>
</div>
- <div class="bluebox" id="hootbox">
- <form>
- <input type="text" name="hoot">
- <button><%= hoot_text %></button>
- </form>
- <table id="hoots">
- <script class="template" type="text/html">
- <tr>
- <td style="background-image:url(//www.carbonpictures.com/bucky/data/profile/.thumb/am.{{username}}.jpg)"><a href="/profile/{{username}}"><div></div></a></td>
- <td>
- {{comment}}
- </td>
- </tr>
- </script>
- </table>
- </div>
+ <% include ../partials/hootbox %>
</div>
<div id="content">
-
- <table class="threads">
- <script class="template" type="text/html">
- <tr>
- <td>
- <a href="/profile/{{username}}">{{username}}</a>
- {{privacy_dot}}
- </td>
- <td class="{{color}}">
- <a href="/details/{{id}}">{{title}}</a>
- </td>
- <td class="{{date_class}}">
- {{date}} <small>{{time}}</small>
- </td>
- <td class="{{views_class}}">
- {{views}}
- </td>
- <td class="{{comments_class}}">
- {{comments}}
- </td>
- <td class="{{show_files}}">
- <span class="size">
- <span class="{{size_class}}">{{size}}</span>
- in
- </span>
- <span class="{{files_class}}">{{files}}</span>
- </td>
- </tr>
- </script>
- </table>
+ <% include ../partials/threads %>
</div>
<% include ../partials/footer %>