29 lines
621 B
HTML
29 lines
621 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}status{% endblock %}
|
|
{% block content %}
|
|
<h1>OpenVPN Status</h1>
|
|
<form method="get" action="status">
|
|
<input type="submit" value="refresh status">
|
|
</form>
|
|
<h3>Connections:</h3>
|
|
<table border="0" width="80%">
|
|
{% for connection in connections %}
|
|
<tr>
|
|
{% for field in connection %}
|
|
<td>{{ field }}</td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<h3>Routing Table:</h3>
|
|
<table border="0" width="80%">
|
|
{% for route in routes %}
|
|
<tr>
|
|
{% for field in route %}
|
|
<td>{{ field }}</td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|