Compare commits
2 Commits
b95e565bef
...
b755f7f45e
Author | SHA1 | Date | |
---|---|---|---|
b755f7f45e | |||
b7b3c5b89b |
@ -1,4 +1,5 @@
|
||||
{% extends 'global.html'%}
|
||||
|
||||
{% load static %}
|
||||
{% block additional_head %}
|
||||
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
|
||||
@ -9,6 +10,8 @@
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
{% include 'partials/welcome.html' %}
|
||||
|
||||
{% include 'partials/osm_map.html' %}
|
||||
<div class="LP-PlaceGrid">
|
||||
<h1 class="LP-Headline LP-Headline">Explore the latest locations</h1>
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
{% include 'partials/welcome.html' %}
|
||||
|
||||
<div class="LP-PlaceGrid">
|
||||
<h1 class="LP-Headline LP-Headline">Our latest locations</h1>
|
||||
<ul class="LP-PlaceGrid__Grid">
|
||||
|
18
lostplaces/lostplaces_app/templates/partials/welcome.html
Normal file
18
lostplaces/lostplaces_app/templates/partials/welcome.html
Normal file
@ -0,0 +1,18 @@
|
||||
<article class="LP-TextSection">
|
||||
<header class="LP-TextSection__Headline">
|
||||
<h1 class="LP-Headline">Start</h1>
|
||||
</header>
|
||||
|
||||
<div class="LP-TextSection__Text">
|
||||
<p class="LP-Paragraph">
|
||||
Welcome
|
||||
{% if user.is_authenticated %}
|
||||
{{ user.username }}
|
||||
{% else %}
|
||||
explorer
|
||||
{% endif %}
|
||||
! </P>
|
||||
|
||||
<p class="LP-Paragraph">{% lorem %}</p>
|
||||
</div>
|
||||
</article>
|
Loading…
Reference in New Issue
Block a user