aboutsummaryrefslogtreecommitdiff
path: root/static/npost.html
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-10-05 20:07:42 -0300
committerFChannel <>2022-06-19 12:52:40 -0700
commita1e1a5f003fcbeec35b3cb0399ca41d6d3579425 (patch)
tree091abc2a7d4e4eae78e5341f188b3f4465cb0561 /static/npost.html
parent83d8bc02be90950f0661f56f8d4b12d330dbfdcc (diff)
very minor cosmetic fixes
Diffstat (limited to 'static/npost.html')
-rw-r--r--static/npost.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/static/npost.html b/static/npost.html
index 2f0778f..026d775 100644
--- a/static/npost.html
+++ b/static/npost.html
@@ -22,21 +22,25 @@
<hr>
<ul style="margin: 0; padding: 0; display: inline">
- <li style="display: inline"><a href="/{{ $board.Name }}">[Return]</a></li>
- <li style="display: inline"><a href="#bottom">[Bottom]</a></li>
- <li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
+ <li style="display: inline">[<a href="/{{ $board.Name }}">Return</a>]</li>
+ <li style="display: inline">[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
+ <li style="display: inline">[<a href="#bottom">Bottom</a>]</li>
+ <li style="display: inline">[<a href="javascript:location.reload()">Refresh</a>]</li>
</ul>
<hr>
{{ template "posts" . }}
<hr>
-<ul style="position: absolute; left: 5px; margin: 0; padding: 0; display: inline">
- <li style="display: inline"><a href="/{{ $board.Name }}">[Return]</a></li>
- <li style="display: inline"><a id="bottom" href="#top">[Top]</a></li>
- <li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
+
+<ul style="margin: 0; padding: 0; display: inline">
+ <li style="display: inline">[<a href="/{{ $board.Name }}">Return</a>]</li>
+ <li style="display: inline">[<a href="/{{ $board.Name }}/catalog">Catalog</a>]</li>
+ <li style="display: inline">[<a id="bottom" href="#top">Top</a>]</li>
+ <li style="display: inline">[<a href="javascript:location.reload()">Refresh</a>]</li>
<li style="display: inline"><input id="autoreload-checkbox" type="checkbox" onclick="autoTimer()"> Auto refresh <span id="autoreload-countdown" style="visibility: hidden;">0</span></li>
</ul>
+
{{ $replies := (index .Posts 0).Replies }}
<span style="float: right;">{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}</span>