Compare commits
No commits in common. "cba3fe436636ff4f14398d8446aa50fe310d4ccb" and "20a735d2ecca17e045d9a4e567350864952d6779" have entirely different histories.
cba3fe4366
...
20a735d2ec
@ -48,7 +48,6 @@
|
|||||||
<nav class="LP-Menu LP-Menu--sidebar">
|
<nav class="LP-Menu LP-Menu--sidebar">
|
||||||
<ul class="LP-Menu__List">
|
<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">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">About</span></a></li>
|
||||||
<li class="LP-Menu__Item"><a href="" class="LP-Link"><span class="LP-Link__Text">Contact</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 %}
|
{% block additional_menu_items %}
|
||||||
|
10
lostplaces/lostplaces_app/templates/hello_world.html
Normal file
10
lostplaces/lostplaces_app/templates/hello_world.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{text}}
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -11,8 +11,6 @@
|
|||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
|
|
||||||
{% include 'partials/welcome.html' %}
|
{% include 'partials/welcome.html' %}
|
||||||
<article class="LP-TextSection">
|
|
||||||
</article>
|
|
||||||
|
|
||||||
{% include 'partials/osm_map.html' %}
|
{% include 'partials/osm_map.html' %}
|
||||||
<div class="LP-PlaceGrid">
|
<div class="LP-PlaceGrid">
|
||||||
|
@ -5,18 +5,6 @@
|
|||||||
{% block maincontent %}
|
{% block maincontent %}
|
||||||
|
|
||||||
{% include 'partials/welcome.html' %}
|
{% 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">
|
<div class="LP-PlaceGrid">
|
||||||
<h1 class="LP-Headline LP-Headline">Our latest locations</h1>
|
<h1 class="LP-Headline LP-Headline">Our latest locations</h1>
|
||||||
|
@ -1,19 +1,18 @@
|
|||||||
<header class="LP-TextSection__Headline">
|
<article class="LP-TextSection">
|
||||||
<h1 class="LP-Headline">Start</h1>
|
<header class="LP-TextSection__Headline">
|
||||||
</header>
|
<h1 class="LP-Headline">Start</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="LP-TextSection__Text">
|
<div class="LP-TextSection__Text">
|
||||||
<p class="LP-Paragraph">Welcome to our Urban Exploration community catalogue,
|
<p class="LP-Paragraph">Welcome
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{{ user.username }}
|
{{ user.username }}
|
||||||
{% else %}
|
{% else %}
|
||||||
explorer
|
explorer
|
||||||
{% endif %}
|
{% endif %}
|
||||||
!
|
!</p>
|
||||||
</p>
|
|
||||||
<p class="LP-Paragraph">
|
<p class="LP-Paragraph">{% lorem %}</p>
|
||||||
We strictly follow our
|
<p class="LP-Paragraph">{% lorem %}</p>
|
||||||
<a class="LP-Link" href="{% url 'codex' %}"><span class="LP-Link__Text">UrBex codex</span></a>
|
</div>
|
||||||
and expect you to do so, too.
|
</article>
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
@ -8,8 +8,7 @@ from .views import (
|
|||||||
PlaceUpdateView,
|
PlaceUpdateView,
|
||||||
PlaceDeleteView,
|
PlaceDeleteView,
|
||||||
PhotoAlbumCreateView,
|
PhotoAlbumCreateView,
|
||||||
PhotoAlbumDeleteView,
|
PhotoAlbumDeleteView
|
||||||
CodexView
|
|
||||||
)
|
)
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
@ -21,6 +20,5 @@ urlpatterns = [
|
|||||||
path('photo_album/delete/<int:pk>', PhotoAlbumDeleteView.as_view(), name='photo_album_delete'),
|
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/update/<int:pk>/', PlaceUpdateView.as_view(), name='place_edit'),
|
||||||
path('place/delete/<int:pk>/', PlaceDeleteView.as_view(), name='place_delete'),
|
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,7 +47,4 @@ class PhotoAlbumDeleteView(PlaceAssetDeleteView):
|
|||||||
model = PhotoAlbum
|
model = PhotoAlbum
|
||||||
pk_url_kwarg = 'pk'
|
pk_url_kwarg = 'pk'
|
||||||
success_message = 'Photo Album deleted'
|
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