nixos-config/modules/wireguard/home/index.html.j2

23 lines
623 B
Plaintext
Raw Normal View History

<!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>