removed extra section heading in settings DOM, placed settings after editor
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
<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>
|
||||
<ul class="list-input settings-list">
|
||||
<% _.each(metadata_entries, function(entry) { %>
|
||||
<li class="field comp-setting-entry">
|
||||
<div class='metadata_entry' />
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
@@ -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()
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<%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>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<%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>
|
||||
</div>
|
||||
<%include file="metadata-edit.html" />
|
||||
@@ -1,6 +1,6 @@
|
||||
<%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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user