Zdalne-systemy-z-kit-uVPN/templates/images.html

35 lines
989 B
HTML
Raw Normal View History

2023-04-19 12:10:31 +00:00
{% extends "base.html" %}
{% block title %}Obrazy{% endblock %}
{% block style %}
{% endblock %}
{% block content %}
<div class="container">
<h1 class="my-4">Lista obrazów</h1>
<table class="table">
<thead>
<tr>
<th>Token</th>
<th>Nazwa</th>
2023-04-20 14:29:01 +00:00
<th>IP VPN</th>
2023-04-19 12:10:31 +00:00
<th>Usuń</th>
</tr>
</thead>
<tbody>
{% for image in images %}
<tr>
<td>{{ image.token }}</td>
<td>{{ image.name }}</td>
2023-04-20 14:29:01 +00:00
<td>{{ image.vpn_ip }}</td>
2023-04-19 12:10:31 +00:00
<td>
2023-04-19 13:31:25 +00:00
<form action="{{ url_for('delete', image_id=image.id) }}" method="post">
2023-04-19 12:10:31 +00:00
<button type="submit" class="btn btn-danger">Usuń</button>
</form>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}