Permalink
Browse files

Updated gitignore

  • Loading branch information...
1 parent a3b2c18 commit 52ab889ec5b4ec6c754e788b8b62c0078a693897 @thedjpetersen committed Jun 15, 2011
Showing with 51 additions and 23 deletions.
  1. +2 −0 .gitignore
  2. +21 −0 site_media/stylesheets/report_card.css
  3. +28 −23 transcript/templates/transcript/report_card.html
View
@@ -1 +1,3 @@
*.pyc
+database
+
@@ -14,6 +14,27 @@
font-size:1.3em;
}
+.report-navigation{
+ text-align:center;
+}
+
+.report-navigation a{
+ text-decoration:none;
+ color:black;
+}
+
+.report-navigation span{
+ font-size:1.5em;
+ padding-right:10px;
+ padding-left:10px;
+ padding-top: 3px;
+ padding-bottom: 3px;
+}
+
+.report-navigation span:hover{
+ background:#6C8DD5;
+}
+
.grade{
font-size:1.5em;
font-weight:bold;
@@ -7,30 +7,35 @@
{% block content %}
<div class="span-24 last">
<h1>Report Card</h1>
- <h2>Report Card By term</h2>
- {% for term in term_groups %}
- {% for term_name, group in term.items %}
- <h3>{{term_name}}</h3>
- <div class="group span-24 last">
- {% for class in group %}
- <div class="span-24 last report-class">
- <div class="span-4 cn">
- <span>{{class.department}} {{class.number}}</span>
+ <div class="report-navigation">
+ <a href="#report-section"><span>Report Card</span></a>
+ <a><span>Grade Distribution</span></a>
+ </div>
+
+ <div class="report-section">
+ {% for term in term_groups %}
+ {% for term_name, group in term.items %}
+ <h3>{{term_name}}</h3>
+ <div class="group span-24 last">
+ {% for class in group %}
+ <div class="span-24 last report-class">
+ <div class="span-4 cn">
+ <span>{{class.department}} {{class.number}}</span>
+ </div>
+ <div class="span-8">
+ <span>{{class.title}}</span>
+ </div>
+ <div class="span-6">
+ <span>{{class.credits}}</span>
+ </div>
+ <div class="span-6 last grade grade-{{class.grade|first}}">
+ <span>{{class.grade}}</span>
+ </div>
</div>
- <div class="span-8">
- <span>{{class.title}}</span>
- </div>
- <div class="span-6">
- <span>{{class.credits}}</span>
- </div>
- <div class="span-6 last grade grade-{{class.grade|first}}">
- <span>{{class.grade}}</span>
- </div>
- </div>
+ {% endfor %}
+ </div>
{% endfor %}
- </div>
- {% endfor %}
- {% endfor%}
- <h2>Grade Distribution</h2>
+ {% endfor%}
+ </div>
</div>
{% endblock %}

0 comments on commit 52ab889

Please sign in to comment.