diff options
| author | historia <[not public]> | 2026-07-10 19:14:07 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-10 19:14:07 -0400 |
| commit | c5ca80b168ca247179db322d8e3ff14d6c9e16ad (patch) | |
| tree | fe14737492b841dc752eb58531ab33551e55fe27 /internal/admin/static/editor.js | |
| parent | b31958c6304a25279197c1a08b924b6b44798a99 (diff) | |
| download | thehouseoficarus-c5ca80b168ca247179db322d8e3ff14d6c9e16ad.tar.gz | |
feat(admin): style conditions green and actions orange, standardize remove button wording
Diffstat (limited to 'internal/admin/static/editor.js')
| -rw-r--r-- | internal/admin/static/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/static/editor.js b/internal/admin/static/editor.js index 1bd6872..d5fb5c7 100644 --- a/internal/admin/static/editor.js +++ b/internal/admin/static/editor.js @@ -140,7 +140,7 @@ function renderEditor(id, data) { html += '<div class="btn-row">'; html += '<button class="btn btn-primary" onclick="saveItem(\'' + esc(id) + '\')">Save</button>'; - html += '<button class="btn btn-danger" onclick="deleteItem(\'' + esc(id) + '\')">Delete</button>'; + html += '<button class="btn btn-danger" onclick="deleteItem(\'' + esc(id) + '\')">Remove</button>'; html += '</div>'; $('#editorMain').innerHTML = html; @@ -359,7 +359,7 @@ function showItemContextMenu(e, id) { addBtn('Rename', '', function() { startInlineItemRename(id); }); addBtn('Duplicate', '', function() { duplicateFromMenu(id); }); - addBtn('Delete', 'danger', function() { deleteItem(id); }); + addBtn('Remove', 'danger', function() { deleteItem(id); }); document.body.appendChild(overlay); document.body.appendChild(menu); |
