23 lines
623 B
Django/Jinja
23 lines
623 B
Django/Jinja
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>VPN</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>VPN</h1>
|
|
<h2>Machines</h2>
|
|
{%- for machine, config in machines.items() %}
|
|
{%- set base_url = "http://" ~ machine ~ ".vpn.sbruder.de" %}
|
|
<h3>{{ machine }}</h3>
|
|
<ul>
|
|
{% if config.syncthing is not none %}<li><a href="{{ base_url }}:{{ config.syncthing }}/">Syncthing</a></li>{% endif %}
|
|
</ul>
|
|
{%- endfor %}
|
|
</div>
|
|
</body>
|
|
</html>
|