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

31 lines
812 B
Smarty

<form action="." method="post">
<!-- %if status == "error": -->
<div class="alert alert-danger" role="alert alert-danger">
{{message}}
dededede
</div>
<!-- %end -->
%if status == "ok" and message:
<div class="alert alert-success" role="alert">
{{message}}
</div>
%end
<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>
</div>
</form>
<form action="./logout/" method="post">
<div>
<button type="submit" class="btn btn-black">Logout</button>
</div>
</form>
% rebase('base', settings=settings, pastes_count=pastes_count)