Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added report card information

  • Loading branch information...
commit 1d92a635193a8ed7d78240fba72d09051e9c77dc 1 parent e0bb63e
David Petersen authored
View
1  main/templates/application.html
@@ -48,6 +48,7 @@
<div>
<ul>
<li><a href="/transcript"><span>Transcript</span></a></li>
+ <li><a href="/transcript/report_card"><span>Report Card</span></a></li>
</ul>
</div>
</li>
View
8 transcript/templates/transcript/report_card.html
@@ -0,0 +1,8 @@
+{% extends "application.html" %}
+
+{% block content %}
+<div class="span-24 last">
+ <h1>Report Card</h1>
+ <h2>Grade Distribution</h2>
+</div>
+{% endblock %}
View
3  transcript/urls.py
@@ -1,6 +1,7 @@
from django.conf.urls.defaults import *
urlpatterns = patterns('transcript.views',
- (r'^$', 'index')
+ (r'^$', 'index'),
+ (r'^report_card/$','report_card')
)
View
3  transcript/views.py
@@ -13,4 +13,5 @@ def index(request):
transcript = regclass.transcript.sort_by_term()
return render_to_response('transcript/index.html', {'transcript':transcript, 'credits': regclass.transcript.credits, 'gpa': regclass.transcript.gpa})
-
+def report_card(request):
+ return render_to_response('transcript/report_card.html')
Please sign in to comment.
Something went wrong with that request. Please try again.