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
05a23e35
Commit
05a23e35
authored
May 23, 2012
by
Kyle Fiedler
Committed by
Bridger Maxwell
May 31, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New styles for grade bar
parent
c214d0dc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
4 deletions
+41
-4
static/css/application.css
+0
-0
templates/profile.html
+5
-4
templates/sass/_profile.scss
+36
-0
No files found.
static/css/application.css
View file @
05a23e35
This diff is collapsed.
Click to expand it.
templates/profile.html
View file @
05a23e35
...
...
@@ -155,17 +155,18 @@ $(function() {
<h1>
Course Progress
</h1>
</header>
<div
id=
"grade-detail-graph"
></div>
<div
id=
"grade"
>
%if grade_sheet['grade']:
Final Grade
<strong>
${grade_sheet['grade']}
</strong>
<p>
Final Grade:
<strong>
${grade_sheet['grade']}
</strong></p>
<a
rel=
"leanModal"
class=
"cert_request"
href=
"#cert_request"
>
Request Certificate
</a>
%else:
No letter grade has been earned for this course
<p>
No letter grade has been earned for this course
</p>
%endif
</div>
<div
id=
"grade-detail-graph"
></div>
<ol
class=
"chapters"
>
%for chapter in grade_sheet['courseware_summary']:
%if not chapter['chapter'] == "hidden":
...
...
templates/sass/_profile.scss
View file @
05a23e35
...
...
@@ -153,6 +153,42 @@ div.profile-wrapper {
}
}
div
#grade
{
@include
clearfix
;
@extend
.topbar
;
padding-left
:
lh
();
padding-right
:
lh
();
p
{
color
:
darken
(
$cream
,
80%
);
float
:
left
;
margin-bottom
:
0
;
font-size
:
14px
;
font-weight
:
bold
;
text-transform
:
uppercase
;
strong
{
font-size
:
18px
;
position
:
relative
;
top
:
1px
;
}
}
a
{
background-color
:
darken
(
$cream
,
10%
);
border
:
1px
solid
darken
(
$cream
,
30%
);
@include
border-radius
(
3px
);
display
:
block
;
float
:
right
;
font-weight
:
bold
;
line-height
:
1em
;
margin-top
:
9px
;
@include
box-shadow
(
inset
0
1px
0
lighten
(
$cream
,
5%
));
padding
:
8px
;
text-shadow
:
0
1px
0
lighten
(
$cream
,
5%
);
}
}
div
#grade-detail-graph
{
width
:
100%
;
min-height
:
300px
;
...
...
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