anonkun/templates/base.html

31 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{% block title %}{% endblock %} - Anonkun</title>
<link rel="stylesheet" type="text/css" href="/static/anonkun.css">
<script>
function toggleHeader() {
if (document.getElementById('header').style.display == 'initial') {
document.getElementById('header').style.display = 'none';
document.getElementById('headerHidden').style.display = 'initial';
}
else {
document.getElementById('header').style.display = 'initial';
document.getElementById('headerHidden').style.display = 'none';
}
}
</script>
{% block head %}{% endblock %}
</head>
<body>
<ul id="header" class="header" style="display:initial;">
<li><a onclick="toggleHeader();" href="javascript:void(0);">^</a></li>
<li><a href="{{ url_for('views.index') }}">Home</a></li>
</ul>
<ul id="headerHidden" class="header" style="display:none;">
<li><a onclick="toggleHeader();" href="javascript:void(0);">^</a></li>
</ul>
<div id="content">{% block content %}{% endblock %} </div>
</body>
</html>