diff options
Diffstat (limited to 'internal/admin/static/dropeditor.js')
| -rw-r--r-- | internal/admin/static/dropeditor.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/admin/static/dropeditor.js b/internal/admin/static/dropeditor.js index dddcddb..cbd51c7 100644 --- a/internal/admin/static/dropeditor.js +++ b/internal/admin/static/dropeditor.js @@ -66,7 +66,7 @@ function renderDropEditor(id, data) { html += renderCard(sec, data); }); html += '</div>'; - html += renderMoveBar(); + html += '<div class="add-section-bar">' + renderMoveBar() + '</div>'; html += '</div>'; html += '<div class="tab-content" id="tabYaml" style="display:none">'; @@ -76,6 +76,7 @@ function renderDropEditor(id, data) { html += '<div class="btn-row">'; html += '<button class="btn btn-primary" onclick="saveDrop()">Save</button>'; html += '<button class="btn btn-danger" onclick="deleteDrop()">Delete</button>'; + html += '<button class="btn btn-sm" style="margin-left:auto" onclick="createNewDir()">New Directory</button>'; html += '</div>'; $('#editorMain').innerHTML = html; |
