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

31 lines
778 B
Smarty
Raw Normal View History

2020-08-12 16:39:07 +03:00
<form action="." method="post">
2020-08-12 16:21:49 +03:00
%if status == "error":
<div class="alert alert-danger" role="alert alert-danger">
{{message}}
2020-08-12 10:19:38 +03:00
</div>
2020-08-12 16:21:49 +03:00
%end
2020-08-12 16:39:07 +03:00
%if status == "ok" and message:
<div class="alert alert-success" role="alert">
{{message}}
</div>
%end
2020-08-12 16:21:49 +03:00
<div>
<div class="form-group">
<label>Paste to delete</label>
<input name="paste" type="text" class="form-control" placeholder="Paste URL or ID">
</div>
<button type="submit" class="btn btn-black">Delete</button>
2020-08-12 10:19:38 +03:00
2020-08-12 16:21:49 +03:00
</div>
2020-08-12 10:19:38 +03:00
2020-08-12 16:21:49 +03:00
</form>
2020-08-12 10:19:38 +03:00
2020-08-12 16:21:49 +03:00
<form action="./logout/" method="post">
<div>
<button type="submit" class="btn btn-black">Logout</button>
</div>
</form>
2020-08-12 10:19:38 +03:00
2020-08-12 16:21:49 +03:00
% rebase('base', settings=settings, pastes_count=pastes_count)