[svn] Got rid of ugly old design; brought in ugly new design. This one works a little better, still needs a lot of work.

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8164 by aaron @ 1/17/2009 7:11 AM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 05:31:44 +01:00
parent f02c91901c
commit b2366cfe11
6 changed files with 301 additions and 348 deletions

View File

@@ -4,7 +4,7 @@ import troggle.settings as settings
from django import forms
from django.db.models import Q
import re
#import randSent (it's not ready yet)
import randSent
def stats(request):
statsDict={}
@@ -14,6 +14,6 @@ def stats(request):
statsDict['logbookEntryCount'] = int(LogbookEntry.objects.count())
return render_to_response('statistics.html', statsDict)
#def frontPage(request):
def frontPage(request):
# return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings})
return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings})