Erste Templates aus dem Frontend übernommen und angepasst
This commit is contained in:
parent
87c816d83f
commit
aa1fee05da
33
source/lostplaces/lostplaces_app/templates/global.html
Normal file
33
source/lostplaces/lostplaces_app/templates/global.html
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{% load static %}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="stylesheet" href="{% static 'components.css' %}">
|
||||||
|
<title>Preview</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header class="LP-Header">
|
||||||
|
<div class="LP-Header__Logo">
|
||||||
|
<a href="LP-Link" href="#">
|
||||||
|
<img class="LP-Logo" src="https://99designs-blog.imgix.net/blog/wp-content/uploads/2016/07/logo-2.png?auto=format&q=60&fit=max&w=930" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="LP-Header__Navigation">
|
||||||
|
<nav class="LP-Menu">
|
||||||
|
<ul class="LP-Menu__List">
|
||||||
|
<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>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
<article class="LP-MainContainer">
|
||||||
|
{% block maincontent %}
|
||||||
|
|
||||||
|
{% endblock maincontent %}
|
||||||
|
</article>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,62 @@
|
|||||||
|
{% extends 'global.html'%}
|
||||||
|
|
||||||
|
{% block maincontent %}
|
||||||
|
|
||||||
|
|
||||||
|
<article class="LP-PlaceOverview">
|
||||||
|
|
||||||
|
<div class="LP-PlaceOverview__Info">
|
||||||
|
<img class="LP-PlaceOveriew__Image" src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png">
|
||||||
|
<article class="LP-PlaceOverView__Description">
|
||||||
|
<article class="LP-TextSection LP-Content">
|
||||||
|
<h1 class="LP-Headline">{{place.name}}</h1>
|
||||||
|
<p class="LP-Text">{{place.description}}</p>
|
||||||
|
</article>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
{{> @headline headline='Map Links'}}
|
||||||
|
<a class="LP-Link" href="https://www.google.com/maps?q={{place.latitude}},{{place.longitude}}" target="blank"><span class="LP-Text">Google Maps</span></a>
|
||||||
|
<a class="LP-Link" href="https://www.tim-online.nrw.de/tim-online2/?center={{place.latitude}},{{place.longitude}}&icon=true&bg=dop" target="blank"><span class="LP-Text">TIM Online (GER/NRW Only)</span></a>
|
||||||
|
<a class="LP-Link" href="http://www.openstreetmap.org/?mlat={{place.latitude}}&mlon={{place.longitude}}&zoom=16" target="blank"><span class="LP-Text">Open Street Map</span></a>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<h1 class="LP-Headline">Sicherheitsmaßnahmen</h1>
|
||||||
|
<ul class="LP-SecurityMeasure__List">
|
||||||
|
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Kameras</span></li>
|
||||||
|
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Zaun</span></li>
|
||||||
|
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Wachhund</span></li>
|
||||||
|
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Alarmanlage</span></li>
|
||||||
|
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Selbstschussanlage</span></li>
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<ul class="LP-PlaceOverView__ImageList">
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png"></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||||
|
</li>
|
||||||
|
<li class="LP-PlaceOverView__ImageItem">
|
||||||
|
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h1 class="LP-Headline">Lade deine Bilder hoch</h1>
|
||||||
|
<form>
|
||||||
|
<input type="file" />
|
||||||
|
</form>
|
||||||
|
</article>
|
||||||
|
{% endblock maincontent %}
|
Loading…
Reference in New Issue
Block a user