From 5763f2473132904474db10a2005de222a46e4df9 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 31 Mar 2011 18:03:50 +0530 Subject: [PATCH] added other static pages --- edgware/main/views.py | 12 ++++++++++++ edgware/templates/main/archive.html | 23 +++++++++++++++++++++++ edgware/templates/main/faq.html | 23 +++++++++++++++++++++++ edgware/templates/main/help.html | 23 +++++++++++++++++++++++ edgware/templates/main/publish.html | 23 +++++++++++++++++++++++ edgware/urls.py | 4 ++++ 6 files changed, 108 insertions(+) create mode 100644 edgware/templates/main/archive.html create mode 100644 edgware/templates/main/faq.html create mode 100644 edgware/templates/main/help.html create mode 100644 edgware/templates/main/publish.html diff --git a/edgware/main/views.py b/edgware/main/views.py index 2bd4dee..b5e0258 100644 --- a/edgware/main/views.py +++ b/edgware/main/views.py @@ -6,3 +6,15 @@ def home(request): def contact(request): return render_to_response("main/contact.html") + +def archive(request): + return render_to_response("main/archive.html") + +def publish(request): + return render_to_response("main/publish.html") + +def faq(request): + return render_to_response("main/faq.html") + +def help(request): + return render_to_response("main/help.html") diff --git a/edgware/templates/main/archive.html b/edgware/templates/main/archive.html new file mode 100644 index 0000000..d3743e2 --- /dev/null +++ b/edgware/templates/main/archive.html @@ -0,0 +1,23 @@ +{% extends 'main_base.html' %} + +{% block title %} + Home +{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block pageTitle %} + +{% endblock %} + +{% block content %} +
+ Welcome to the Edgware Road Project. + Here you can create a publication or + browse the archive of past works + created by the artists involved. +
+ +{% endblock %} diff --git a/edgware/templates/main/faq.html b/edgware/templates/main/faq.html new file mode 100644 index 0000000..d3743e2 --- /dev/null +++ b/edgware/templates/main/faq.html @@ -0,0 +1,23 @@ +{% extends 'main_base.html' %} + +{% block title %} + Home +{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block pageTitle %} + +{% endblock %} + +{% block content %} +
+ Welcome to the Edgware Road Project. + Here you can create a publication or + browse the archive of past works + created by the artists involved. +
+ +{% endblock %} diff --git a/edgware/templates/main/help.html b/edgware/templates/main/help.html new file mode 100644 index 0000000..d3743e2 --- /dev/null +++ b/edgware/templates/main/help.html @@ -0,0 +1,23 @@ +{% extends 'main_base.html' %} + +{% block title %} + Home +{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block pageTitle %} + +{% endblock %} + +{% block content %} +
+ Welcome to the Edgware Road Project. + Here you can create a publication or + browse the archive of past works + created by the artists involved. +
+ +{% endblock %} diff --git a/edgware/templates/main/publish.html b/edgware/templates/main/publish.html new file mode 100644 index 0000000..d3743e2 --- /dev/null +++ b/edgware/templates/main/publish.html @@ -0,0 +1,23 @@ +{% extends 'main_base.html' %} + +{% block title %} + Home +{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block pageTitle %} + +{% endblock %} + +{% block content %} +
+ Welcome to the Edgware Road Project. + Here you can create a publication or + browse the archive of past works + created by the artists involved. +
+ +{% endblock %} diff --git a/edgware/urls.py b/edgware/urls.py index fcee907..55c5148 100644 --- a/edgware/urls.py +++ b/edgware/urls.py @@ -12,6 +12,10 @@ urlpatterns = patterns('', # (r'^edge/', include('edge.foo.urls')), (r'^sandbox$', 'main.views.home'), (r'^sandbox/contact$', 'main.views.contact'), + (r'^sandbox/archive$', 'main.views.archive'), + (r'^sandbox/publish$', 'main.views.publish'), + (r'^sandbox/faq$', 'main.views.faq'), + (r'^sandbox/help$', 'main.views.help'), (r'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}), (r'^robots.txt(?P)$', 'django.views.static.serve', { 'document_root' : "/home/itf/soc/edgware/static/txt/robots.txt" } ), # Uncomment the admin/doc line below and add 'django.contrib.admindocs'