aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/dropeditor.js
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-04 22:44:42 -0400
committerhistoria <[not public]>2026-07-04 22:44:42 -0400
commitad22ea3526a146ea8ce305c8375c35836465cc30 (patch)
tree479cec511e596bb09d3f3792dcf10a2201e9b7f8 /internal/admin/static/dropeditor.js
parent7b009e904524f30cbff6346730e8d8fe4b046a6b (diff)
downloadthehouseoficarus-ad22ea3526a146ea8ce305c8375c35836465cc30.tar.gz
feat: admin gui move objects between directories and better toolbar wrapping
Diffstat (limited to 'internal/admin/static/dropeditor.js')
-rw-r--r--internal/admin/static/dropeditor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/admin/static/dropeditor.js b/internal/admin/static/dropeditor.js
index 1569a04..dddcddb 100644
--- a/internal/admin/static/dropeditor.js
+++ b/internal/admin/static/dropeditor.js
@@ -66,6 +66,7 @@ function renderDropEditor(id, data) {
html += renderCard(sec, data);
});
html += '</div>';
+ html += renderMoveBar();
html += '</div>';
html += '<div class="tab-content" id="tabYaml" style="display:none">';
@@ -93,8 +94,8 @@ function renderCard(sec, data) {
var h = '<div class="obj-card' + fullClass + '" data-card="' + sec.id + '">';
h += '<div class="obj-card-header" onclick="toggleCard(\'' + sec.id + '\')">';
h += '<span class="obj-card-arrow">' + (collapsed ? '&#9654;' : '&#9660;') + '</span>';
- h += '<button class="btn btn-sm obj-card-expand" onclick="event.stopPropagation();toggleCardWidth(\'' + sec.id + '\')" title="' + (isFull ? 'Half width' : 'Full width') + '">' + (isFull ? '\u229F' : '\u229E') + '</button>';
h += '<span class="obj-card-label">' + sec.label + '</span>';
+ h += '<button class="btn btn-sm obj-card-expand" onclick="event.stopPropagation();toggleCardWidth(\'' + sec.id + '\')" title="' + (isFull ? 'Half width' : 'Full width') + '">' + (isFull ? '\u2190' : '\u2192') + '</button>';
h += '</div>';
if (!collapsed) {
h += '<div class="obj-card-body">';