aboutsummaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/general_scripts.html1
-rw-r--r--views/partials/post_nav.html7
-rw-r--r--views/partials/post_scripts.html (renamed from views/partials/postscripts.html)1
-rw-r--r--views/partials/top.html2
4 files changed, 9 insertions, 2 deletions
diff --git a/views/partials/general_scripts.html b/views/partials/general_scripts.html
new file mode 100644
index 0000000..d59309e
--- /dev/null
+++ b/views/partials/general_scripts.html
@@ -0,0 +1 @@
+<script src="/static/js/themes.js"></script>
diff --git a/views/partials/post_nav.html b/views/partials/post_nav.html
new file mode 100644
index 0000000..eab52d1
--- /dev/null
+++ b/views/partials/post_nav.html
@@ -0,0 +1,7 @@
+<!-- TODO: showArchive function needs to be fixed
+ \{\{ if showArchive }}
+ <li>[<a href="/{{ .Board.Name }}/archive">Archive</a>]</li>
+ \{\{ end }}
+ -->
+<li>[<a href="#top" id="bottom">Top</a>]</li>
+<li>[<a href="javascript:location.reload()">Refresh</a>]</li>
diff --git a/views/partials/postscripts.html b/views/partials/post_scripts.html
index f26e354..f23255c 100644
--- a/views/partials/postscripts.html
+++ b/views/partials/post_scripts.html
@@ -1,3 +1,2 @@
<script src="/static/js/posts.js"></script>
<script src="/static/js/footerscript.js"></script>
-<script src="/static/js/timer.js"></script>
diff --git a/views/partials/top.html b/views/partials/top.html
index 7c03c36..032e86b 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -1,4 +1,4 @@
-<div style="margin: 0 auto; width: 700px;">
+<div style="max-width: 800px; margin: 0 auto;">
<h1 style="text-align: center;">/{{ .Board.Name }}/ - {{ .Board.PrefName }}</h1>
<p style="text-align: center;">{{ .Board.Summary }}</p>
{{ $len := len .Posts }}