From 0b2ef1a4f88ffd20097b1cd8223e2e5f8e68c545 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 23 Feb 2023 17:08:53 +0100 Subject: [PATCH] Reindent user/index.php and include search --- src/user/index.php | 119 ++++++++++++++++++++++++--------------------- 1 file changed, 63 insertions(+), 56 deletions(-) diff --git a/src/user/index.php b/src/user/index.php index 62fdad0..a137960 100644 --- a/src/user/index.php +++ b/src/user/index.php @@ -1,20 +1,18 @@ @@ -31,53 +29,62 @@ if (isset($_GET['username'])) { ?>
+
+

Search and edit users

+
-
-

Search and edit users

-
+
+

Edit user by exact username

+
+
+ +
+ +
+
-
-

Edit user by exact username

-
-
- -
- -
-
+
+ +
- - - - - - - - - - - Fetched " . pg_num_rows($result) . " users

"; - while ($row = pg_fetch_assoc($result)) { - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - } - ?> - +
UsernameNameEmailEdit
" . $row['username'] . "" . $row['name'] . "" . ($row['external_email'] ? $row['external_email'] : ($row['username'] . "@pvv.ntnu.no")) . "Edit
+ + + + + + + + + + Fetched " . pg_num_rows($result) . " users

"; + while ($row = pg_fetch_assoc($result)) { + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + } + ?> + +
UsernameNameEmailEdit
" . $row['username'] . "" . $row['name'] . "" . ($row['external_email'] ? $row['external_email'] : ($row['username'] . "@pvv.ntnu.no")) . "Edit
+
+ + +