Compare commits
7 Commits
20a735d2ec
...
cba3fe4366
Author | SHA1 | Date | |
---|---|---|---|
cba3fe4366 | |||
5c3b68252e | |||
81a5e8246a | |||
6bf8eb7083 | |||
c722830e66 | |||
ae41f539a1 | |||
c28cc3ac3c |
@ -48,6 +48,7 @@
|
||||
<nav class="LP-Menu LP-Menu--sidebar">
|
||||
<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="{% url 'codex' %}" class="LP-Link"><span class="LP-Link__Text">UrBex codex</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>
|
||||
{% block additional_menu_items %}
|
||||
|
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
{{text}}
|
||||
</body>
|
||||
</html>
|
@ -11,6 +11,8 @@
|
||||
{% block maincontent %}
|
||||
|
||||
{% include 'partials/welcome.html' %}
|
||||
<article class="LP-TextSection">
|
||||
</article>
|
||||
|
||||
{% include 'partials/osm_map.html' %}
|
||||
<div class="LP-PlaceGrid">
|
||||
|
@ -5,6 +5,18 @@
|
||||
{% block maincontent %}
|
||||
|
||||
{% include 'partials/welcome.html' %}
|
||||
<article class="LP-TextSection">
|
||||
<p class="LP-Paragraph">
|
||||
You can create, view and share your favorite lost places with other
|
||||
members of this site. You can upload photos, place links to your
|
||||
web galleries and contribute your knowledge by tagging other places or
|
||||
commenting on them. You will find detailed information on where these
|
||||
locations are, how to get there and what to expect from them. This might
|
||||
even include information on how to overcome security measures or where
|
||||
to watch for cameras or security personnel.
|
||||
</p>
|
||||
<p class="LP-Paragraph">{% lorem %}</p>
|
||||
</article>
|
||||
|
||||
<div class="LP-PlaceGrid">
|
||||
<h1 class="LP-Headline LP-Headline">Our latest locations</h1>
|
||||
|
@ -1,18 +1,19 @@
|
||||
<article class="LP-TextSection">
|
||||
<header class="LP-TextSection__Headline">
|
||||
<h1 class="LP-Headline">Start</h1>
|
||||
</header>
|
||||
<header class="LP-TextSection__Headline">
|
||||
<h1 class="LP-Headline">Start</h1>
|
||||
</header>
|
||||
|
||||
<div class="LP-TextSection__Text">
|
||||
<p class="LP-Paragraph">Welcome
|
||||
<div class="LP-TextSection__Text">
|
||||
<p class="LP-Paragraph">Welcome to our Urban Exploration community catalogue,
|
||||
{% if user.is_authenticated %}
|
||||
{{ user.username }}
|
||||
{% else %}
|
||||
explorer
|
||||
{% endif %}
|
||||
!</p>
|
||||
|
||||
<p class="LP-Paragraph">{% lorem %}</p>
|
||||
<p class="LP-Paragraph">{% lorem %}</p>
|
||||
</div>
|
||||
</article>
|
||||
!
|
||||
</p>
|
||||
<p class="LP-Paragraph">
|
||||
We strictly follow our
|
||||
<a class="LP-Link" href="{% url 'codex' %}"><span class="LP-Link__Text">UrBex codex</span></a>
|
||||
and expect you to do so, too.
|
||||
</p>
|
||||
</div>
|
||||
|
@ -8,7 +8,8 @@ from .views import (
|
||||
PlaceUpdateView,
|
||||
PlaceDeleteView,
|
||||
PhotoAlbumCreateView,
|
||||
PhotoAlbumDeleteView
|
||||
PhotoAlbumDeleteView,
|
||||
CodexView
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
@ -20,5 +21,6 @@ urlpatterns = [
|
||||
path('photo_album/delete/<int:pk>', PhotoAlbumDeleteView.as_view(), name='photo_album_delete'),
|
||||
path('place/update/<int:pk>/', PlaceUpdateView.as_view(), name='place_edit'),
|
||||
path('place/delete/<int:pk>/', PlaceDeleteView.as_view(), name='place_delete'),
|
||||
path('place/', PlaceListView.as_view(), name='place_list')
|
||||
path('place/', PlaceListView.as_view(), name='place_list'),
|
||||
path('codex/', CodexView, name='codex')
|
||||
]
|
||||
|
@ -47,4 +47,7 @@ class PhotoAlbumDeleteView(PlaceAssetDeleteView):
|
||||
model = PhotoAlbum
|
||||
pk_url_kwarg = 'pk'
|
||||
success_message = 'Photo Album deleted'
|
||||
permission_denied_messsage = 'You do not have permissions to alter this photo album'
|
||||
permission_denied_messsage = 'You do not have permissions to alter this photo album'
|
||||
|
||||
def CodexView(request):
|
||||
return render(request, 'codex.html')
|
||||
|
Loading…
Reference in New Issue
Block a user