aboutsummaryrefslogtreecommitdiff
path: root/static/nposts.html
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2021-08-20 01:35:26 -0700
committerGitHub <noreply@github.com>2021-08-20 01:35:26 -0700
commit502558e0bdaf67ca4c012fc1983f42430b8854cd (patch)
treed66b015274b962fedb28c52c0efaaa068368f2b1 /static/nposts.html
parent21917eb2ea72fe40d70c2c991e821aace5430c23 (diff)
parenta497499817cbf72b295253e1a2bb1011d121ba28 (diff)
Merge pull request #52 from KushBlazingJudah/development
Themes
Diffstat (limited to 'static/nposts.html')
-rw-r--r--static/nposts.html30
1 files changed, 16 insertions, 14 deletions
diff --git a/static/nposts.html b/static/nposts.html
index 6def8b2..46d8bb1 100644
--- a/static/nposts.html
+++ b/static/nposts.html
@@ -15,33 +15,35 @@
{{ define "content" }}
{{ $board := .Board }}
<hr>
-<ul style="margin: 0; padding: 0; display: inline">
- <li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+<div class="navlinks">
+ [<a href="/{{ $board.Name }}/catalog">Catalog</a>]
{{ if showArchive }}
- <li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
+ [<a href="/{{ $board.Name }}/archive">Archive</a>]
{{ end }}
- <li style="display: inline"><a href="#bottom">[Bottom]</a></li>
- <li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
-</ul>
+ [<a href="#bottom">Bottom</a>]
+ [<a href="javascript:location.reload()">Refresh</a>]
+</div>
{{ template "posts" . }}
<hr>
-<ul style="margin: 0; padding: 0; display: inline">
- <li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+
+<div class="navlinks">
+ [<a href="/{{ $board.Name }}/catalog">Catalog</a>]
{{ if showArchive }}
- <li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
+ [<a href="/{{ $board.Name }}/archive">Archive</a>]
{{ end }}
- <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>
+ [<a href="#top" id="bottom">Top</a>]
+ [<a href="javascript:location.reload()">Refresh</a>]
+</div>
+
<hr>
{{ if gt .TotalPage 0 }}
{{ $totalPage := .TotalPage }}
<ul style="float: right; margin: 0; padding: 0; display: inline">
{{ $page := .CurrentPage }}
{{ if gt $page 0 }}
- <li style="display: inline"><a href="/{{ $board.Name }}?page={{ sub $page 1 }}">[ < ]</a></li>
+ <li style="display: inline"><a href="/{{ $board.Name }}?page={{ sub $page 1 }}">[ &lt; ]</a></li>
{{ end }}
{{ range $i, $e := .Pages }}
{{ if eq $i $page}}
@@ -51,7 +53,7 @@
{{ end }}
{{ end }}
{{ if lt .CurrentPage .TotalPage }}
- <li style="display: inline"><a href="/{{ $board.Name }}?page={{ add $page 1 }}">[ > ]</a></li>
+ <li style="display: inline"><a href="/{{ $board.Name }}?page={{ add $page 1 }}">[ &gt; ]</a></li>
{{ end }}
</ul>
{{ end }}