summaryrefslogtreecommitdiffstats
path: root/templates/panel.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/panel.html')
-rw-r--r--templates/panel.html22
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>