atr/templates/layouts/base.html (57 lines of code) (raw):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="description"
content="{%- block description -%}{%- endblock description -%}" />
<title>
{% block title %}
{% endblock title %}
</title>
{% block stylesheets %}
<link rel="stylesheet"
href="{{ url_for('static', filename='css/normalize.css') }}" />
<link rel="stylesheet"
href="{{ url_for('static', filename='css/atr.css') }}" />
<link rel="stylesheet"
href="{{ url_for('static', filename='css/bootstrap-icons.min.css') }}" />
<link rel="stylesheet"
href="{{ url_for('static', filename='css/bootstrap.custom.css') }}" />
{% endblock stylesheets %}
{% block head_extra %}
{% endblock head_extra %}
</head>
<body class="{%- block body_class -%}{%- endblock body_class -%}">
<div class="wrapper">
<div class="ribbon"></div>
<div class="content">
<input type="checkbox" id="nav-toggle" class="nav-toggle" />
<label for="nav-toggle" class="hamburger" aria-label="Menu">
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
</label>
{% include "includes/sidebar.html" %}
<div class="main-container {% block main_class %}{% endblock main_class %}">
<main class="main-content">
{% if (not current_user) or (current_user.uid != "sbp") %}
<div class="warning-banner">
<strong>Pre-release Software:</strong> ATR is being shared for feedback. You can only make test releases.
</div>
{% endif %}
{% from "macros/flash.html" import render_flash_messages %}
{{ render_flash_messages() }}
{% block content %}
{% endblock content %}
</main>
{% include "includes/footer.html" %}
</div>
</div>
</div>
{% block javascripts %}
<script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/atr.js') }}"></script>
{% endblock javascripts %}
</body>
</html>