This commit is contained in:
root
2025-02-22 22:33:36 +01:00
commit 7807157052
23 changed files with 2510 additions and 0 deletions

24
templates/routeros.html Normal file
View File

@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block content %}
<h2>Moje Routery</h2>
<a href="{{ url_for('add_router') }}">+ Dodaj nowy router</a>
<table border="1" cellpadding="5" cellspacing="0">
<tr>
<th>Nazwa</th>
<th>Host</th>
<th>Port</th>
<th>Akcje</th>
</tr>
{% for r in routers %}
<tr>
<td>{{ r.name }}</td>
<td>{{ r.host }}</td>
<td>{{ r.port }}</td>
<td>
<a href="{{ url_for('router_details', router_id=r.id) }}">Szczegóły</a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}