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
222b05a1
Commit
222b05a1
authored
Dec 02, 2014
by
Waheed Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added IMG tag instead of css background property for important visual indicator.
TNL-892
parent
2b0f959b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
lms/static/sass/course/courseware/_sidebar.scss
+8
-4
lms/templates/courseware/accordion.html
+4
-0
No files found.
lms/static/sass/course/courseware/_sidebar.scss
View file @
222b05a1
...
@@ -205,13 +205,17 @@
...
@@ -205,13 +205,17 @@
&
.graded
{
&
.graded
{
>
a
{
>
a
{
background-image
:
url('../images/graded.png')
;
>
img
{
background-repeat
:
no-repeat
;
margin
:
auto
;
background-position
:
97%
center
;
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
7px
;
}
}
}
&
.active
>
a
{
&
.active
>
a
{
@include
background-image
(
url('../images/graded.png')
,
linear-gradient
(
top
,
#e6e6e6
,
#d6d6d6
)
);
background
:
linear-gradient
(
to
bottom
,
#e6e6e6
,
#d6d6d6
);
}
}
}
}
}
}
...
...
lms/templates/courseware/accordion.html
View file @
222b05a1
...
@@ -34,6 +34,10 @@
...
@@ -34,6 +34,10 @@
due_date =
''
if
len
(
formatted_string
)==
0
else
_
('
due
{
date
}').
format
(
date=
formatted_string)
due_date =
''
if
len
(
formatted_string
)==
0
else
_
('
due
{
date
}').
format
(
date=
formatted_string)
%
>
%
>
<p
class=
"subtitle"
>
${section['format']} ${due_date}
</p>
<p
class=
"subtitle"
>
${section['format']} ${due_date}
</p>
% if 'graded' in section and section['graded']:
<img
src=
"/static/images/graded.png"
alt=
"Graded Section"
>
% endif
</a>
</a>
</li>
</li>
% endfor
% endfor
...
...
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