Admin lock page: replace explanatory paragraph with centered key input #119
@@ -1,20 +1,17 @@
|
|||||||
{{template "head" .}}
|
{{template "head" .}}
|
||||||
{{template "topbar" .}}
|
{{template "topbar" .}}
|
||||||
<div class="page">
|
<div class="center">
|
||||||
<div class="float">
|
<div class="float unlock-card">
|
||||||
<div class="settings-head">
|
<div class="inner">
|
||||||
<h1>Admin</h1>
|
<h1>Admin</h1>
|
||||||
</div>
|
|
||||||
<div class="settings-body">
|
|
||||||
<p>Enter the admin key to manage server settings. The key is kept in
|
|
||||||
sessionStorage for this tab only and is sent as a request header — it is
|
|
||||||
never stored in a cookie, so it will not accompany normal paste requests.</p>
|
|
||||||
<form id="admin-key-form">
|
<form id="admin-key-form">
|
||||||
<label for="admin-key">Admin key</label><br>
|
<div class="pw-field">
|
||||||
<input type="password" id="admin-key" autocomplete="off" style="width:100%">
|
<input type="password" id="admin-key" placeholder="Admin key" autocomplete="off" autofocus>
|
||||||
<button type="submit">Unlock</button>
|
</div>
|
||||||
|
<button class="btn" type="submit">Unlock</button>
|
||||||
<span id="admin-key-status"></span>
|
<span id="admin-key-status"></span>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="admin-panel" style="display:none">
|
<div id="admin-panel" style="display:none">
|
||||||
<h2>Settings</h2>
|
<h2>Settings</h2>
|
||||||
<form id="admin-settings-form">
|
<form id="admin-settings-form">
|
||||||
|
|||||||
Reference in New Issue
Block a user