Adds some bare pages for things that aren’t the homepage.
This commit is contained in:
parent
f4960adc04
commit
cb4943a7d0
8 changed files with 60 additions and 10 deletions
|
@ -17,7 +17,7 @@
|
|||
"description": "",
|
||||
"insitetree": true,
|
||||
"hint": "",
|
||||
"url": "pages_page \"about/\"",
|
||||
"url": "page_about",
|
||||
"inbreadcrumbs": true,
|
||||
"title": "About",
|
||||
"tree": 1,
|
||||
|
@ -40,7 +40,7 @@
|
|||
"description": "",
|
||||
"insitetree": true,
|
||||
"hint": "",
|
||||
"url": "pages_page \"venue/\"",
|
||||
"url": "page_venue",
|
||||
"inbreadcrumbs": true,
|
||||
"title": "Venue",
|
||||
"tree": 1,
|
||||
|
@ -109,9 +109,9 @@
|
|||
"description": "",
|
||||
"insitetree": true,
|
||||
"hint": "",
|
||||
"url": "sponsor_apply",
|
||||
"url": "page_sponsor_info",
|
||||
"inbreadcrumbs": true,
|
||||
"title": "Apply to be a Sponsor",
|
||||
"title": "Prospectus",
|
||||
"tree": 1,
|
||||
"access_perm_type": 1,
|
||||
"alias": null,
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load pinax_boxes_tags %}
|
||||
|
||||
{% block head_title %}{% trans "Welcome" %}{% endblock %}
|
||||
|
||||
{% block body_class %}home{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% box "homepage" %}
|
||||
<h1>{{ SITE_NAME }}</h1>
|
||||
<p class="lead">Welcome to the demo site.</p>
|
||||
{% endblock %}
|
||||
|
|
18
pinaxcon/templates/page_with_title_and_lede.html
Normal file
18
pinaxcon/templates/page_with_title_and_lede.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% block head_title %}{% block title %}{% endblock %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
{% block heading_base %}
|
||||
<h1>{% block heading %}{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block lede_base %}
|
||||
<p class="lead">{% block lede %}{% endblock %}</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
9
pinaxcon/templates/pages/about.html
Normal file
9
pinaxcon/templates/pages/about.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}About {{ SITE_NAME }}{% endblock %}
|
||||
{% block heading %}About {{ SITE_NAME }}{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} is the premier demo conference site for Symposion and Registrasion{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
9
pinaxcon/templates/pages/sponsors/info.html
Normal file
9
pinaxcon/templates/pages/sponsors/info.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}Sponsorship Prospectus{% endblock %}
|
||||
{% block heading %}Sponsorship Prospectus{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} wants sponsors.{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
9
pinaxcon/templates/pages/venue.html
Normal file
9
pinaxcon/templates/pages/venue.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}Venue{% endblock %}
|
||||
{% block heading %}Venue{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} is being held on a Django Hosting facility, somewhere.{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
|
@ -5,12 +5,10 @@
|
|||
{% load i18n %}
|
||||
{% load sitetree %}
|
||||
|
||||
|
||||
{% block styles %}
|
||||
{% include "_styles.html" %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block extra_head_base %}
|
||||
{% block extra_head %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -10,6 +10,15 @@ import symposion.views
|
|||
|
||||
urlpatterns = [
|
||||
url(r"^$", TemplateView.as_view(template_name="homepage.html"), name="home"),
|
||||
|
||||
url(r"^about$", TemplateView.as_view(template_name="pages/about.html"), name="page_about"),
|
||||
url(r"^venue$", TemplateView.as_view(template_name="pages/venue.html"), name="page_venue"),
|
||||
url(
|
||||
r"^sponsors/info$",
|
||||
TemplateView.as_view(template_name="pages/sponsors/info.html"),
|
||||
name="page_sponsor_info",
|
||||
),
|
||||
|
||||
url(r"^admin/", include(admin.site.urls)),
|
||||
|
||||
url(r"^account/", include("account.urls")),
|
||||
|
|
Loading…
Reference in a new issue