aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/skeleton.php
diff options
context:
space:
mode:
authorwinter2025-01-01 19:52:18 +0000
committerwinter2025-01-01 19:52:18 +0000
commitfea439b57f9ba225e2d3169d7615c0bd2aecabe4 (patch)
tree477357cb50c029fde839aea272ba30b20a66129f /templates/skeleton.php
parent02a6acd4cfddaecd9075b706fdbdc0396d76d8c3 (diff)
ultra basic post form
doesn't do much but i just wanted to get this working at a bare minimum
Diffstat (limited to 'templates/skeleton.php')
-rw-r--r--templates/skeleton.php20
1 files changed, 16 insertions, 4 deletions
diff --git a/templates/skeleton.php b/templates/skeleton.php
index 8ac1549..072f812 100644
--- a/templates/skeleton.php
+++ b/templates/skeleton.php
@@ -35,10 +35,22 @@ $user = Digitigrade\Model\UserAccount::findByCurrentSession();
</nav>
</header>
<main>
- <?php if (!isset($renderTitleHeading) || $renderTitleHeading): ?>
- <h1><?= $pageTitle ?></h1>
- <?php endif; ?>
- <?php slot(); ?>
+ <section id="leftPane">
+ <?php
+ if ($user != null) {
+ call_template('write_note_form');
+ }
+ ?>
+ </section>
+ <section id="centrePane">
+ <?php if (!isset($renderTitleHeading) || $renderTitleHeading): ?>
+ <h1><?= $pageTitle ?></h1>
+ <?php endif; ?>
+ <?php slot(); ?>
+ </section>
+ <section id="rightPane">
+
+ </section>
</main>
</body>