init
This commit is contained in:
24
templates/routeros.html
Normal file
24
templates/routeros.html
Normal 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 %}
|
Reference in New Issue
Block a user