Config template

This commit is contained in:
2023-06-07 01:38:03 +02:00
parent f0c8d51682
commit 3a6f831da8
3 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,22 @@
{% extends "base.html" %}
{% block content %}
<h1>Home</h1>
<p>Welcome to the home page!</p>
<div class="alert alert-primary" role="alert">
<h3>Configuration</h3>
<table class="table table-stripped table-hover bg-light">
<thead>
<tr>
<th scope="col">Key</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
{% for item, value in config_env.items() %}
<tr>
<td>{{ item }}</td>
<td>{{ value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock content %}