rowt/templates/base.html.tera

81 lines
2.6 KiB
Plaintext
Raw Normal View History

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">
<!-- FONT
-->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<!-- 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>
<!-- Primary Page Layout
-->
<div class="container">
2023-02-09 17:08:07 +01:00
{% if user %}
{% if user.is_admin %}
<a href="/user">USER</a>
{% endif %}
<a href="/logout">LOGOUT</a>
{% endif %}
2023-02-16 11:59:01 +01:00
{% if flash %}
{% if flash.0 == "success" %}
<div class="row">
<div class="one-column" style="padding: 15px; background-color: #2b8c68; margin-bottom: 1.6em;">
{{ flash.1 }}
</div>
</div>
{% endif %}
{% if flash.0 == "error" %}
<div class="row">
<div class="one-column" style="padding: 15px; background-color: #ff6961; margin-bottom: 1.6em;">
{{ 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>