diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
commit | 5a2ba9c2e7605bb788bc406184547d22c6436867 (patch) | |
tree | cbd988d534e8a8593a31d70571222443f80da0b3 /src/web/_views/apps/home/main.php | |
parent | fix about modal (diff) | |
download | xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.gz xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.bz2 xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.zip |
v2.1.0, refactor w/ crimson
Diffstat (limited to 'src/web/_views/apps/home/main.php')
-rw-r--r-- | src/web/_views/apps/home/main.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/web/_views/apps/home/main.php b/src/web/_views/apps/home/main.php deleted file mode 100644 index 864034a..0000000 --- a/src/web/_views/apps/home/main.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php /* Copyright (c) 2024 Freya Murphy */ ?> -<?php /* vi: syntax=php */ ?> -<main id="main"> -<?php if ($self): ?> - <div id="new-post" class="card"> - <div class="row grow"> - <?=pfp($self)?> - <a - id="action-new-post" - class="btn btn-alt grow ml" - autocomplete="off" - aria-label="<?=ucfirst(lang('action_new_post_tip'))?>" - > - <?=ucfirst(lang('action_new_post_text', sub: [$self['first_name']]))?> - </a> - </div> - <script> - $('#action-new-post').on('click', function() { - $.get( "/modal/new_post", function (data) { - $(document.body).append(data); - }); - }) - </script> - </div> -<?php endif; ?> - <?php $this->post_controller->index(); ?> -</main> |