aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/mobilepane_left.php
diff options
context:
space:
mode:
authorwinter2025-01-19 23:12:10 +0000
committerwinter2025-01-19 23:12:10 +0000
commitf5ad15cc68804351389192f149b0f48866f1d9eb (patch)
tree9af66b2416b8f860ea489699a14228aa568a1eb4 /templates/mobilepane_left.php
parent8c6dad8c48d5d730b102d9de0079fee9752b0d35 (diff)
make left and right panes accessible on small screens
Diffstat (limited to 'templates/mobilepane_left.php')
-rw-r--r--templates/mobilepane_left.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/mobilepane_left.php b/templates/mobilepane_left.php
new file mode 100644
index 0000000..77925cc
--- /dev/null
+++ b/templates/mobilepane_left.php
@@ -0,0 +1,32 @@
+<?php
+use Digitigrade\GlobalSettings;
+
+$settings = GlobalSettings::getInstance();
+?>
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title><?= __('writeNote.label') ?> &mdash; <?= $settings->get('instance.name') ?></title>
+ <?php call_template('head_tags'); ?>
+</head>
+
+<body hx-boost="true">
+ <header>
+ <nav>
+ <a id="leftPaneActivator" class="inlineIcon material-symbols-outlined" _="on click go back">close</a>
+ <span></span>
+ <span></span>
+ <span></span>
+ </nav>
+ </header>
+ <main class="mobilePane">
+ <?php
+ call_template('write_note_form');
+ call_template('left_side_navigation');
+ ?>
+ <p class="versionInfo"><?= sprintf(__('version'), get_version()) ?></p>
+ </main>
+</body>
+
+</html> \ No newline at end of file