You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
600 B

<!DOCTYPE html>
<html>
<head>
<title>Inventory administration</title>
</head>
<body>
<h1>Reports</h1>
{% if reports|length > 0 %}
<form>
<ul>
{% for report in reports %}
<li>User: {{ report.username }}, endpoint: {{ report.endpoint }}, timestamp: {{ report.timestamp }} <button
type="submit" formmethod="post" formaction="/admin/{{ report.endpoint }}/{{ report.username }}" id="{{ report.endpoint }}.{{ report.username }}">Reset</button>
</li>
{% endfor %}
<ul />
</form>
{% else %}
<p>You have no reports at this time</p>
{% endif %}
</body>
</html>