Can remove clients

This commit is contained in:
2025-01-27 22:07:18 +01:00
parent 2c14281ae3
commit 9a46cbd819
3 changed files with 43 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<link rel="stylesheet" href="/assets/bootstrap.css"/>
<link rel="stylesheet" href="/assets/style.css"/>
<script src="/assets/script.js"></script>
</head>
<body>
@ -77,7 +78,7 @@
<td>{{ client.fmt_created() }}</td>
<td>{{ client.fmt_used() }}</td>
<td>
<button type="button" class="btn btn-danger btn-sm">Delete</button>
<button type="button" class="btn btn-danger btn-sm" onclick="deleteClient('{{ client.id }}');">Delete</button>
</td>
</tr>
{% endfor %}