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
96ca09f4
Commit
96ca09f4
authored
Apr 27, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Membership page label additions and fixes
parent
07fb1645
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
29 deletions
+26
-29
common/test/acceptance/pages/lms/instructor_dashboard.py
+1
-1
lms/static/sass/course/instructor/_instructor_2.scss
+25
-28
lms/templates/instructor/instructor_dashboard_2/membership.html
+0
-0
No files found.
common/test/acceptance/pages/lms/instructor_dashboard.py
View file @
96ca09f4
...
...
@@ -755,7 +755,7 @@ class MembershipPageAutoEnrollSection(PageObject):
"""
Fill in the form with the provided email and submit it.
"""
email_selector
=
"{}
>p>
textarea"
.
format
(
self
.
batch_enrollment_selector
)
email_selector
=
"{} textarea"
.
format
(
self
.
batch_enrollment_selector
)
enrollment_button
=
"{} .enrollment-button[data-action='enroll']"
.
format
(
self
.
batch_enrollment_selector
)
# Fill the email addresses after the email selector is visible.
...
...
lms/static/sass/course/instructor/_instructor_2.scss
View file @
96ca09f4
...
...
@@ -435,6 +435,12 @@
&
:last-child
{
margin-bottom
:
0
;
}
legend
{
// use the same styles as H3s
font-size
:
1
.2em
;
margin-bottom
:
15px
;
}
}
.batch-enrollment
,
.batch-beta-testers
{
...
...
@@ -478,19 +484,15 @@
margin
:
(
$baseline
/
2
)
0
;
position
:
relative
;
label
{
border-bottom
:
1px
dotted
$base-font-color
;
}
.hint
{
@extend
%t-copy-sub2
;
display
:
none
;
display
:
block
;
position
:
absolute
;
top
:
15px
;
@include
left
(
$baseline
*
10
)
;
top
:
(
$baseline
/
2
)
;
left
:
-9999em
;
padding
:
(
$baseline
/
2
);
width
:
50%
;
background-color
:
$light-gray
;
background-color
:
$light-gray
3
;
box-shadow
:
2px
2px
3px
$shadow
;
.hint-caret
{
...
...
@@ -498,30 +500,24 @@
position
:
absolute
;
top
:
0
;
@include
left
(
-15px
);
@include
border-right
(
8px
solid
$light-gray
);
@include
border-right
(
8px
solid
$light-gray
3
);
@include
border-left
(
8px
solid
transparent
);
border-top
:
8px
solid
$light-gray
;
border-top
:
8px
solid
$light-gray
3
;
border-bottom
:
8px
solid
transparent
;
}
}
}
label
[
for
=
"auto-enroll"
]
:hover
+
.auto-enroll-hint
{
display
:
block
;
}
label
[
for
=
"auto-enroll-beta"
]
:hover
+
.auto-enroll-beta-hint
{
width
:
30%
;
display
:
block
;
}
label
[
for
=
"email-students"
]
:hover
+
.email-students-hint
{
display
:
block
;
}
label
[
for
=
"email-students-beta"
]
:hover
+
.email-students-beta-hint
{
width
:
30%
;
display
:
block
;
/* ***
* Ideally we want to handle functionality with JS.
* This functionality should eventually be moved into CS/JS, and out of here. */
.has-hint
:hover
>
.hint
{
@include
left
(
$baseline
*
10
);
}
.has-hint
input
:focus
~
.hint
{
@include
left
(
$baseline
*
10
);
}
/* *** */
}
.enroll-actions
{
...
...
@@ -595,6 +591,7 @@
border-bottom
:
1px
solid
$light-gray
;
}
th
,
td
{
@extend
%t-copy-sub1
;
vertical-align
:
middle
;
...
...
lms/templates/instructor/instructor_dashboard_2/membership.html
View file @
96ca09f4
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