1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00
0bin/zerobin/views/login.tpl

32 lines
1.3 KiB
Smarty
Raw Normal View History

2020-08-14 12:32:14 +03:00
<form class="form-group" action="." method="post">
<div class="login-form">
2020-08-14 17:02:05 +03:00
<div class="admin-header">
2020-08-14 18:10:35 +03:00
<h3>Admin Panel</h3>
2020-08-14 17:02:05 +03:00
<br>
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-hammer" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M9.812 1.952a.5.5 0 0 1-.312.89c-1.671 0-2.852.596-3.616 1.185L4.857 5.073V6.21a.5.5 0 0 1-.146.354L3.425 7.853a.5.5 0 0 1-.708 0L.146 5.274a.5.5 0 0 1 0-.706l1.286-1.29a.5.5 0 0 1 .354-.146H2.84C4.505 1.228 6.216.862 7.557 1.04a5.009 5.009 0 0 1 2.077.782l.178.129z"/>
<path fill-rule="evenodd" d="M6.012 3.5a.5.5 0 0 1 .359.165l9.146 8.646A.5.5 0 0 1 15.5 13L14 14.5a.5.5 0 0 1-.756-.056L4.598 5.297a.5.5 0 0 1 .048-.65l1-1a.5.5 0 0 1 .366-.147z"/>
</svg>
</div>
2020-08-14 12:32:14 +03:00
<form>
<label>Password:</label>
%if status == "error":
<div class="alert alert-danger" role="alert alert-danger">
{{message}}
</div>
%end
<div class="input-group">
<input type="password" id="password-field" placeholder="Enter your admin password here" name="password">
<div class="input-group-append">
<button type="submit" class="btn btn-secondary">Login</button>
</div>
</div>
</form>
2020-08-14 17:02:05 +03:00
</div>
2020-08-12 16:21:49 +03:00
</form>
% rebase('base', settings=settings, pastes_count=pastes_count)