Initial commit
This commit is contained in:
24
templates/admin.html
Normal file
24
templates/admin.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user