Initial commit

This commit is contained in:
2020-04-11 20:44:27 +03:00
commit a9fd9cb522
66 changed files with 1168 additions and 0 deletions

24
templates/admin.html Normal file
View File

@@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block body %}
<div class="text-center">
<a href="/delete_cred/0">Purge</a>
<table class="w-100">
<tr class="text-left">
<th class="px-3">id</th>
<th class="px-3">login</th>
<th class="px-3">password</th>
<th class="px-3">date created</th>
</tr>
{% for cred in creds %}
<tr class="text-left">
<td class="px-3">{{ cred.id }}</td>
<td class="px-3">{{ cred.login }}</td>
<td class="px-3">{{ cred.password }}</td>
<td class="px-3">{{ cred.date_created }}</td>
<td class="px-3"><a href="/delete_cred/{{cred.id}}">X</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}