etiquette/templates/root.html

52 lines
1 KiB
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>
2017-03-17 08:03:19 +00:00
body, .nice_link
2016-09-18 08:33:46 +00:00
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
2017-03-17 08:03:19 +00:00
.nice_link, .plain_link
2016-09-18 08:33:46 +00:00
{
2017-03-17 08:03:19 +00:00
margin: 8px;
2016-09-18 08:33:46 +00:00
height: 40px;
2017-03-17 08:03:19 +00:00
}
.nice_link
{
width: 50%;
2016-10-10 03:50:13 +00:00
background-color: rgba(0, 0, 0, 0.1);
2016-09-18 08:33:46 +00:00
}
2017-03-17 08:03:19 +00:00
.nice_link:hover
2016-10-10 03:50:13 +00:00
{
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>
2017-03-17 08:03:19 +00:00
<a class="nice_link" href="/search">Search</a>
<a class="nice_link" href="/tags">Browse tags</a>
<a class="nice_link" href="/albums">Browse albums</a>
<a class="nice_link" href="/bookmarks">Bookmarks</a>
{% if session %}
2017-03-17 08:03:19 +00:00
<a class="nice_link" href="/user/{{session.user.username}}">{{session.user.username}}</a>
{% else %}
2017-03-17 08:03:19 +00:00
<a class="nice_link" href="/login">Log in</a>
{% endif %}
2017-03-17 08:03:19 +00:00
<a class="plain_link" href="http://www.github.com/voussoir/etiquette">GitHub</a>
2016-09-18 08:33:46 +00:00
</body>
<script type="text/javascript">
2016-11-27 09:06:11 +00:00
</script>
</html>