Changeset - cb4943a7d045
[Not reviewed]
0 4 4
Christopher Neugebauer - 7 years ago 2017-06-08 00:51:13
chrisjrn@gmail.com
Adds some bare pages for things that aren’t the homepage.
8 files changed with 60 insertions and 10 deletions:
0 comments (0 inline, 0 general)
fixtures/sitetree.json
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
            "hint": "",
 
            "url": "pages_page \"about/\"",
 
            "url": "page_about",
 
            "inbreadcrumbs": true,
...
 
@@ -42,3 +42,3 @@
 
            "hint": "",
 
            "url": "pages_page \"venue/\"",
 
            "url": "page_venue",
 
            "inbreadcrumbs": true,
...
 
@@ -111,5 +111,5 @@
 
            "hint": "",
 
            "url": "sponsor_apply",
 
            "url": "page_sponsor_info",
 
            "inbreadcrumbs": true,
 
            "title": "Apply to be a Sponsor",
 
            "title": "Prospectus",
 
            "tree": 1,
pinaxcon/templates/homepage.html
Show inline comments
...
 
@@ -3,5 +3,2 @@
 
{% load i18n %}
 
{% load pinax_boxes_tags %}
 

	
 
{% block head_title %}{% trans "Welcome" %}{% endblock %}
 

	
...
 
@@ -10,3 +7,4 @@
 
{% block body %}
 
    {% box "homepage" %}
 
  <h1>{{ SITE_NAME }}</h1>
 
  <p class="lead">Welcome to the demo site.</p>
 
{% endblock %}
pinaxcon/templates/page_with_title_and_lede.html
Show inline comments
 
new file 100644
 
{% 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 %}
pinaxcon/templates/pages/about.html
Show inline comments
 
new file 100644
 
{% 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 %}
pinaxcon/templates/pages/sponsors/info.html
Show inline comments
 
new file 100644
 
{% 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 %}
pinaxcon/templates/pages/venue.html
Show inline comments
 
new file 100644
 
{% 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 %}
pinaxcon/templates/site_base.html
Show inline comments
...
 
@@ -7,3 +7,2 @@
 

	
 

	
 
{% block styles %}
...
 
@@ -12,3 +11,2 @@
 

	
 

	
 
{% block extra_head_base %}
pinaxcon/urls.py
Show inline comments
...
 
@@ -12,2 +12,11 @@ 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)),
0 comments (0 inline, 0 general)