From 38860de7d23922b07b8eab2688448cd583ddcbcd Mon Sep 17 00:00:00 2001 From: blankie Date: Sun, 14 Jun 2026 08:12:10 +0000 Subject: [PATCH] customize: move save button above html textarea, add unsaved changes indicator --- handlers/customize.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/handlers/customize.py b/handlers/customize.py index 6e158ed..098f56b 100644 --- a/handlers/customize.py +++ b/handlers/customize.py @@ -127,12 +127,22 @@ def handle_style_form(msg="", gateway_host="", scheme="http"): f'manage semantic index

' f"" f"{forum_section}" + f'' + f'' + f'' + f"" f"

custom html

" f"

Edit the full page template. Use {esc('{{content}}')} " f"where page content should appear.

" - f'

' - f'' - f"" + f'
' + f'Saved with the form above.

' f"

bookmarklet

" f"

Drag this link to your bookmarks bar. Click it on any page to index it instantly.

" f'

r.text()).then(t=>alert(t)).catch(()=>alert(\'tinyweb not running\')))">+ save to {esc(name)}

'