diff options
| author | winter | 2025-03-20 22:17:38 +0000 |
|---|---|---|
| committer | winter | 2025-03-20 22:17:38 +0000 |
| commit | b5c4e99cb1a2e5bb5cf6d38192d677843b1acd80 (patch) | |
| tree | 3aee1e8b4961abe6e8c6b84913b04c9396b11b4e /templates/mobilepane_right.php | |
| parent | c10a1ea700a94e4eff8b10985cd402943ad07859 (diff) | |
fix various htmx navigation / page reloads
also i added a UserAccount::setPassword because i felt like it
Diffstat (limited to 'templates/mobilepane_right.php')
| -rw-r--r-- | templates/mobilepane_right.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/mobilepane_right.php b/templates/mobilepane_right.php index 02749ac..f1cf46a 100644 --- a/templates/mobilepane_right.php +++ b/templates/mobilepane_right.php @@ -13,7 +13,7 @@ $settings = GlobalSettings::getInstance(); </head> <body> - <header> + <header id="header" hx-swap-oob="true"> <nav> <span> <img id="loadingIndicator" class="htmx-indicator" src="/static/tail-spin.svg"></span> @@ -22,8 +22,11 @@ $settings = GlobalSettings::getInstance(); <a id="rightPaneActivator" class="inlineIcon material-symbols close" _="on click go back"></a> </nav> </header> - <main class="mobilePane"> - <?php call_template('notifications_panel', ['user' => UserAccount::requireByCurrentSession()]); ?> + <main class="mobilePane" id="main" hx-boost="true" hx-indicator="#loadingIndicator" hx-vals='{"fl": 1}' + hx-swap-oob="true"> + <section id="centrePane"> + <?php call_template('notifications_panel', ['user' => UserAccount::requireByCurrentSession()]); ?> + </section> </main> </body> |
