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
04bb7335
Commit
04bb7335
authored
May 10, 2013
by
marco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed extra section heading in settings DOM, placed settings after editor
parent
004018c1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
17 deletions
+16
-17
cms/static/client_templates/metadata_editor.html
+8
-10
cms/static/coffee/src/views/module_edit.coffee
+1
-0
cms/templates/widgets/html-edit.html
+1
-1
cms/templates/widgets/metadata-edit.html
+1
-1
cms/templates/widgets/problem-edit.html
+3
-3
cms/templates/widgets/raw-edit.html
+1
-1
cms/templates/widgets/sequence-edit.html
+1
-1
No files found.
cms/static/client_templates/metadata_editor.html
View file @
04bb7335
<div
class=
"wrapper-comp-settings"
id=
"settings-tab"
>
<ul
class=
"list-input settings-list"
>
<
%
_
.
each
(
metadata_entries
,
function
(
entry
)
{
%
>
<li
class=
"field comp-setting-entry"
>
<div
class=
'metadata_entry'
/>
</li>
<
%
})
%
>
</ul>
</div>
\ No newline at end of file
<ul
class=
"list-input settings-list"
>
<
%
_
.
each
(
metadata_entries
,
function
(
entry
)
{
%
>
<li
class=
"field comp-setting-entry"
>
<div
class=
'metadata_entry'
/>
</li>
<
%
})
%
>
</ul>
\ No newline at end of file
cms/static/coffee/src/views/module_edit.coffee
View file @
04bb7335
...
...
@@ -8,6 +8,7 @@ class CMS.Views.ModuleEdit extends Backbone.View
"click .component-actions .edit-button"
:
'clickEditButton'
"click .component-actions .delete-button"
:
'onDelete'
initialize
:
->
@
onDelete
=
@
options
.
onDelete
@
render
()
...
...
cms/templates/widgets/html-edit.html
View file @
04bb7335
<
%
include
file=
"metadata-edit.html"
/>
<div
class=
"wrapper-comp-editor"
id=
"editor-tab"
>
<section
class=
"html-editor editor"
>
<ul
class=
"editor-tabs"
>
...
...
@@ -12,3 +11,4 @@
</div>
</section>
</div>
<
%
include
file=
"metadata-edit.html"
/>
cms/templates/widgets/metadata-edit.html
View file @
04bb7335
...
...
@@ -8,7 +8,7 @@
% if 'source_code' in json_metadata_data:
<
%
del
json_metadata_data
['
source_code
']
%
>
% endif
<
section
class=
"metadata_edit
"
data-metadata=
'${json.dumps(json_metadata_data)}'
/>
<
div
class=
"wrapper-comp-settings metadata_edit"
id=
"settings-tab
"
data-metadata=
'${json.dumps(json_metadata_data)}'
/>
% if showHighLevelSource:
<a
href=
"#hls-modal-${hlskey}"
style=
"color:yellow;"
id=
"hls-trig-${hlskey}"
>
Edit High Level Source
</a>
...
...
cms/templates/widgets/problem-edit.html
View file @
04bb7335
<
%
include
file=
"metadata-edit.html"
/>
<div
class=
"wrapper-comp-editor"
id=
"editor-tab"
>
<section
class=
"problem-editor editor"
>
<div
class=
"row"
>
...
...
@@ -106,4 +105,5 @@
<
/div
>
<
/article
>
</script>
</div>
\ No newline at end of file
</div>
<
%
include
file=
"metadata-edit.html"
/>
\ No newline at end of file
cms/templates/widgets/raw-edit.html
View file @
04bb7335
<
%
include
file=
"metadata-edit.html"
/>
<div
class=
"wrapper-comp-editor"
id=
"editor-tab"
>
<section
class=
"raw-edit"
>
<textarea
name=
""
class=
"edit-box"
rows=
"8"
cols=
"40"
>
${data | h}
</textarea>
</section>
</div>
<
%
include
file=
"metadata-edit.html"
/>
cms/templates/widgets/sequence-edit.html
View file @
04bb7335
...
...
@@ -29,7 +29,6 @@
</ul>
</section>
<
%
include
file=
"metadata-edit.html"
/>
<div
class=
"content"
>
<section
class=
"modules"
>
<ol>
...
...
@@ -50,5 +49,6 @@
</ol>
</section>
</div>
<
%
include
file=
"metadata-edit.html"
/>
</section>
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