diff options
Diffstat (limited to 'views/partials')
-rw-r--r-- | views/partials/footer.html | 3 | ||||
-rw-r--r-- | views/partials/top.html | 6 |
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"> |