Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3654c033
Commit
3654c033
authored
Mar 12, 2012
by
Reda Lemeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyled the gradebook
--HG-- branch : rl-gradebook
parent
7812b4a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
13 deletions
+32
-13
gradebook.html
+20
-13
sass/_gradebook.scss
+11
-0
sass/application.scss
+1
-0
No files found.
gradebook.html
View file @
3654c033
<table>
% for s in students:
<h1><a
href=
/profile/${s['id']}
>
${s['username']}
</a></h1>
% for c in s['grade_info']['grade_summary']:
<h2>
${c['category']}
</h2>
<p>
% if 'subscores' in c:
<
%
inherit
file=
"main.html"
/>
<
%
include
file=
"navigation.html"
args=
"active_page=''"
/>
<section
class=
"main-content"
>
<div
class=
"gradebook-wrapper"
>
<section
class=
"gradebook-content"
>
<h1>
Gradebook
</h1>
% 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']:
<br>
${ss['summary']}
<br>
${ss['summary']}
% endfor
% endif
</p>
% endfor
% endfor
</table>
% endif
</p>
% endfor
% endfor
</section>
</div>
</section>
sass/_gradebook.scss
0 → 100644
View file @
3654c033
div
.gradebook-wrapper
{
@extend
.table-wrapper
;
section
.gradebook-content
{
@extend
.content
;
h1
{
@extend
.top-header
;
}
}
}
sass/application.scss
View file @
3654c033
...
...
@@ -11,6 +11,7 @@
@import
"textbook"
;
@import
"info"
;
@import
"profile"
;
@import
"gradebook"
;
@import
"wiki/basic-html"
,
"wiki/sidebar"
,
"wiki/create"
,
"wiki/wiki"
,
"wiki/table"
;
@import
"help"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment