From 5e580cf29e38d69bb7931f8f85e0a45077df183f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Dec 2012 12:26:19 -0500 Subject: Add admin and register handlers --- frontend/templates/admin.html | 80 ++++++++++++++++++ frontend/templates/register.html | 174 +++++++++++++++++++++++++++++++++++++++ frontend/views.py | 21 +++++ 3 files changed, 275 insertions(+) create mode 100644 frontend/templates/admin.html create mode 100644 frontend/templates/register.html (limited to 'frontend') diff --git a/frontend/templates/admin.html b/frontend/templates/admin.html new file mode 100644 index 0000000..79a019d --- /dev/null +++ b/frontend/templates/admin.html @@ -0,0 +1,80 @@ +{% load static %} +{% get_static_prefix as STATIC_PREFIX %} + + + +SANDBOX ADMIN + + + + + +
+ << back to room +

MODERATOR COMMAND CENTER

+
+
+
+ +

CURRENT PLAYLIST FOR

+ +
+ +
+ +
+ +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + diff --git a/frontend/templates/register.html b/frontend/templates/register.html new file mode 100644 index 0000000..f041a50 --- /dev/null +++ b/frontend/templates/register.html @@ -0,0 +1,174 @@ +{% load static %} +{% get_static_prefix as STATIC_PREFIX %} + + + +SCANNERJAMMER REGISTRATION + + + +
+ +
+
+
+
+ +

official registration form

+ + + +
+ + + +
+ + + + +
+ + + +
+
+ + wow okay awesome- greetings,
+ + your new ghost is online and active..
+
+ WELCOME TO SCANNERJAMMER +
+ +
+
+ please enable javascript +
+
+ + + + + + + + diff --git a/frontend/views.py b/frontend/views.py index f59d7b2..09d0cb0 100644 --- a/frontend/views.py +++ b/frontend/views.py @@ -251,3 +251,24 @@ def calendar(request): response['Pragma'] = 'no-cache' return response +def register(request): + response = render_to_response( + 'register.html', + { + 'SERVER_HOST': request.get_host(), + 'SERVER_PORT': settings.SERVER_PORT, + } + ) + response['Pragma'] = 'no-cache' + return response + +def admin(request): + response = render_to_response( + 'admin.html', + { + 'SERVER_HOST': request.get_host(), + 'SERVER_PORT': settings.SERVER_PORT, + } + ) + response['Pragma'] = 'no-cache' + return response -- cgit v1.2.3-70-g09d2