added other static pages

This commit is contained in:
Sanj 2011-03-31 18:03:50 +05:30
parent 31e6fd63c8
commit 5763f24731
6 changed files with 108 additions and 0 deletions

View File

@ -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")

View 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 %}

View 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 %}

View 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 %}

View 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 %}

View File

@ -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<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'