From c2f3f2b36122fdb666ba418bba23f8816aba3bf8 Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 16 Feb 2026 14:53:30 +0100 Subject: [PATCH] CloudFlare DNS: inline edit (no modify button), Type dropdown fix, deploy --- .../dns/addDeleteDNSRecordsCloudFlare.html | 54 ++++++++++++++---- public/static/dns/dns.js | 57 +++++++++++++++++++ static/dns/dns.js | 57 +++++++++++++++++++ 3 files changed, 156 insertions(+), 12 deletions(-) diff --git a/dns/templates/dns/addDeleteDNSRecordsCloudFlare.html b/dns/templates/dns/addDeleteDNSRecordsCloudFlare.html index d288dd79a..775243dbd 100644 --- a/dns/templates/dns/addDeleteDNSRecordsCloudFlare.html +++ b/dns/templates/dns/addDeleteDNSRecordsCloudFlare.html @@ -548,6 +548,23 @@ outline: 2px solid rgba(91, 95, 207, 0.3) !important; outline-offset: 2px !important; } + + .editable-cell { vertical-align: middle; } + .cell-click { cursor: pointer; display: block; min-height: 1.5em; } + .cell-click:hover { background: var(--bg-hover, #f0f1ff); border-radius: 4px; } + .cell-value { max-width: 280px; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + .value-cell { max-width: 300px; } + .inline-input, .inline-select, .inline-number { + width: 100%; + max-width: 100%; + padding: 0.25rem 0.5rem; + border: 1px solid var(--border-primary, #e2e8f0); + border-radius: 6px; + font-size: 0.875rem; + background: var(--bg-primary, #fff); + } + .inline-select { min-width: 90px; cursor: pointer; } + .inline-number { width: 70px; max-width: 80px; }
@@ -903,15 +920,32 @@ - - - - {{ record.type }} - + + + + + + + + + + + + + + + + - - - -