Implement control panel
This commit is contained in:
24
templates/cp.html
Normal file
24
templates/cp.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ define "title" }}Control Panel{{ end }} {{ define "header" }}⚙️ Control
|
||||
Panel{{ end }} {{ define "content" }}
|
||||
|
||||
<div>
|
||||
{{ if .Message }}
|
||||
<strong>Info:</strong> {{ .Message }} {{ end }}
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/cp?action=ClearDailyStats">Clear Daily Stats</a></td>
|
||||
<td>Clear Daily Stats cache</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ end }} {{ template "layout" . }}
|
||||
Reference in New Issue
Block a user