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
e71acc06
Commit
e71acc06
authored
Oct 01, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed firefox box-sizing glitch on custom tabs
parent
67fb486f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
3 deletions
+58
-3
cms/static/coffee/descriptor/0-1a7d93af49ac6a00461985d16a088dc4.coffee
+8
-0
cms/static/coffee/descriptor/0-4455953e190a120e56a33841e5c04a9b.coffee
+9
-0
cms/static/coffee/descriptor/0-4e077862eb80c378146ab6db01f4c8ef.coffee
+7
-0
cms/static/coffee/descriptor/0-57c9b4ba234f1f9a74160cd4d61b0869.coffee
+8
-0
cms/static/coffee/descriptor/0-8dca6e20f2d4d3fe0e530a877687cb2a.coffee
+7
-0
cms/static/coffee/descriptor/0-e867cd6663c4f1d1bc1c20034c69218c.coffee
+7
-0
cms/static/coffee/descriptor/0-fdfb7ccca8edfb703fc7a5f124a67f24.coffee
+9
-0
cms/static/sass/descriptor/_module-styles.scss
+0
-0
lms/static/sass/course/_tabs.scss
+3
-3
No files found.
cms/static/coffee/descriptor/0-1a7d93af49ac6a00461985d16a088dc4.coffee
0 → 100644
View file @
e71acc06
class
@
XMLEditingDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
"xml"
})
save
:
->
data
:
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-4455953e190a120e56a33841e5c04a9b.coffee
0 → 100644
View file @
e71acc06
class
@
SequenceDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
$tabs
=
$
(
@
element
).
find
(
"#sequence-list"
)
@
$tabs
.
sortable
(
update
:
(
event
,
ui
)
=>
@
update
()
)
save
:
->
children
:
$
(
'#sequence-list li a'
,
@
element
).
map
((
idx
,
el
)
->
$
(
el
).
data
(
'id'
)).
toArray
()
cms/static/coffee/descriptor/0-4e077862eb80c378146ab6db01f4c8ef.coffee
0 → 100644
View file @
e71acc06
class
@
JSONEditingDescriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
{
name
:
"javascript"
,
json
:
true
}
})
save
:
->
JSON
.
parse
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-57c9b4ba234f1f9a74160cd4d61b0869.coffee
0 → 100644
View file @
e71acc06
class
@
JSONEditingDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
{
name
:
"javascript"
,
json
:
true
}
})
save
:
->
data
:
JSON
.
parse
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-8dca6e20f2d4d3fe0e530a877687cb2a.coffee
0 → 100644
View file @
e71acc06
class
@
HTMLEditingDescriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
"text/html"
})
save
:
->
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-e867cd6663c4f1d1bc1c20034c69218c.coffee
0 → 100644
View file @
e71acc06
class
@
XMLEditingDescriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
"xml"
})
save
:
->
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-fdfb7ccca8edfb703fc7a5f124a67f24.coffee
0 → 100644
View file @
e71acc06
class
@
VerticalDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
$items
=
$
(
@
element
).
find
(
".vert-mod"
)
@
$items
.
sortable
(
update
:
(
event
,
ui
)
=>
@
update
()
)
save
:
->
children
:
$
(
'.vert-mod li'
,
@
element
).
map
((
idx
,
el
)
->
$
(
el
).
data
(
'id'
)).
toArray
()
cms/static/sass/descriptor/_module-styles.scss
0 → 100644
View file @
e71acc06
lms/static/sass/course/_tabs.scss
View file @
e71acc06
div
.static_tab_wrapper
{
padding
:
2em
2
.5em
;
@include
box-sizing
(
border-box
);
h1
{
@extend
.top-header
...
...
@@ -9,5 +9,4 @@ div.static_tab_wrapper {
section
{
margin
:
0px
0px
20px
;
}
}
}
\ 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