etiquette/templates/root.html

48 lines
825 B
HTML
Raw Normal View History

2016-09-18 08:33:46 +00:00
<!DOCTYPE html5>
<html>
2016-11-27 09:06:11 +00:00
<head>
<title>Etiquette</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/static/common.css">
2016-09-18 08:33:46 +00:00
<style>
body, a
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
a
{
width: 50%;
height: 40px;
2016-10-10 03:50:13 +00:00
background-color: rgba(0, 0, 0, 0.1);
2016-09-18 08:33:46 +00:00
margin: 8px;
}
2016-10-10 03:50:13 +00:00
a:hover
{
background-color: #ffffd4;
}
2016-09-18 08:33:46 +00:00
</style>
</head>
2016-11-27 09:06:11 +00:00
2016-09-18 08:33:46 +00:00
<body>
<span>{{motd}}</span>
<a href="/search">Search</a>
<a href="/tags">Browse tags</a>
<a href="/albums">Browse albums</a>
2016-11-29 04:18:44 +00:00
<a href="/bookmarks">Bookmarks</a>
{% if session %}
<a href="/user/{{session.user.username}}">{{session.user.username}}</a>
{% else %}
<a href="/login">Log in</a>
{% endif %}
2016-09-18 08:33:46 +00:00
</body>
<script type="text/javascript">
2016-11-27 09:06:11 +00:00
</script>
</html>