GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem
@ 2023-04-18 22:37 Memet Zx
  2023-04-18 22:37 ` [PATCH gwspamd 2/2] gwspamd: web: Fix closing modal Memet Zx
  2023-04-18 22:45 ` [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem Ammar Faizi
  0 siblings, 2 replies; 3+ messages in thread
From: Memet Zx @ 2023-04-18 22:37 UTC (permalink / raw)
  To: Ammar Faizi; +Cc: Memet Zx, GNU/Weeb Mailing List, Memet Zx

in the previous view the table is to wide

Signed-off-by: Memet Zx <[email protected]>
---
 web/views/pages/profile.php | 62 +++++++++++++++++++------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

diff --git a/web/views/pages/profile.php b/web/views/pages/profile.php
index ababdf6..a67ce79 100644
--- a/web/views/pages/profile.php
+++ b/web/views/pages/profile.php
@@ -3,35 +3,37 @@
 $opt["title"] = $u["full_name"];
 
 ?>
-<div class="mw-full text-center">
-	<img id="user-photo" class="img-fluid rounded-circle" src="<?= e($u["photo_path"]); ?>" alt="<?= e($u["full_name"]); ?> Images">
-	<div class="content">
-		<h1 class="font-weight-bolder"><?= $u["full_name"]; ?></h1>
-		<a href="settings.php?section=profile" class="btn btn-action m-5">Edit Profile</a>
+<div class="mw-full  text-center">
+	<img id="user-photo" class="img-fluid mt-5 rounded-circle" src="<?= e($u["photo_path"]); ?>" alt="<?= e($u["full_name"]); ?> Images">
 
-		<table class="table table-striped">
-			<tbody>
-				<tr>
-					<th>User ID</th>
-					<td><?= e($u["id"]); ?></td>
-				</tr>
-				<tr>
-					<th>First Name</th>
-					<td><?= e($u["first_name"]); ?></td>
-				</tr>
-				<tr>
-					<th>Last Name</th>
-					<td><?= e($u["last_name"]); ?></td>
-				</tr>
-				<tr>
-					<th>User Name</th>
-					<td><?= e($u["username"]); ?></td>
-				</tr>
-				<tr>
-					<th>Email</th>
-					<td><?= e($u["email"]); ?></td>
-				</tr>
-			</tbody>
-		</table>
-	</div>
+	<h1 class="font-weight-bolder"><?= $u["full_name"]; ?></h1>
+	<a href="settings.php?section=profile" class="btn btn-action m-5">Edit Profile</a>
 </div>
+
+<div class="mw-full d-flex justify-content-center">
+	<table class="table w-400 table-striped">
+		<tbody>
+			<tr>
+				<th>User ID</th>
+				<td><?= e($u["id"]); ?></td>
+			</tr>
+			<tr>
+				<th>First Name</th>
+				<td><?= e($u["first_name"]); ?></td>
+			</tr>
+			<tr>
+				<th>Last Name</th>
+				<td><?= e($u["last_name"]); ?></td>
+			</tr>
+			<tr>
+				<th>User Name</th>
+				<td><?= e($u["username"]); ?></td>
+			</tr>
+			<tr>
+				<th>Email</th>
+				<td><?= e($u["email"]); ?></td>
+			</tr>
+		</tbody>
+	</table>
+</div>
+</div>
\ No newline at end of file

base-commit: 957bf40743f17bfbe2a4b2ac37ff92c94a6444d6
-- 
Memet Zx


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-18 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 22:37 [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem Memet Zx
2023-04-18 22:37 ` [PATCH gwspamd 2/2] gwspamd: web: Fix closing modal Memet Zx
2023-04-18 22:45 ` [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem Ammar Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox