ansible-ffibk/roles/service-nginx/templates/index.html.j2
2019-03-02 18:12:56 +01:00

30 lines
938 B
Django/Jinja

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>Freifunk MWU Server "{{ inventory_hostname_short }}" </title>
<link href="./static/favicon.ico" rel="shortcut icon" />
<link href="./static/style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
<!--
function toggle(id)
{
var e = document.getElementById(id);
e.style.display = (e.style.display == 'none') ? 'block' : 'none';
}
-->
</script>
</head>
<body>
<header>
<h1>Freifunk MWU Server <a href="./index.html">{{ inventory_hostname_short }}</a></h1>
</header>
{% if server_type == "firmware-build" or server_type == "gateway" %}
<div class="block"><a href="firmware">Firmware</a></div>
{% endif %}
{% if server_type == "firmware-build" %}
<div class="block"><a href="_archive">Firmware Archiv</a></div>
{% endif %}
</body>
</html>