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
5239dcc9
Commit
5239dcc9
authored
Nov 28, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gradable sections - adding in assets and markup - wip
parent
fbc0dfae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
cms/static/sass/_cms_mixins.scss
+14
-0
cms/static/sass/_courseware.scss
+15
-0
cms/static/sass/_variables.scss
+1
-0
cms/templates/overview.html
+4
-0
No files found.
cms/static/sass/_cms_mixins.scss
View file @
5239dcc9
...
...
@@ -47,6 +47,20 @@
}
}
@mixin
green-button
{
@include
button
;
border
:
1px
solid
#0d7011
;
border-radius
:
3px
;
@include
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-color
:
$green
;
color
:
#fff
;
&
:hover
{
background-color
:
#129416
;
color
:
#fff
;
}
}
@mixin
white-button
{
@include
button
;
border
:
1px
solid
$darkGrey
;
...
...
cms/static/sass/_courseware.scss
View file @
5239dcc9
...
...
@@ -68,6 +68,21 @@ input.courseware-unit-search-input {
}
}
.section-gradable-status
{
position
:
absolute
;
top
:
25px
;
right
:
330px
;
input
[
type
=
checkbox
]
{
position
:
absolute
;
top
:
-9999px
;
left
:
-9999px
;
}
label
{
cursor
:
pointer
;
}
}
.datepair
.date
,
.datepair
.time
{
padding-left
:
0
;
...
...
cms/static/sass/_variables.scss
View file @
5239dcc9
...
...
@@ -15,6 +15,7 @@ $error-red: rgb(253, 87, 87);
$blue
:
#5597dd
;
$orange
:
#edbd3c
;
$green
:
#108614
;
$lightGrey
:
#edf1f5
;
$mediumGrey
:
#ced2db
;
$darkGrey
:
#8891a1
;
...
...
cms/templates/overview.html
View file @
5239dcc9
...
...
@@ -129,6 +129,10 @@
<a
href=
"#"
class=
"edit-button"
data-date=
"${start_date_str}"
data-time=
"${start_time_str}"
data-id=
"${section.location}"
>
Edit
</a>
%endif
</div>
<div
class=
"section-gradable-status"
>
<input
type=
"checkbox"
id=
"section-gradable-status-true"
>
<label
for=
"section-gradable-status-true"
>
Gradable
</label>
</div>
</div>
<div
class=
"item-actions"
>
<a
href=
"#"
data-tooltip=
"Delete this section"
class=
"delete-button delete-section-button"
><span
class=
"delete-icon"
></span></a>
...
...
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