Upload files to "/"

This commit is contained in:
2026-04-13 00:56:15 +00:00
parent 1c3fe7780e
commit 36ff227e8e
5 changed files with 878 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
{% extends "base.html" %}
{% block content %}
<div class="dashboard-container">
<h1>{{ title }}</h1>
{% if results | length > 0 %}
<table class="data-table">
<thead>
<tr>
{% for key in results[0].keys() %}
<th>{{ key }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in results %}
<tr>
{% for key, value in row.items() %}
<td>
{% if key == 'Status' %}
<span class="badge badge-{{ value | lower }}">{{ value }}</span>
{% elif key == 'Flag' %}
<span class="badge badge-{{ 'none' if value == 'None' else 'flag' }}">{{ value }}</span>
{% else %}
{{ value }}
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
{% endblock %}