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
8b76afb9
Commit
8b76afb9
authored
May 24, 2013
by
Frances Botsford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converted undo image in component settings list to FontAwesome
parent
1a8a7219
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
18 deletions
+17
-18
cms/static/client_templates/metadata_number_entry.html
+1
-1
cms/static/client_templates/metadata_option_entry.html
+1
-1
cms/static/client_templates/metadata_string_entry.html
+1
-1
cms/static/sass/views/_unit.scss
+14
-15
No files found.
cms/static/client_templates/metadata_number_entry.html
View file @
8b76afb9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<label
class=
"label setting-label"
for=
"<%= uniqueId %>"
><
%=
model
.
get
('
display_name
')
%
></label>
<label
class=
"label setting-label"
for=
"<%= uniqueId %>"
><
%=
model
.
get
('
display_name
')
%
></label>
<input
class=
"input setting-input setting-input-number"
type=
"number"
id=
"<%= uniqueId %>"
value=
'<%= model.get("value") %>'
/>
<input
class=
"input setting-input setting-input-number"
type=
"number"
id=
"<%= uniqueId %>"
value=
'<%= model.get("value") %>'
/>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<i
class=
"
ss-icon ss-symbolicons-block undo"
>
↩
</i><span
class=
"sr"
>
Clear Value
</span>
<i
class=
"
icon-undo"
>
</i><span
class=
"sr"
>
Clear Value
</span>
</button>
</button>
</div>
</div>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
cms/static/client_templates/metadata_option_entry.html
View file @
8b76afb9
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<
%
})
%
>
<
%
})
%
>
</select>
</select>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<i
class=
"
ss-icon ss-symbolicons-block undo"
>
↩
</i><span
class=
"sr"
>
Clear Value
</span>
<i
class=
"
icon-undo"
>
</i><span
class=
"sr"
>
Clear Value
</span>
</button>
</button>
</div>
</div>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
cms/static/client_templates/metadata_string_entry.html
View file @
8b76afb9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<label
class=
"label setting-label"
for=
"<%= uniqueId %>"
><
%=
model
.
get
('
display_name
')
%
></label>
<label
class=
"label setting-label"
for=
"<%= uniqueId %>"
><
%=
model
.
get
('
display_name
')
%
></label>
<input
class=
"input setting-input"
type=
"text"
id=
"<%= uniqueId %>"
value=
'<%= model.get("value") %>'
/>
<input
class=
"input setting-input"
type=
"text"
id=
"<%= uniqueId %>"
value=
'<%= model.get("value") %>'
/>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<button
class=
"action setting-clear inactive"
type=
"button"
name=
"setting-clear"
value=
"Clear"
data-tooltip=
"Clear"
>
<i
class=
"
ss-icon ss-symbolicons-block undo"
>
↩
</i><span
class=
"sr"
>
Clear Value
</span>
<i
class=
"
icon-undo"
>
</i><span
class=
"sr"
>
Clear Value
</span>
</button>
</button>
</div>
</div>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
cms/static/sass/views/_unit.scss
View file @
8b76afb9
...
@@ -80,7 +80,7 @@ body.course.unit {
...
@@ -80,7 +80,7 @@ body.course.unit {
letter-spacing
:
1px
;
letter-spacing
:
1px
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
}
}
// Component List Meta
// Component List Meta
// ====================
// ====================
// TODO: clean up organization of this page, to many levels/duplication
// TODO: clean up organization of this page, to many levels/duplication
...
@@ -185,7 +185,7 @@ body.course.unit {
...
@@ -185,7 +185,7 @@ body.course.unit {
&
.new-component-problem
{
&
.new-component-problem
{
padding-bottom
:
10px
;
padding-bottom
:
10px
;
.ss-icon
,
.editor-indicator
{
[
class
^=
"icon-"
]
,
.editor-indicator
{
display
:
inline-block
;
display
:
inline-block
;
}
}
...
@@ -245,7 +245,7 @@ body.course.unit {
...
@@ -245,7 +245,7 @@ body.course.unit {
}
}
}
}
a
{
a
{
display
:
block
;
display
:
block
;
padding
:
15px
25px
;
padding
:
15px
25px
;
font-size
:
15px
;
font-size
:
15px
;
...
@@ -299,7 +299,7 @@ body.course.unit {
...
@@ -299,7 +299,7 @@ body.course.unit {
.name
{
.name
{
float
:
left
;
float
:
left
;
.ss-icon
{
[
class
^=
"icon-"
]
{
@include
transition
(
opacity
.15s
);
@include
transition
(
opacity
.15s
);
display
:
inline-block
;
display
:
inline-block
;
top
:
1px
;
top
:
1px
;
...
@@ -320,14 +320,14 @@ body.course.unit {
...
@@ -320,14 +320,14 @@ body.course.unit {
opacity
:
0
.3
;
opacity
:
0
.3
;
}
}
.ss-icon
,
.editor-indicator
{
[
class
^=
"icon-"
]
,
.editor-indicator
{
display
:
none
;
display
:
none
;
}
}
&
:hover
{
&
:hover
{
color
:
#fff
;
color
:
#fff
;
.ss-icon
{
[
class
^=
"icon-"
]
{
opacity
:
1
.0
;
opacity
:
1
.0
;
}
}
...
@@ -457,7 +457,7 @@ body.course.unit {
...
@@ -457,7 +457,7 @@ body.course.unit {
margin-bottom
:
0px
;
margin-bottom
:
0px
;
}
}
// Module Actions, also used for Static Pages
// Module Actions, also used for Static Pages
.module-actions
{
.module-actions
{
@include
box-shadow
(
inset
0
1px
1px
$shadow
);
@include
box-shadow
(
inset
0
1px
1px
$shadow
);
padding
:
0px
0
10px
10px
;
padding
:
0px
0
10px
10px
;
...
@@ -553,7 +553,7 @@ body.course.unit {
...
@@ -553,7 +553,7 @@ body.course.unit {
}
}
//settings-list
//settings-list
.list-input.settings-list
{
.list-input.settings-list
{
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
list-style
:
none
;
list-style
:
none
;
...
@@ -574,7 +574,7 @@ body.course.unit {
...
@@ -574,7 +574,7 @@ body.course.unit {
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
}
}
//component-setting-entry
//component-setting-entry
.field.comp-setting-entry
{
.field.comp-setting-entry
{
background-color
:
$white
;
background-color
:
$white
;
padding
:
20px
;
padding
:
20px
;
...
@@ -612,7 +612,7 @@ body.course.unit {
...
@@ -612,7 +612,7 @@ body.course.unit {
.setting-input
{
.setting-input
{
color
:
$blue-l1
;
color
:
$blue-l1
;
}
}
//setting-clear
//setting-clear
.setting-clear
{
}
.setting-clear
{
}
}
}
...
@@ -675,7 +675,7 @@ body.course.unit {
...
@@ -675,7 +675,7 @@ body.course.unit {
width
:
38
.5%
;
width
:
38
.5%
;
@include
box-shadow
(
0
1px
2px
$shadow-l1
inset
);
@include
box-shadow
(
0
1px
2px
$shadow-l1
inset
);
//For webkit browsers which render number fields differently, make input wider.
//For webkit browsers which render number fields differently, make input wider.
-moz-column-width
:
{
-moz-column-width
:
{
width
:
32%
;
width
:
32%
;
}
}
...
@@ -738,7 +738,7 @@ body.course.unit {
...
@@ -738,7 +738,7 @@ body.course.unit {
}
}
}
}
// Editing Units from Courseware
// Editing Units from Courseware
// ====================
// ====================
body
.unit
{
body
.unit
{
...
@@ -763,7 +763,7 @@ body.unit {
...
@@ -763,7 +763,7 @@ body.unit {
}
}
}
}
// Unit Page Sidebar
// Unit Page Sidebar
// ====================
// ====================
.unit-settings
{
.unit-settings
{
...
@@ -983,4 +983,4 @@ body.unit {
...
@@ -983,4 +983,4 @@ body.unit {
//hides latex compiler button if settings mode is-active
//hides latex compiler button if settings mode is-active
div
.wrapper-comp-editor.is-inactive
+
div
.launch-latex-compiler
{
div
.wrapper-comp-editor.is-inactive
+
div
.launch-latex-compiler
{
display
:
none
;
display
:
none
;
}
}
\ No newline at end of file
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