diff options
-rw-r--r-- | static/archive.html | 18 | ||||
-rw-r--r-- | static/css/themes/default.css | 1 | ||||
-rw-r--r-- | static/css/themes/gruvbox.css | 1 | ||||
-rw-r--r-- | static/main.html | 4 | ||||
-rw-r--r-- | static/npost.html | 18 | ||||
-rw-r--r-- | static/nposts.html | 8 |
6 files changed, 28 insertions, 22 deletions
diff --git a/static/archive.html b/static/archive.html index 3e040bc..f9e13da 100644 --- a/static/archive.html +++ b/static/archive.html @@ -20,7 +20,7 @@ {{ end }} {{ define "top" }} -<h1>/{{ .Board.Name }}/ - {{ .Board.PrefName }}</h1> +<h1 style="text-align: center;">/{{ .Board.Name }}/ - {{ .Board.PrefName }}</h1> <p style="text-align: center;">{{ .Board.Summary }}</p> <h1 style="text-align: center;">Archived Posts</h1> {{ end }} @@ -30,10 +30,10 @@ <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="/{{ $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> + <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> @@ -72,10 +72,10 @@ <hr> <div style="height: 22px;"> <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 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">[<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> </ul> </div> <hr> diff --git a/static/css/themes/default.css b/static/css/themes/default.css index 8b93e51..a0692f9 100644 --- a/static/css/themes/default.css +++ b/static/css/themes/default.css @@ -81,6 +81,7 @@ h1, h2, h3, h4, h5, h6 { a.reply { color: #af0a0f; + text-decoration: underline; } .replyLink { diff --git a/static/css/themes/gruvbox.css b/static/css/themes/gruvbox.css index b534bed..16465f3 100644 --- a/static/css/themes/gruvbox.css +++ b/static/css/themes/gruvbox.css @@ -5,6 +5,7 @@ a, a:link, a:visited, a:active { a.reply { color: #cc241d; + text-decoration: underline; } a:hover.reply { diff --git a/static/main.html b/static/main.html index ba871c0..76f7a1e 100644 --- a/static/main.html +++ b/static/main.html @@ -36,7 +36,7 @@ </ul> {{ if .Board.ModCred }} {{ if eq .Board.ModCred .Board.Domain .Board.Actor.Id }} - <span style="float: right;"><a href="/{{ .Key }}/{{ .Board.Name }}">[Manage Board]</a></span> + <span style="float: right;">[<a href="/{{ .Key }}/{{ .Board.Name }}">Manage Board</a>]</span> {{ end }} {{ end }} {{ template "top" . }} @@ -46,7 +46,7 @@ {{ template "bottom" . }} <div align="center" style="width: 500px; margin:0 auto; margin-top: 50px;"> - <a href="/">[Home]</a><a href="/static/rules.html">[Rules]</a><a href="/static/faq.html">[FAQ]</a> + [<a href="/">Home</a>] [<a href="/static/rules.html">Rules</a>] [<a href="/static/faq.html">FAQ</a>] <p>All trademarks and copyrights on this page are owned by their respective parties.</p> </div> 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> diff --git a/static/nposts.html b/static/nposts.html index 46d8bb1..998152e 100644 --- a/static/nposts.html +++ b/static/nposts.html @@ -43,17 +43,17 @@ <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 }}"><</a>]</li> {{ end }} {{ range $i, $e := .Pages }} {{ if eq $i $page}} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ $i }}"><b>[{{ $i }}]</b></a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}"><b>{{ $i }}</b></a>]</li> {{ else }} - <li style="display: inline"><a href="/{{ $board.Name }}?page={{ $i }}">[{{ $i }}]</a></li> + <li style="display: inline">[<a href="/{{ $board.Name }}?page={{ $i }}">{{ $i }}</a>]</li> {{ 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 }}">></a>]</li> {{ end }} </ul> {{ end }} |