diff options
author | clsr <clsr@clsr.net> | 2016-11-15 21:05:32 +0100 |
---|---|---|
committer | clsr <clsr@clsr.net> | 2016-11-15 21:05:32 +0100 |
commit | 1ac3fa992aee04984b9483b8f61990d1d06e2672 (patch) | |
tree | dcc3712469cce9063cf1c8f3b6d1394acd027927 /templates | |
parent | 6781fbf03de68483ab7a8d57be85d2f2fc9a4df6 (diff) | |
download | gomf-modpanel-web-1ac3fa992aee04984b9483b8f61990d1d06e2672.tar.gz gomf-modpanel-web-1ac3fa992aee04984b9483b8f61990d1d06e2672.zip |
Move date selection below the logs
Diffstat (limited to 'templates')
-rw-r--r-- | templates/panel.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/panel.html b/templates/panel.html index be0fe14..27095e6 100644 --- a/templates/panel.html +++ b/templates/panel.html @@ -9,17 +9,6 @@ <body> <h1>Mod panel</h1> - {{ $current := .Current }} - {{ if .Logs }} - <nav> - <ul class="pagination"> - {{ range .Logs }} - <li {{ if eq . $current }}class="active" {{ end }}><a href="{{.}}">{{.}}</a></li> - {{ end }} - </ul> - </nav> - {{ end }} - {{ if .Entries }} <table class="table table-hover"> <thead> @@ -51,6 +40,17 @@ </table> {{ end }} + {{ $current := .Current }} + {{ if .Logs }} + <nav> + <ul class="pagination"> + {{ range .Logs }} + <li {{ if eq . $current }}class="active" {{ end }}><a href="{{.}}">{{.}}</a></li> + {{ end }} + </ul> + </nav> + {{ end }} + <script src="{{.Prefix}}static/jquery.min.js"></script> <script src="{{.Prefix}}static/bootstrap/js/bootstrap.min.js"></script> </body> |