From a1e1a5f003fcbeec35b3cb0399ca41d6d3579425 Mon Sep 17 00:00:00 2001
From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>
Date: Tue, 5 Oct 2021 20:07:42 -0300
Subject: very minor cosmetic fixes
---
static/archive.html | 18 +++++++++---------
static/css/themes/default.css | 1 +
static/css/themes/gruvbox.css | 1 +
static/main.html | 4 ++--
static/npost.html | 18 +++++++++++-------
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" }}
-
/{{ .Board.Name }}/ - {{ .Board.PrefName }}
+/{{ .Board.Name }}/ - {{ .Board.PrefName }}
{{ .Board.Summary }}
Archived Posts
{{ end }}
@@ -30,10 +30,10 @@
@@ -72,10 +72,10 @@
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 @@
{{ if .Board.ModCred }}
{{ if eq .Board.ModCred .Board.Domain .Board.Actor.Id }}
- [Manage Board]
+ [Manage Board]
{{ end }}
{{ end }}
{{ template "top" . }}
@@ -46,7 +46,7 @@
{{ template "bottom" . }}
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 @@
{{ template "posts" . }}
-
- - [Return]
- - [Top]
- - [Refresh]
+
+
+
{{ $replies := (index .Posts 0).Replies }}
{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}
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 @@
{{ $page := .CurrentPage }}
{{ if gt $page 0 }}
- - [ < ]
+ - [<]
{{ end }}
{{ range $i, $e := .Pages }}
{{ if eq $i $page}}
- - [{{ $i }}]
+ - [{{ $i }}]
{{ else }}
- - [{{ $i }}]
+ - [{{ $i }}]
{{ end }}
{{ end }}
{{ if lt .CurrentPage .TotalPage }}
- - [ > ]
+ - [>]
{{ end }}
{{ end }}
--
cgit v1.2.3