[feat](trx-frontend-http): align scheduler entry form with bookmark modal

Replace the inline always-visible add-row with a modal overlay
(same fixed + blurred-backdrop pattern as the bookmark add/edit
form). The "+ Add Entry" button opens the modal; each row now has
Edit and Remove buttons. Edit pre-fills the modal and updates the
entry in-place on save. CSS reuses the existing bookmark modal
selectors rather than duplicating rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-03-17 01:40:37 +01:00
parent fc423d9958
commit 8da4c49d1d
3 changed files with 159 additions and 90 deletions
@@ -3426,7 +3426,8 @@ button:focus-visible, input:focus-visible, select:focus-visible {
white-space: nowrap;
}
#bm-form-wrap {
#bm-form-wrap,
#sch-entry-form-wrap {
position: fixed;
inset: 0;
z-index: 120;
@@ -3492,7 +3493,8 @@ button:focus-visible, input:focus-visible, select:focus-visible {
}
.bm-save-btn,
#bm-form-cancel {
#bm-form-cancel,
#sch-entry-form-cancel {
background: var(--accent-green);
color: #fff;
border: none;
@@ -3503,11 +3505,13 @@ button:focus-visible, input:focus-visible, select:focus-visible {
}
.bm-save-btn:hover,
#bm-form-cancel:hover {
#bm-form-cancel:hover,
#sch-entry-form-cancel:hover {
opacity: 0.88;
}
#bm-form-cancel {
#bm-form-cancel,
#sch-entry-form-cancel {
background: var(--btn-bg);
color: var(--text);
border: 1px solid var(--btn-border);