diff options
| author | winter | 2025-01-19 23:12:10 +0000 |
|---|---|---|
| committer | winter | 2025-01-19 23:12:10 +0000 |
| commit | f5ad15cc68804351389192f149b0f48866f1d9eb (patch) | |
| tree | 9af66b2416b8f860ea489699a14228aa568a1eb4 /templates/mobilepane_right.php | |
| parent | 8c6dad8c48d5d730b102d9de0079fee9752b0d35 (diff) | |
make left and right panes accessible on small screens
Diffstat (limited to 'templates/mobilepane_right.php')
| -rw-r--r-- | templates/mobilepane_right.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/mobilepane_right.php b/templates/mobilepane_right.php new file mode 100644 index 0000000..6372d83 --- /dev/null +++ b/templates/mobilepane_right.php @@ -0,0 +1,29 @@ +<?php +use Digitigrade\GlobalSettings; +use Digitigrade\Model\UserAccount; + +$settings = GlobalSettings::getInstance(); +?> +<!DOCTYPE html> +<html lang="en"> + +<head> + <title><?= __('writeNote.label') ?> — <?= $settings->get('instance.name') ?></title> + <?php call_template('head_tags'); ?> +</head> + +<body hx-boost="true"> + <header> + <nav> + <span></span> + <span></span> + <span></span> + <a id="rightPaneActivator" class="inlineIcon material-symbols-outlined" _="on click go back">close</a> + </nav> + </header> + <main class="mobilePane"> + <?php call_template('notifications_panel', ['user' => UserAccount::requireByCurrentSession()]); ?> + </main> +</body> + +</html>
\ No newline at end of file |
