Commit 04bb7335 by marco

removed extra section heading in settings DOM, placed settings after editor

parent 004018c1
<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
......@@ -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()
......
<%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" />
......@@ -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>
......
<%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
<%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" />
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment