From 6b309d381f399fbde17e04a1163fa90b765c62f0 Mon Sep 17 00:00:00 2001
From: hardythe1
Date: Sun, 15 Jun 2014 14:27:01 +0530
Subject: disabling the links for the time being for the problem statement
copyright issue
---
tbc/templates/tbc/unavailable.html | 162 +++++++++++++++++++++++++++++++++++++
tbc/urls.py | 2 +-
tbc/views.py | 4 +
3 files changed, 167 insertions(+), 1 deletion(-)
create mode 100644 tbc/templates/tbc/unavailable.html
(limited to 'tbc')
diff --git a/tbc/templates/tbc/unavailable.html b/tbc/templates/tbc/unavailable.html
new file mode 100644
index 0000000..ad29f43
--- /dev/null
+++ b/tbc/templates/tbc/unavailable.html
@@ -0,0 +1,162 @@
+{% load static %}
+
+
+
+
+ {% block title %}
+ Python Textbook Companion Project | FOSSEE, IIT Bombay
+ {% endblock %}
+
+ {% block meta %}
+
+
+
+
+ {% endblock %}
+
+
+
+
+
+ {% block css %}
+
+ {% endblock %}
+
+ {% block script %}
+ {% endblock %}
+
+
+
+
+
+ {% block content %}
+
+ Sorry for the inconvenience ! We are currently working to fix some internal issues. We will be back on or before 20th June 00:00 hrs IST
+
+ {% endblock %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tbc/urls.py b/tbc/urls.py
index 0aa0b3c..7ee91aa 100644
--- a/tbc/urls.py
+++ b/tbc/urls.py
@@ -2,7 +2,7 @@ from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
- url(r'^$', 'tbc.views.Home', name='Home'),
+ url(r'^$', 'tbc.views.TemporarilyUnavailable', name='TemporarilyUnavailable'),
url(r'^internship-forms/$', 'tbc.views.InternshipForms', name='InternshipForms'),
url(r'^about-pythontbc/$', 'tbc.views.AboutPytbc', name='AboutPytbc'),
url(r'^register/$', 'tbc.views.UserRegister', name='UserRegister'),
diff --git a/tbc/views.py b/tbc/views.py
index e3953d8..c352ed7 100755
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -59,6 +59,10 @@ def AboutPytbc(request):
return render_to_response('tbc/about-pytbc.html', context)
+def TemporarilyUnavailable(request):
+ context = {}
+ return render_to_response('tbc/unavailable.html', context)
+
def Home(request):
context = {}
--
cgit