Files
DokkuStatus/templates/apps_table.html
Peter Stockings 0810acb7e9 Initial setup
2025-12-22 12:14:37 +11:00

40 lines
1.1 KiB
HTML

<div class="muted">Generated at: {{ data.generated_at }}</div>
<table>
<thead>
<tr>
<th>App</th>
<th>URLs</th>
<th>Running</th>
<th>CPU</th>
<th>RAM</th>
<th>Dokku status</th>
</tr>
</thead>
<tbody>
{% for r in data.apps %}
<tr>
<td><strong>{{ r.app }}</strong></td>
<td>
{% if r.urls %}
{% for u in r.urls %}
<div><a href="{{ u }}">{{ u }}</a></div>
{% endfor %}
{% else %}
<span class="muted"></span>
{% endif %}
</td>
<td>{{ r.running or "—" }}</td>
<td>{{ r.cpu or "—" }}</td>
<td>
{% if r.mem_used %}
{{ r.mem_used }} / {{ r.mem_limit }} ({{ r.mem_pct }})
{% else %}
{% endif %}
</td>
<td class="muted">{{ r.status_web_1 or "—" }}</td>
</tr>
{% endfor %}
</tbody>
</table>