aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/mobilepane_right.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mobilepane_right.php')
-rw-r--r--templates/mobilepane_right.php9
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>