aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-01-26 11:10:24 +0200
committerSyndamia <kamen@syndamia.com>2025-01-26 11:10:24 +0200
commit3a2176a1c6a1c367b4677a68a80df35578160c72 (patch)
tree1a8c769b9b6f0f7f7ed7a0cd8c3cb10b113f8999
parent595dc8300d81e1cfaae4686c5184fffc2d1f5324 (diff)
downloadnowayforward_human-3a2176a1c6a1c367b4677a68a80df35578160c72.tar
nowayforward_human-3a2176a1c6a1c367b4677a68a80df35578160c72.tar.gz
nowayforward_human-3a2176a1c6a1c367b4677a68a80df35578160c72.zip
chore(views): Minor fixes
-rw-r--r--views/profile/index.php2
-rw-r--r--views/test/index.php21
-rw-r--r--views/test1/index.php9
3 files changed, 2 insertions, 30 deletions
diff --git a/views/profile/index.php b/views/profile/index.php
index 54da307..80b0c4a 100644
--- a/views/profile/index.php
+++ b/views/profile/index.php
@@ -14,3 +14,5 @@
<?php else: ?>
<h2>User "<?= $_GET["user"] ?>" doesn't exist!</h2>
<?php endif; ?>
+
+<?php end_page(); ?>
diff --git a/views/test/index.php b/views/test/index.php
deleted file mode 100644
index bce8371..0000000
--- a/views/test/index.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
- $title = 'Test page';
- include '../meta.php';
-?>
-
-<form action="/test1/index.php" method="POST">
- <input type="text" name="Username" placeholder="Username">
- <input type="submit">
-</form>
-
-<?php foreach(Database\User::get_all() as $user):?>
- <section class="card">
- <section class="quickinfo">
- <?php print_r($user); ?>
- </section>
- <strong><?= $user->Username ?></strong>
- <em><?= $user->Role ?></em>
- </section>
-<?php endforeach;?>
-
-<?php end_page(); ?>
diff --git a/views/test1/index.php b/views/test1/index.php
deleted file mode 100644
index 6fb737c..0000000
--- a/views/test1/index.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
- $title = 'Added user';
- include '../meta.php';
- runController('test');
-?>
-
-<p>Something</p>
-
-<?php end_page(); ?>