2023-02-08 16:25:06 +01:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
<!-- Basic Page Needs
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>Ro(wing)T(rips)</title>
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
|
|
|
|
<!-- Mobile Specific Metas
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
|
|
<!-- CSS
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<link rel="stylesheet" href="/public/css/normalize.css">
|
|
|
|
|
<link rel="stylesheet" href="/public/css/skeleton.css">
|
|
|
|
|
<style>
|
|
|
|
|
.button{
|
|
|
|
|
font-size: 25px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Favicon
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<link rel="icon" type="image/png" href="images/favicon.png">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
2023-03-04 11:39:10 +01:00
|
|
|
|
|
|
|
|
|
{% if user %}
|
|
|
|
|
<div class="bg-gray p-1 mb-3">
|
|
|
|
|
<div class="container content-center-end">
|
|
|
|
|
{% if user.is_admin %}
|
2023-03-04 11:43:28 +01:00
|
|
|
|
<a class="button button-primary mb-0 font-base light" href="/">🚣</a>
|
|
|
|
|
<a class="button button-primary mb-0 font-base light" href="/user">👥</a>
|
2023-03-04 11:39:10 +01:00
|
|
|
|
{% endif %}
|
|
|
|
|
<a class="button button-primary mb-0 font-base light" href="/logout">LOGOUT</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2023-02-08 16:25:06 +01:00
|
|
|
|
<!-- Primary Page Layout
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
<div class="container">
|
2023-02-16 11:59:01 +01:00
|
|
|
|
{% if flash %}
|
|
|
|
|
{% if flash.0 == "success" %}
|
|
|
|
|
<div class="row">
|
2023-03-04 11:39:10 +01:00
|
|
|
|
<div class="one-column p-1 text-white bg-green mb-3 light text-center">
|
2023-02-16 11:59:01 +01:00
|
|
|
|
{{ flash.1 }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if flash.0 == "error" %}
|
|
|
|
|
<div class="row">
|
2023-03-04 11:39:10 +01:00
|
|
|
|
<div class="one-column p-1 text-white bg-red mb-3 light text-center">
|
2023-02-16 11:59:01 +01:00
|
|
|
|
{{ flash.1 }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
2023-02-08 16:25:06 +01:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="column">
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
{% endblock content %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- End Document
|
|
|
|
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|