83 lines
2.9 KiB
HTML
83 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
|
|
{% if title %}
|
|
<title>{{ title }}</title>
|
|
{% else %}
|
|
<title>Gerüchteküche</title>
|
|
{% endif %}
|
|
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<link href="{{ url_for('static', filename='master.css') }}", type="text/css", rel="stylesheet">
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
|
<script type="text/javascript"
|
|
src="/static/js/sijax/sijax.js"></script>
|
|
<script type="text/javascript">
|
|
{{ g.sijax.get_js()|safe }}
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div class="topnav">
|
|
<img class="logo-nav first" src="{{ url_for('static', filename='img/logo.png') }}">
|
|
<a class="last blue-button" href="#">Finanzer</a>
|
|
</div>
|
|
<div class="container">
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
<div class="bottombar">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }}">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if form.username.errors %}
|
|
{% for error in form.username.errors %}
|
|
<div class="alert alert-error">
|
|
<span>{{ error }}</span>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
<div id="flash"></div>
|
|
<div class="bottombar-element">
|
|
{% if form %}
|
|
<form method="POST" action="">
|
|
{{ form.hidden_tag() }}
|
|
<fieldset class="form-group">
|
|
<!-- <legend class="reg-label">neue Person hinzufügen</legend> -->
|
|
<div class="form-group">
|
|
{{ form.username.label(class="reg-label") }}
|
|
{{ form.username() }}
|
|
</div>
|
|
</fieldset>
|
|
<div class="form-group m">
|
|
{{ form.submit(class="blue-button no-mg") }}
|
|
</div>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
<div class="right blue-button buttombar-element no-mg no-pd" href="javascript://" onclick="Sijax.request('storner');">
|
|
<p>Stornieren</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- Optional JavaScript -->
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS
|
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
|
-->
|
|
</body>
|
|
</html> |