2020-08-12 16:39:07 +03:00
|
|
|
<form action="." method="post">
|
2020-08-14 12:32:14 +03:00
|
|
|
<!-- %if status == "error": -->
|
2020-08-12 16:21:49 +03:00
|
|
|
<div class="alert alert-danger" role="alert alert-danger">
|
|
|
|
{{message}}
|
2020-08-14 12:32:14 +03:00
|
|
|
dededede
|
2020-08-12 10:19:38 +03:00
|
|
|
</div>
|
2020-08-14 12:32:14 +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>
|
|
|
|
</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)
|