aboutsummaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
authorFChannel <>2022-06-19 12:47:32 -0700
committerFChannel <>2022-06-19 16:03:29 -0700
commitb02f813e519dc890f2eb4827ff52cff3ff90c828 (patch)
treed020fbdefda52542aab3f4250bf93533e9f38504 /views/partials
parentcd99df8d6781c3f0a191d119ea0ddf8c4a16089f (diff)
v0.1.0
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/footer.html3
-rw-r--r--views/partials/top.html6
2 files changed, 3 insertions, 6 deletions
diff --git a/views/partials/footer.html b/views/partials/footer.html
index 2253039..cfae619 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -4,7 +4,8 @@
</div>
<div style="float: right; margin-bottom: 25px;">
- Theme:
+ <p style="font-size: 12px; text-align: right; padding-right: 5px;">v0.1.0</p>
+ <span>Theme:</span>
<select id="themeSwitcher" onchange="setTheme(this.options[this.selectedIndex].value)">
{{ range .Themes }}
<option value="{{.}}">{{.}}</option>
diff --git a/views/partials/top.html b/views/partials/top.html
index 2a5c16b..58944a5 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -3,11 +3,7 @@
<p style="text-align: center;">{{ .Board.Summary }}</p>
{{ $len := len .Posts }}
{{ if eq $len 0 }}
- {{ if eq .PostType "reply" }}
- {{ if eq (index .Posts 0).Locked false }}
- <h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Post a Reply</a>]</h3>
- {{ end }}
- {{ else if and (eq .PostType "new") }}
+ {{ if eq .PostType "new" }}
<h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Start a New Thread</a>]</h3>
{{ end }} <!-- end if inreplyto-->
<div id="newpost">