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
d603d4cb
Commit
d603d4cb
authored
Nov 02, 2012
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some extra files, undid changes to html module
parent
f0f84f21
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2 additions
and
141 deletions
+2
-141
cms/static/coffee/descriptor/0-4455953e190a120e56a33841e5c04a9b.coffee
+0
-9
cms/static/coffee/descriptor/0-792b1e29b66e460f0798bdd940c30ad8.coffee
+0
-10
cms/static/coffee/descriptor/0-79a64f2010d8b4cb8d0f0d6912c70c12.coffee
+0
-10
cms/static/coffee/descriptor/0-c0f10bbfa80be09f66bef86df2e1152a.coffee
+0
-11
cms/static/coffee/descriptor/0-fdfb7ccca8edfb703fc7a5f124a67f24.coffee
+0
-9
cms/static/sass/descriptor/_0-3d2f9902e9ecf2dac554cd9b9e661a89.scss
+0
-6
cms/static/sass/descriptor/_module-styles.scss
+0
-2
common/lib/xmodule/xmodule/html_module.py
+2
-0
common/lib/xmodule/xmodule/js/src/selfassessment/display.js
+0
-20
lms/static/admin/css/ie.css
+0
-64
No files found.
cms/static/coffee/descriptor/0-4455953e190a120e56a33841e5c04a9b.coffee
deleted
100644 → 0
View file @
f0f84f21
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-792b1e29b66e460f0798bdd940c30ad8.coffee
deleted
100644 → 0
View file @
f0f84f21
class
@
JSONEditingDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
{
name
:
"javascript"
,
json
:
true
}
lineNumbers
:
true
lineWrapping
:
true
})
save
:
->
data
:
JSON
.
parse
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-79a64f2010d8b4cb8d0f0d6912c70c12.coffee
deleted
100644 → 0
View file @
f0f84f21
class
@
XMLEditingDescriptor
extends
XModule
.
Descriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
"xml"
lineNumbers
:
true
lineWrapping
:
true
})
save
:
->
data
:
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-c0f10bbfa80be09f66bef86df2e1152a.coffee
deleted
100644 → 0
View file @
f0f84f21
class
@
HTMLEditingDescriptor
constructor
:
(
@
element
)
->
@
edit_box
=
CodeMirror
.
fromTextArea
(
$
(
".edit-box"
,
@
element
)[
0
],
{
mode
:
"text/html"
lineNumbers
:
true
lineWrapping
:
true
})
save
:
->
data
:
@
edit_box
.
getValue
()
cms/static/coffee/descriptor/0-fdfb7ccca8edfb703fc7a5f124a67f24.coffee
deleted
100644 → 0
View file @
f0f84f21
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/_0-3d2f9902e9ecf2dac554cd9b9e661a89.scss
deleted
100644 → 0
View file @
f0f84f21
.CodeMirror
{
background
:
#fff
;
font-size
:
13px
;
color
:
#3c3c3c
;
}
\ No newline at end of file
cms/static/sass/descriptor/_module-styles.scss
deleted
100644 → 0
View file @
f0f84f21
.xmodule_edit.xmodule_DiscussionDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_CapaDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_ABTestDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_RawDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_ErrorDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_VideoDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
.xmodule_edit.xmodule_CustomTagDescriptor
{
@import
"0-3d2f9902e9ecf2dac554cd9b9e661a89.scss"
;
}
\ No newline at end of file
common/lib/xmodule/xmodule/html_module.py
View file @
d603d4cb
...
...
@@ -38,6 +38,8 @@ class HtmlModule(XModule):
instance_state
,
shared_state
,
**
kwargs
)
self
.
html
=
self
.
definition
[
'data'
]
class
HtmlDescriptor
(
XmlDescriptor
,
EditingDescriptor
):
"""
Module for putting raw html in a course
...
...
common/lib/xmodule/xmodule/js/src/selfassessment/display.js
deleted
100644 → 0
View file @
f0f84f21
show
:
function
()
{
Logger
.
log
(
'sa_show'
,
{
problem
:
_this
.
id
});
return
$
.
postWithPrefix
(
""
+
_this
.
url
+
"/sa_show"
,
function
(
response
)
{
var
answers
;
answers
=
response
.
answers
;
return
_this
.
el
.
addClass
(
'showed'
);
});
}
save
:
function
()
{
Logger
.
log
(
'sa_save'
,
_this
.
answers
);
return
$
.
postWithPrefix
(
""
+
_this
.
url
+
"/sa_save"
,
_this
.
answers
,
function
(
response
)
{
if
(
response
.
success
)
{
return
_this
.
$
(
'p.rubric'
).
replace
(
response
.
rubric
);
}
});
}
lms/static/admin/css/ie.css
deleted
100644 → 0
View file @
f0f84f21
/* IE 6 & 7 */
/* Proper fixed width for dashboard in IE6 */
.dashboard
#content
{
*
width
:
768px
;
}
.dashboard
#content-main
{
*
width
:
535px
;
}
/* IE 6 ONLY */
/* Keep header from flowing off the page */
#container
{
_position
:
static
;
}
/* Put the right sidebars back on the page */
.colMS
#content-related
{
_margin-right
:
0
;
_margin-left
:
10px
;
_position
:
static
;
}
/* Put the left sidebars back on the page */
.colSM
#content-related
{
_margin-right
:
10px
;
_margin-left
:
-115px
;
_position
:
static
;
}
.form-row
{
_height
:
1%
;
}
/* Fix right margin for changelist filters in IE6 */
#changelist-filter
ul
{
_margin-right
:
-10px
;
}
/* IE ignores min-height, but treats height as if it were min-height */
.change-list
.filtered
{
_height
:
400px
;
}
/* IE doesn't know alpha transparency in PNGs */
.inline-deletelink
{
background
:
transparent
url(../img/inline-delete-8bit.png)
no-repeat
;
}
/* IE7 doesn't support inline-block */
.change-list
ul
.toplinks
li
{
zoom
:
1
;
*
display
:
inline
;
}
\ 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