friwall/web/templates/base.html

70 lines
1,017 B
HTML
Raw Normal View History

2022-01-03 10:33:02 +00:00
<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<style>
body {
hyphens: auto;
max-width: 66em;
margin: 1em auto;
}
code {
background-color: #eeeeee;
}
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;
}
2022-01-03 10:33:02 +00:00
pre {
background-color: #eeeeee;
border: 1px solid #cccccc;
2022-01-03 10:33:02 +00:00
padding: 0.5em;
}
2023-07-24 13:45:45 +00:00
th {
text-align: left;
}
th, td {
padding-right: 1em;
}
th {
border-bottom: 1px solid black;
}
2022-01-03 10:33:02 +00:00
ul.keys {
margin: 0 0.5em 0.5em;
padding-left: 1em;
}
ul.keys a {
text-decoration: none;
}
</style>
{% block header %}{% endblock %}
2022-01-03 10:33:02 +00:00
<title>FRIwall</title>
{% if current_user.is_authenticated %}
<div style="float:right;">
{{ current_user['username'] }} |
2023-09-06 12:28:06 +00:00
<a href="{{ url_for('logout') }}">Odjava</a>
2022-01-03 10:33:02 +00:00
</div>
{% endif %}
<h1><a href="/">FRIwall</a></h1>
{% block content %}{% endblock %}