Commit 2fc4477e by Kyle Fiedler

Merged heads

parents 731ca112 da866520
<table> <%inherit file="main.html" />
% for s in students: <%include file="navigation.html" args="active_page=''" />
<h1><a href=/profile/${s['id']}>${s['username']}</a></h1> <section class="main-content">
% for c in s['grade_info']['grade_summary']: <div class="gradebook-wrapper">
<h2>${c['category']} </h2> <section class="gradebook-content">
<p> <h1>Gradebook</h1>
% if 'subscores' in c: % for s in students:
<h2><a href=/profile/${s['id']}>${s['username']}</a></h2>
% for c in s['grade_info']['grade_summary']:
<h3>${c['category']} </h3>
<p>
% if 'subscores' in c:
% for ss in c['subscores']: % for ss in c['subscores']:
<br>${ss['summary']} <br>${ss['summary']}
% endfor % endfor
% endif % endif
</p> </p>
% endfor % endfor
% endfor % endfor
</table> </section>
</div>
</section>
div.gradebook-wrapper {
@extend .table-wrapper;
section.gradebook-content {
@extend .content;
h1 {
@extend .top-header;
}
}
}
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
@import "textbook"; @import "textbook";
@import "info"; @import "info";
@import "profile"; @import "profile";
@import "gradebook";
@import "wiki/basic-html", "wiki/sidebar", "wiki/create", "wiki/wiki", "wiki/table"; @import "wiki/basic-html", "wiki/sidebar", "wiki/create", "wiki/wiki", "wiki/table";
@import "help"; @import "help";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment