Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
4d137446
Commit
4d137446
authored
12 years ago
by
Brian Talbot
Committed by
Carlos Andrés Rocha
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
added new visual status to course listings on edx.org
parent
89527281
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/static/sass/shared/_course_object.scss
+25
-0
25 additions, 0 deletions
lms/static/sass/shared/_course_object.scss
lms/templates/course.html
+1
-0
1 addition, 0 deletions
lms/templates/course.html
with
26 additions
and
0 deletions
lms/static/sass/shared/_course_object.scss
+
25
−
0
View file @
4d137446
...
...
@@ -24,6 +24,31 @@
width
:
100%
;
@include
transition
(
all
,
0
.15s
,
linear
);
.status
{
background
:
$blue
;
color
:
white
;
font-size
:
10px
;
left
:
10px
;
padding
:
2px
10px
;
@include
border-radius
(
2px
);
position
:
absolute
;
text-transform
:
uppercase
;
top
:
-6px
;
z-index
:
100
;
}
.status
:after
{
border-bottom
:
6px
solid
shade
(
$blue
,
50%
);
border-right
:
6px
solid
transparent
;
content
:
""
;
display
:
block
;
height
:
0
;
position
:
absolute
;
right
:
-6px
;
top
:
0
;
width
:
0
;
}
a
:hover
{
text-decoration
:
none
;
}
...
...
This diff is collapsed.
Click to expand it.
lms/templates/course.html
+
1
−
0
View file @
4d137446
...
...
@@ -5,6 +5,7 @@
%
>
<
%
page
args=
"course"
/>
<article
id=
"${course.id}"
class=
"course"
>
<span
class=
"status"
>
New
</span>
<a
href=
"${reverse('about_course', args=[course.id])}"
>
<div
class=
"inner-wrapper"
>
<header
class=
"course-preview"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment