add coming soon template
This commit is contained in:
parent
76e6b68ada
commit
55b80e4b2e
|
@ -33,6 +33,10 @@ def help(request):
|
|||
context = RequestContext(request, {})
|
||||
return render_to_response("main/help.html", context)
|
||||
|
||||
def comingsoon(request):
|
||||
context = RequestContext(request, {})
|
||||
return render_to_response("main/comingsoon.html", context)
|
||||
|
||||
def debug(request):
|
||||
# imageVersion = Image.VERSION
|
||||
# sysPath = ",".join(sys.path)
|
||||
|
|
21
edgware/templates/main/comingsoon.html
Normal file
21
edgware/templates/main/comingsoon.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% 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 <a href="contact">Edgwareroad.org</a>.
|
||||
Here you can <a href="publish">create</a> a publication, <a href="browse">browse</a> existing publications, or <a href="archive">view an archive</a> of materials generated on the Edgware Road and beyond.
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
|
@ -37,7 +37,8 @@ urlpatterns = patterns('',
|
|||
(r'^sandbox/account$', login),
|
||||
(r'^sandbox/logout$', logout),
|
||||
|
||||
(r'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}),
|
||||
# (r'^$', 'django.views.generic.simple.redirect_to', {'url': '/slider/'}),
|
||||
(r'^$', 'main.views.comingsoon'),
|
||||
(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'
|
||||
# to INSTALLED_APPS to enable admin documentation:
|
||||
|
|
Loading…
Reference in New Issue
Block a user