2020-07-19 22:16:05 +02:00
|
|
|
{% load static %}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2020-07-26 22:23:55 +02:00
|
|
|
<link rel="stylesheet" href="{% static 'main.css' %}">
|
2020-08-04 23:36:40 +02:00
|
|
|
<link rel="stylesheet" href="{% static 'fonts.css' %}">
|
2020-07-27 18:49:50 +02:00
|
|
|
<link rel="icon" type="image/png" href="{% static 'favicon.ico' %}">
|
|
|
|
<title>
|
2020-07-28 23:45:28 +02:00
|
|
|
{% block title %}Urban Exploration{% endblock %}
|
2020-07-27 18:49:50 +02:00
|
|
|
</title>
|
2020-07-19 22:16:05 +02:00
|
|
|
</head>
|
2020-08-04 23:33:51 +02:00
|
|
|
|
2020-07-19 22:16:05 +02:00
|
|
|
<body>
|
|
|
|
<header class="LP-Header">
|
|
|
|
<div class="LP-Header__Logo">
|
2020-08-04 23:16:45 +02:00
|
|
|
<a class="LP-Link" href="/">
|
|
|
|
<img src="{% static 'logo.png' %}" class="LP-Image" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="LP-Header__UserInformation">
|
|
|
|
<span class="LP-Paragraph">
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
Hi {{ user.username }}!
|
2020-08-04 23:25:02 +02:00
|
|
|
<a class="LP-Link" href="{% url 'logout' %}"><span class="LP-Link__Text">logout</span></a>
|
2020-08-04 23:16:45 +02:00
|
|
|
{% else %}
|
2020-08-04 23:33:51 +02:00
|
|
|
Du bist nicht eingeloggt.
|
2020-08-04 23:16:45 +02:00
|
|
|
<a class="LP-Link" href="{% url 'login' %}"><span class="LP-Link__Text">login</span></a> |
|
|
|
|
<a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">signup</span></a>
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
2020-07-19 22:16:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="LP-Header__Navigation">
|
2020-08-04 23:16:45 +02:00
|
|
|
<nav class="LP-Menu LP-Menu">
|
2020-07-19 22:16:05 +02:00
|
|
|
<ul class="LP-Menu__List">
|
2020-08-04 23:16:45 +02:00
|
|
|
<li class="LP-Menu__Item"><a href="/" class="LP-Link">
|
|
|
|
<span class="LP-Link__Text">Home</span></a></li>
|
|
|
|
<li class="LP-Menu__Item"><a href="" class="LP-Link">
|
|
|
|
<span class="LP-Link__Text">About</span></a></li>
|
|
|
|
<li class="LP-Menu__Item"><a href="" class="LP-Link">
|
|
|
|
<span class="LP-Link__Text">Contact</span></a></li>
|
2020-07-19 22:16:05 +02:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</header>
|
2020-08-04 23:16:45 +02:00
|
|
|
|
2020-07-19 22:16:05 +02:00
|
|
|
<article class="LP-MainContainer">
|
|
|
|
{% block maincontent %}
|
|
|
|
|
|
|
|
{% endblock maincontent %}
|
|
|
|
</article>
|
|
|
|
</body>
|
|
|
|
</html>
|