Dodaj app/templates/server_list.html

This commit is contained in:
Andus 2025-05-09 10:28:52 +02:00
parent 137177efc4
commit 384335c52b

View file

@ -0,0 +1,27 @@
{% extends "layout.html" %}
{% block content %}
<h1>Wszystkie Serwery</h1>
<div class="server-table">
<table border="1">
<thead>
<tr>
<th>Nazwa</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for server in servers %}
<tr>
<td>{{ server.name }}</td>
<td>{{ server.status }}</td>
</tr>
{% else %}
<tr>
<td colspan="2">Nie znaleziono serwerów</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}