From 4bd83d6937b685be81c6549a37fa529d4baff00d Mon Sep 17 00:00:00 2001 From: padreug Date: Wed, 22 Oct 2025 13:10:33 +0200 Subject: [PATCH] Enhances expense and pay dialogs Improves the UI of the "Add Expense" and "Pay Balance" dialogs by using `q-input` and `q-select` components with `filled` and `dense` properties. This provides a cleaner and more modern look and feel. Ensures dialog content is only rendered when the dialog is visible. --- templates/castle/index.html | 166 +++++++++++++++++++----------------- 1 file changed, 90 insertions(+), 76 deletions(-) diff --git a/templates/castle/index.html b/templates/castle/index.html index 4b7e57e..ed3cbf7 100644 --- a/templates/castle/index.html +++ b/templates/castle/index.html @@ -46,7 +46,7 @@
- + Loading balance...
@@ -114,7 +114,7 @@
- + Loading accounts...
@@ -124,85 +124,99 @@ - - -
Add Expense
- - - - - - -
- - Submit Expense - - Cancel -
-
-
+ + +
Add Expense
+ + + + + + + + + + + +
+ + Submit Expense + + Cancel +
+
- - -
Pay Balance
-

Amount owed: {% raw %}{{ formatSats(Math.abs(balance.balance)) }}{% endraw %} sats

- - -
- - Generate Invoice - - Cancel -
-
-
+ + +
Pay Balance
+ +
+ Amount owed: {% raw %}{{ formatSats(Math.abs(balance.balance)) }}{% endraw %} sats +
+ + + +
+ + Generate Invoice + + Cancel +
+