2022-03-26 15:26:14 +00:00
|
|
|
{{define "panel title"}}Administrative functions{{end}}
|
2022-05-18 18:03:36 +00:00
|
|
|
{{define "title"}}{{template "panel title"}}{{end}}
|
|
|
|
{{define "body"}}
|
2022-04-21 16:05:17 +00:00
|
|
|
<main class="main-width">
|
|
|
|
<h1>{{template "panel title"}}</h1>
|
|
|
|
<section>
|
|
|
|
<h2>{{block "panel safe section title" .}}Safe section{{end}}</h2>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/about">{{block "panel link about" .}}About this wiki{{end}}</a></li>
|
|
|
|
<li><a href="/update-header-links">{{block "panel update header" .}}Reload header links{{end}}</a></li>
|
|
|
|
<li><a href="/user-list">{{block "panel link user list" .}}User list{{end}}</a></li>
|
|
|
|
<li><a href="/admin/users/">{{block "panel users" .}}Manage users{{end}}</a></li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>{{block "panel unsafe section title" .}}Unsafe section{{end}}</h2>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<form action="/admin/shutdown" method="POST">
|
|
|
|
<label>{{block "panel shutdown" .}}Shutdown wiki{{end}}</label>
|
|
|
|
<input type="submit" class="btn">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<form action="/reindex" method="GET">
|
|
|
|
<label>{{block "panel reindex hyphae" .}}Reindex hyphae{{end}}</label>
|
|
|
|
<input type="submit" class="btn">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</main>
|
2022-03-26 15:26:14 +00:00
|
|
|
{{end}}
|