summaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/comments.ejs2
-rw-r--r--views/partials/hootbox.ejs2
-rw-r--r--views/partials/scripts.ejs2
-rw-r--r--views/partials/threads.ejs2
4 files changed, 5 insertions, 3 deletions
diff --git a/views/partials/comments.ejs b/views/partials/comments.ejs
index 907040f..b47702c 100644
--- a/views/partials/comments.ejs
+++ b/views/partials/comments.ejs
@@ -2,7 +2,7 @@
<script class="template" type="text/html">
<tr>
<td class="user">
- <a href="/profile/{{username}}"><div class="avatar" style="background-image:url(/data/profile/{{username}}.jpg)"></div></a>
+ <a href="/profile/{{username}}"><div class="avatar" style="background-image:url({{image}})"></div></a>
<a href="/profile/{{username}}">{{username}}</a>
</td>
<td colspan="2" class="comment">
diff --git a/views/partials/hootbox.ejs b/views/partials/hootbox.ejs
index 0f6fce4..fe0298b 100644
--- a/views/partials/hootbox.ejs
+++ b/views/partials/hootbox.ejs
@@ -7,7 +7,7 @@
<table id="hoots">
<script class="template" type="text/html">
<tr>
- <td class="avatar" style="background-image:url(/data/profile/{{username}}.jpg)"><a href="/profile/{{username}}"></a></td>
+ <td class="avatar" style="background-image:url({{image}})"><a href="/profile/{{username}}"></a></td>
<td>
{{comment}}
</td>
diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs
index 9563442..e80bdda 100644
--- a/views/partials/scripts.ejs
+++ b/views/partials/scripts.ejs
@@ -26,7 +26,9 @@
<script src="/assets/js/lib/views/index/threadform.js"></script>
<script src="/assets/js/lib/views/search/results.js"></script>
+
<script src="/assets/js/lib/views/profile/profile.js"></script>
+<script src="/assets/js/lib/views/profile/profile_edit.js"></script>
<script src="/assets/js/lib/views/details/index.js"></script>
<script src="/assets/js/lib/views/details/settings.js"></script>
diff --git a/views/partials/threads.ejs b/views/partials/threads.ejs
index 5c8e8a5..e429219 100644
--- a/views/partials/threads.ejs
+++ b/views/partials/threads.ejs
@@ -10,7 +10,7 @@
<a href="/post/">Start a new thread!</a> |
<a href="/mail">Inbox</a> |
<a href="/profile">Profile</a> |
- <a href="/logout">Logout</a>
+ <a href="/logout" class="logout">Logout</a>
</td>
</tr>
</script>