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
99f4f732
Commit
99f4f732
authored
Mar 15, 2012
by
Reda Lemeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the layout of the graph gradebook
--HG-- branch : bridger-grades
parent
d8b59614
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
9 deletions
+38
-9
gradebook.html
+12
-9
sass/_gradebook.scss
+26
-0
No files found.
gradebook.html
View file @
99f4f732
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.stack.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.stack.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.symbol.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/flot/jquery.flot.symbol.js"
></script>
% for s in students:
% for s in students:
<script>
<script>
$
{
profile_graphs
.
body
(
s
[
'grade_info'
][
'grade_summary'
],
"grade-detail-graph-"
+
str
(
s
[
'id'
]))}
$
{
profile_graphs
.
body
(
s
[
'grade_info'
][
'grade_summary'
],
"grade-detail-graph-"
+
str
(
s
[
'id'
]))}
...
@@ -15,12 +14,17 @@
...
@@ -15,12 +14,17 @@
<
%
include
file=
"navigation.html"
args=
"active_page=''"
/>
<
%
include
file=
"navigation.html"
args=
"active_page=''"
/>
<section
class=
"main-content"
>
<section
class=
"main-content"
>
<div
class=
"gradebook-wrapper"
>
<div
class=
"gradebook-wrapper"
>
<section
class=
"gradebook-content"
>
<section
class=
"gradebook-content"
>
<h1>
Gradebook
</h1>
<ol>
% for s in students:
% for s in students:
<h2><a
href=
/profile/${s['id']}
>
${s['username']}
</a></h2>
<li>
<div
id=
"grade-detail-graph-${s['id']}"
style=
"width:1000px;height:300px;"
></div>
<h2><a
href=
/profile/${s['id']}
>
${s['username']}
</a></h2>
<div
id=
"grade-detail-graph-${s['id']}"
style=
"width:1000px;height:300px;"
></div>
</li>
% endfor
% endfor
</section>
</ol>
</div>
</section>
</section>
</div>
\ No newline at end of file
</section>
sass/_gradebook.scss
View file @
99f4f732
...
@@ -7,5 +7,31 @@ div.gradebook-wrapper {
...
@@ -7,5 +7,31 @@ div.gradebook-wrapper {
h1
{
h1
{
@extend
.top-header
;
@extend
.top-header
;
}
}
>
ol
{
list-style
:
none
;
margin-top
:
lh
();
>
li
{
@extend
.clearfix
;
border-bottom
:
1px
solid
#e3e3e3
;
display
:
table
;
padding
:
lh
()
0
;
width
:
100%
;
&
:last-child
{
border-bottom
:
0px
;
}
h2
{
border-right
:
1px
dashed
#ddd
;
@include
box-sizing
(
border-box
);
display
:
table-cell
;
margin
:
0
;
padding
:
0
;
width
:
flex-grid
(
2
,
9
);
vertical-align
:
top
;
}
}
}
}
}
}
}
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