This repository has been archived on 2019-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
2019-04-09 15:24:55 +02:00

53 lines
2.1 KiB
Django/Jinja

{#{% load static %}#}
{# ===== HTML ===== #}
<!DOCTYPE html>
<html lang="en" dir="ltr">
{# ===== Head ===== #}
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>LAMa</title>
<link rel="icon"
type="image/png"
href="{{ static('images/logo.png') }}">
<meta name="author" content="Michael Götz"/>
{% block js_extra %}{% endblock %}
<!-- Bootstrap CSS -->
{# <link rel="stylesheet" href="{{ static('libs/font-awesome-4.7.0/css/font-awesome.css') }}">#}
<link rel="stylesheet" href="{{ static('libs/bootstrap-4.3.1-dist/css/bootstrap.css') }}">
{# <link rel="stylesheet" href="{{ static('home/form.css') }}">#}
{# <link rel="stylesheet" href="{{ static('home/main.css') }}">#}
{# <script src="{{ static('libs/jquery-3.3.1.min.js') }}"></script>#}
{# <script src="{{ static('libs/handlebars-379172e.js') }}"></script>#}
{# <script src="{{ static('js/main.js') }}"></script>#}
{# <script src="{{ static('libs/popper.js-1.14.4/dist/umd/popper.js') }}"></script>#}
{# <script src="{{ static('libs/bootstrap-4.0.0-beta-dist/js/bootstrap.js') }}"></script>#}
{# <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.12/handlebars.js"></script>#}
{% block css_extra %}{% endblock %}
</head>
{# ===== Body ===== #}
<body class="bg-light">
{% if request.user.is_authenticated %}
Hi {{ request.user.username }}!
<p><a href="{{ url('logout') }}">Logout</a></p>
<p><a href="{{ url('password_reset') }}">Passwort zurücksetzen</a></p>
{% else %}
<p>Du bist nicht eingelogt</p>
<a href="{{ url('login') }}">Login</a>
{% endif %}
{% block body %}
<div class="container-fluid">
<div class="row">{% block bottom_nav %}{% endblock %}</div>
<div class="row bg-dark text-white">
{% block content %}{% endblock %}
</div>
</div>
{% endblock %}
<script src="{{ static('js/form.js') }}"></script>
{% block js_tail %}{% endblock %}
</body>
</html>