friwall/web/templates/base.html

75 lines
1.1 KiB
HTML
Raw Permalink 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: #f8f8f8;
padding: 0.1em 0.25em;
2022-01-03 10:33:02 +00:00
}
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: #f8f8f8;
border: 1px solid #cccccc;
2022-01-03 10:33:02 +00:00
padding: 0.5em;
}
table {
border-spacing: 0 0.1em;
}
2023-07-24 13:45:45 +00:00
th {
text-align: left;
}
th, td {
padding-right: 1em;
vertical-align: middle;
2023-07-24 13:45:45 +00:00
}
tbody > tr:hover {
background-color: #f8f8f8;
}
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 %}