Update to run with Podman
This commit is contained in:
15
core/templates/manage/monolith/stats/index.html
Normal file
15
core/templates/manage/monolith/stats/index.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div
|
||||
style="display: none;"
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'monolith_stats_db' type='page' %}"
|
||||
hx-trigger="load, every 5s"
|
||||
hx-target="#stats"
|
||||
hx-swap="innerHTML">
|
||||
</div>
|
||||
<div class="box">
|
||||
<div id="stats">
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
14
core/templates/manage/monolith/stats/overview.html
Normal file
14
core/templates/manage/monolith/stats/overview.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'mixins/partials/generic-detail.html' %}
|
||||
|
||||
{% block tbody %}
|
||||
{% for item in object %}
|
||||
{% if item.data %}
|
||||
{% for row in item.data %}
|
||||
<tr>
|
||||
<th>{{ row.Variable_name }}</th>
|
||||
<td>{{ row.Value }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user