mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
136 lines
7.2 KiB
HTML
136 lines
7.2 KiB
HTML
{% block doc -%}
|
|
<!doctype html>
|
|
<html lang="de"{% block html_attribs %}{% endblock html_attribs %}>
|
|
{%- block html %}
|
|
<head>
|
|
{%- block head %}
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
{%- block metas %}
|
|
{%- endblock metas %}
|
|
|
|
<!-- Bootstrap CSS -->
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='site.css')}}" />
|
|
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css" rel="stylesheet" />
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='jquery.recurrenceinput.css')}}" />
|
|
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
|
{%- block styles %}
|
|
{%- endblock styles %}
|
|
|
|
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/i18n/jquery-ui-i18n.js" integrity="sha256-HwXB0HPJCXhungCtZoScc1a53ngQOXua64nb0cI6PHY=" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js" integrity="sha256-AdQN98MVZs44Eq2yTwtoKufhnU+uZ7v2kXnD5vqzZVo=" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsrender/1.0.6/jsrender.js" integrity="sha512-DtWD/uCp2x1mspIw6vhZGPuJP85aKEL0HFI0jFVxcEiWw1OHJn36LqtkX9G9chzKVYLtTT0G8uJ2miDEL7ucTQ==" crossorigin="anonymous"></script>
|
|
<script src="{{ url_for('static', filename='jquery.recurrenceinput.js')}}"></script>
|
|
<script src="{{ url_for('static', filename='site.js')}}"></script>
|
|
|
|
<title>{% block title %}{{ title|default }}{% endblock title %}</title>
|
|
|
|
{% block header %}
|
|
{% endblock %}
|
|
{%- endblock head %}
|
|
</head>
|
|
<body{% block body_attribs %}{% endblock body_attribs %}>
|
|
{% block body -%}
|
|
{% block navbar %}
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
<a class="navbar-brand" href="{{ url_for('home') }}">
|
|
<i class="fa fa-bullseye fa-fw"></i> oveda
|
|
</a>
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
|
|
<div class="navbar-nav mr-auto">
|
|
{% if current_user.is_authenticated %}
|
|
<a class="nav-item nav-link" href="{{ url_for('manage') }}">{{ _('Manage') }}</a>
|
|
{% endif %}
|
|
|
|
<a class="nav-item nav-link" href="{{ url_for('event_dates') }}">{{ _('Events') }}</a>
|
|
<a class="nav-item nav-link" href="{{ url_for('example') }}">{{ _('Example') }}</a>
|
|
<a class="nav-item nav-link" href="{{ url_for('developer') }}">{{ _('Developer') }}</a>
|
|
</div>
|
|
<div class="navbar-nav navbar-right">
|
|
{% if current_user.is_authenticated %}
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
{{ current_user.email }}
|
|
</a>
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
|
<a class="dropdown-item" href="{{ url_for('profile') }}">{{ _('Profile') }}</a>
|
|
|
|
{% if current_user.has_role('admin') %}
|
|
<a class="dropdown-item" href="{{ url_for('admin') }}">{{ _('Admin') }}</a>
|
|
{% endif %}
|
|
|
|
<div class="dropdown-divider"></div>
|
|
<a class="dropdown-item" href="{{ url_for('security.logout') }}">{{ _('Logout') }}</a>
|
|
</div>
|
|
</li>
|
|
|
|
{% else %}
|
|
<a class="nav-item nav-link" href="{{ url_for('security.login') }}">{{ _fsdomain('Login') }}</a>
|
|
<a class="nav-item nav-link" href="{{ url_for('security.register') }}">{{ _fsdomain('Register') }}</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{%- endblock navbar %}
|
|
|
|
<div class="body-content"{% block body_content__attribs %}{% endblock body_content__attribs %}>
|
|
|
|
{% include "_messages.html" %}
|
|
|
|
{% block content_container -%}
|
|
<main class="p-3">
|
|
{% block content -%}
|
|
{%- endblock content %}
|
|
</main>
|
|
{%- endblock content_container %}
|
|
|
|
<!-- Footer -->
|
|
{% block footer -%}
|
|
<footer class="footer mt-5">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col h-100 text-center my-auto">
|
|
<ul class="list-inline mb-2">
|
|
<li class="list-inline-item">
|
|
<a href="{{ url_for('impressum') }}" class="text-muted">Impressum</a>
|
|
</li>
|
|
<li class="list-inline-item">⋅</li>
|
|
<li class="list-inline-item">
|
|
<a href="{{ url_for('impressum') }}" class="text-muted">Kontakt</a>
|
|
</li>
|
|
<li class="list-inline-item">⋅</li>
|
|
<li class="list-inline-item">
|
|
<a href="{{ url_for('datenschutz') }}" class="text-muted">Datenschutz</a>
|
|
</li>
|
|
</ul>
|
|
<p class="text-muted small mb-4 mb-lg-0">Mit <i class="fa fa-heart"></i> in Goslar entwickelt.</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
{%- endblock footer %}
|
|
|
|
</div>
|
|
|
|
<!-- Optional JavaScript -->
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
<!--<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>-->
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|
|
{% block scripts %}
|
|
{%- endblock scripts %}
|
|
{%- endblock body %}
|
|
</body>
|
|
{%- endblock html %}
|
|
</html>
|
|
{% endblock doc -%} |