Merge pull request #5 from northbaypython/josh/copy
stub out static site pages
This commit is contained in:
		
						commit
						9c4663a5c0
					
				
					 9 changed files with 66 additions and 16 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -5,3 +5,4 @@ _build/ | |||
| dev.db | ||||
| .coverage | ||||
| staticfiles | ||||
| venv/ | ||||
|  |  | |||
|  | @ -7,11 +7,10 @@ | |||
| <h4>Sponsors</h4> | ||||
| 
 | ||||
| <div class="sponsor-list"> | ||||
|     {% box "sponsor-top" %} | ||||
|     {% for level in levels %} | ||||
|         {% if level.sponsors %} | ||||
|             <h3 style="margin-top: 3em;">{{ level.name }}</h3> | ||||
| \ | ||||
| 
 | ||||
|             {% for sponsor in level.sponsors %} | ||||
|                 <div style="margin: 10px 0;"> | ||||
|                     <a href="{{ sponsor.external_url }}"> | ||||
|  |  | |||
							
								
								
									
										11
									
								
								pinaxcon/templates/static_pages/about.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pinaxcon/templates/static_pages/about.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| {% endblock %} | ||||
							
								
								
									
										11
									
								
								pinaxcon/templates/static_pages/code-of-conduct.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pinaxcon/templates/static_pages/code-of-conduct.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -2,9 +2,10 @@ | |||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
|   <h1>{{ SITE_NAME }}</h1> | ||||
|   <p class="lead">Welcome to the demo site.</p> | ||||
| 
 | ||||
| {% endblock %} | ||||
							
								
								
									
										11
									
								
								pinaxcon/templates/static_pages/news.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pinaxcon/templates/static_pages/news.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| {% endblock %} | ||||
							
								
								
									
										11
									
								
								pinaxcon/templates/static_pages/proposals.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pinaxcon/templates/static_pages/proposals.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| {% endblock %} | ||||
							
								
								
									
										11
									
								
								pinaxcon/templates/static_pages/sponsors.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								pinaxcon/templates/static_pages/sponsors.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% load i18n %} | ||||
| 
 | ||||
| {% block head_title %}{% trans "Welcome" %}{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}home{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -9,16 +9,10 @@ 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"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"), | ||||
|     url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/proposals.html"), name="code-of-conduct"), | ||||
|     url(r"^about$", TemplateView.as_view(template_name="static_pages/proposals.html"), name="about"), | ||||
|     url(r"^news$", TemplateView.as_view(template_name="static_pages/proposals.html"), name="news"), | ||||
|     url(r"^admin/", include(admin.site.urls)), | ||||
| 
 | ||||
|     url(r"^account/", include("account.urls")), | ||||
|  | @ -27,7 +21,9 @@ urlpatterns = [ | |||
| 
 | ||||
|     url(r"^speaker/", include("symposion.speakers.urls")), | ||||
|     url(r"^proposals/", include("symposion.proposals.urls")), | ||||
|     url(r"^proposals$", TemplateView.as_view(template_name="static_pages/proposals.html"), name="proposals"), | ||||
|     url(r"^sponsors/", include("symposion.sponsorship.urls")), | ||||
|     url(r"^sponsors$", TemplateView.as_view(template_name="static_pages/proposals.html"), name="sponsors"), | ||||
|     url(r"^reviews/", include("symposion.reviews.urls")), | ||||
|     url(r"^schedule/", include("symposion.schedule.urls")), | ||||
| 
 | ||||
|  | @ -43,8 +39,6 @@ urlpatterns = [ | |||
|     url(r'^register/', include('registrasion.urls')), | ||||
|     url(r'^nested_admin/', include('nested_admin.urls')), | ||||
| 
 | ||||
|     url(r"^boxes/", include("pinax.boxes.urls")), | ||||
| 
 | ||||
|     # Catch-all MUST go last. | ||||
|     #url(r"^", include("pinax.pages.urls")), | ||||
| ] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer