added other static pages
This commit is contained in:
parent
31e6fd63c8
commit
5763f24731
|
@ -6,3 +6,15 @@ def home(request):
|
||||||
|
|
||||||
def contact(request):
|
def contact(request):
|
||||||
return render_to_response("main/contact.html")
|
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")
|
||||||
|
|
23
edgware/templates/main/archive.html
Normal file
23
edgware/templates/main/archive.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends 'main_base.html' %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
Home
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="stylesheet" href="/static/css/main/home.css" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block pageTitle %}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="centerSentence">
|
||||||
|
Welcome to the <a href="/about">Edgware Road Project</a>.
|
||||||
|
Here you can create a <a href="/publication">publication</a> or
|
||||||
|
browse the <a href="/archive">archive</a> of past works
|
||||||
|
created by the artists involved.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
23
edgware/templates/main/faq.html
Normal file
23
edgware/templates/main/faq.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends 'main_base.html' %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
Home
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="stylesheet" href="/static/css/main/home.css" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block pageTitle %}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="centerSentence">
|
||||||
|
Welcome to the <a href="/about">Edgware Road Project</a>.
|
||||||
|
Here you can create a <a href="/publication">publication</a> or
|
||||||
|
browse the <a href="/archive">archive</a> of past works
|
||||||
|
created by the artists involved.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
23
edgware/templates/main/help.html
Normal file
23
edgware/templates/main/help.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends 'main_base.html' %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
Home
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="stylesheet" href="/static/css/main/home.css" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block pageTitle %}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="centerSentence">
|
||||||
|
Welcome to the <a href="/about">Edgware Road Project</a>.
|
||||||
|
Here you can create a <a href="/publication">publication</a> or
|
||||||
|
browse the <a href="/archive">archive</a> of past works
|
||||||
|
created by the artists involved.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
23
edgware/templates/main/publish.html
Normal file
23
edgware/templates/main/publish.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends 'main_base.html' %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
Home
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_head %}
|
||||||
|
<link rel="stylesheet" href="/static/css/main/home.css" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block pageTitle %}
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="centerSentence">
|
||||||
|
Welcome to the <a href="/about">Edgware Road Project</a>.
|
||||||
|
Here you can create a <a href="/publication">publication</a> or
|
||||||
|
browse the <a href="/archive">archive</a> of past works
|
||||||
|
created by the artists involved.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
|
@ -12,6 +12,10 @@ urlpatterns = patterns('',
|
||||||
# (r'^edge/', include('edge.foo.urls')),
|
# (r'^edge/', include('edge.foo.urls')),
|
||||||
(r'^sandbox$', 'main.views.home'),
|
(r'^sandbox$', 'main.views.home'),
|
||||||
(r'^sandbox/contact$', 'main.views.contact'),
|
(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'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}),
|
||||||
(r'^robots.txt(?P<path>)$', 'django.views.static.serve', { 'document_root' : "/home/itf/soc/edgware/static/txt/robots.txt" } ),
|
(r'^robots.txt(?P<path>)$', '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'
|
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user