removed iframes and templatized

This commit is contained in:
2010-04-13 14:48:16 -07:00
parent 9e8961abf1
commit 74be39a565
15 changed files with 185 additions and 151 deletions

View File

@@ -9,6 +9,14 @@ def latest(request):
failures = get_list_or_404(Tests.objects.all().order_by('-build__starttime')[:10])
return render_to_response('viewer/latest.html', {'failures': failures})
def index(request):
failures = get_list_or_404(Tests.objects.all().order_by('-build__starttime')[:10])
return render_to_response('viewer/index.html', {'failures': failures})
def base(request):
return render_to_response('viewer/base.html')
def trees(request):
alltrees = Trees.objects.all().order_by('name')
return render_to_response('viewer/trees.html', {'trees': alltrees})