public inbox for [email protected]
 help / color / mirror / Atom feed
From: Memet Zx <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Memet Zx <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>,
	Memet Zx <[email protected]>
Subject: [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem
Date: Wed, 19 Apr 2023 05:37:25 +0700	[thread overview]
Message-ID: <[email protected]> (raw)

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


             reply	other threads:[~2023-04-18 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 22:37 Memet Zx [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox