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
f4bdd738
Commit
f4bdd738
authored
Sep 05, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Verification: adds in verified/enrollment status into dashboard course listings
parent
f686990b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
13 deletions
+71
-13
lms/static/sass/multicourse/_dashboard.scss
+71
-13
lms/templates/dashboard.html
+0
-0
No files found.
lms/static/sass/multicourse/_dashboard.scss
View file @
f4bdd738
// lms - views - user/student dashboard
// ====================
.dashboard
{
@include
clearfix
;
padding
:
60px
0
0
0
;
...
...
@@ -224,6 +227,7 @@
}
}
// course listings
.my-courses
{
float
:
left
;
margin
:
0px
;
...
...
@@ -268,21 +272,30 @@
}
}
.my-course
{
clear
:
both
;
@include
clearfix
;
margin-right
:
flex-gutter
();
margin-bottom
:
50px
;
padding-bottom
:
50px
;
border-bottom
:
1px
solid
$border-color-1
;
position
:
relative
;
width
:
flex-grid
(
12
);
z-index
:
20
;
@include
transition
(
all
0
.15s
linear
0s
);
// UI: course list
.listing-courses
{
@extend
.ui-no-list
;
.course-item
{
margin-bottom
:
(
$baseline
*
2
.5
);
border-bottom
:
4px
solid
$border-color-l4
;
padding-bottom
:
(
$baseline
*
2
.5
);
&
:last-child
{
margin-bottom
:
none
;
&
:last-child
{
margin-bottom
:
0
;
border-bottom
:
none
;
padding-bottom
:
0
;
}
}
}
// UI: individual course item
.course
{
@include
box-sizing
(
box
);
@include
transition
(
all
0
.15s
linear
0s
);
@include
clearfix
();
@extend
.ui-depth2
;
position
:
relative
;
.cover
{
@include
box-sizing
(
border-box
);
...
...
@@ -402,6 +415,51 @@
}
}
}
// STATE: course mode - verified
&
.verified
{
@extend
.ui-depth2
;
margin-top
:
(
$baseline
*
2
.5
);
border-top
:
1px
solid
$verified-color-lvl3
;
padding-top
:
(
$baseline
*
1
.25
);
background
:
$white
;
// FIXME: bad, but needed selector!
.info
>
hgroup
.date-block
{
top
:
(
$baseline
*
1
.25
);
}
// course enrollment status message
.sts-enrollment
{
display
:
inline-block
;
position
:
absolute
;
top
:
-28px
;
right
:
0
;
text-align
:
center
;
.label
{
@extend
.text-sr
;
}
.deco-graphic
{
@extend
.ui-depth3
;
width
:
40px
;
position
:
absolute
;
left
:
-30px
;
top
:
-10px
;
}
.sts-enrollment-value
{
@extend
.ui-depth1
;
@extend
.copy-badge
;
border-radius
:
0
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
)
(
$baseline
/
4
)
$baseline
;
color
:
$white
;
background
:
$verified-color-lvl3
;
}
}
}
}
.message-status
{
...
...
lms/templates/dashboard.html
View file @
f4bdd738
This diff is collapsed.
Click to expand it.
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