Files
travelrouter/app/templates/base.html
SiloDS 827f115b06 .
2021-07-30 13:36:47 +01:00

60 lines
1.4 KiB
HTML

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<style type="text/css">
.tg {
border-collapse: collapse;
border-spacing: 0;
}
.tg td {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg th {
border-color: black;
border-style: solid;
border-width: 1px;
font-family: Arial, sans-serif;
font-size: 14px;
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}
.tg .tg-0lax {
text-align: left;
vertical-align: top
}
</style>
<head>
<title>Travel Router</title>
</head>
<body>
<div>
Travel Router:
<a href="{{ url_for('index') }}">Home</a>
{% if not current_user.is_anonymous %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
{% if vpn %}
<a href="{{ url_for('vpndisconnect') }}">Disconnect from VPN</a>
{% else %}
<a href="{{ url_for('vpnconnect') }}">Connect to VPN</a>
{% endif %}
</div>
<hr>
{% block content %}{% endblock %}
</body>
</html>