diff options
Diffstat (limited to 'static/npost.html')
-rw-r--r-- | static/npost.html | 18 |
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> |