friwall/web/templates/base.html
Timotej Lazar 3c25cbe88a vpn: add support for custom keys
Custom keys are created by admin and specify networks directly,
bypassing AD permissions. They are intended to join managed devices
into networks where users are not allowed to create keys themselves.

Also comprehend a set directly.
2024-07-31 09:43:32 +02:00

75 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<style>
body {
hyphens: auto;
max-width: 66em;
margin: 1em auto;
}
code {
background-color: #f8f8f8;
padding: 0.1em 0.25em;
}
details {
margin: 0.5em 1em;
}
details > summary {
cursor: pointer;
}
details > p {
margin: 0.5em;
}
h1 {
margin-bottom: 0.5em;
}
h1 > a {
color: unset;
text-decoration: none;
}
input:read-only {
border-style: dotted;
}
pre {
background-color: #f8f8f8;
border: 1px solid #cccccc;
padding: 0.5em;
}
table {
border-spacing: 0 0.1em;
}
th {
text-align: left;
}
th, td {
padding-right: 1em;
vertical-align: middle;
}
tbody > tr:hover {
background-color: #f8f8f8;
}
ul.keys {
margin: 0 0.5em 0.5em;
padding-left: 1em;
}
ul.keys a {
text-decoration: none;
}
</style>
{% block header %}{% endblock %}
<title>FRIwall</title>
{% if current_user.is_authenticated %}
<div style="float:right;">
{{ current_user['username'] }} |
<a href="{{ url_for('logout') }}">Odjava</a>
</div>
{% endif %}
<h1><a href="/">FRIwall</a></h1>
{% block content %}{% endblock %}