From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1682710515; bh=0vn+yax9UPi4LP7CFDd6Rdg47NwPa+G5rJeffnrn/vE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hfs1hZ9Ew+wEQ1Ig6FhZXDlECak2AtkG0d+fl2qB4NDzJbgjsiwv7g9fkgh/aFS8t ZnHcTBKUrruvLgETxKYA5uL27xcV5y1ibMigc80N9JviJUaX44kbIU41uPcgfz3fwg 1fU9opZJu1fdyv4Ug9vLIAYovHRC1wlCvhkjl3useyyw7Lk7BMV2tftzwDErwcP+bm M9vVE7ROweTMhKXZZ1a7CE02n8YuJjvSdozSSVqZAPbIply0xaKgRkJ2GMOlIIvrxL Ykuj/twEtEu+6gQa0azgftI/nJlJnM8+hEqAW6K4kFGXjAOJ7YeyGMFQjstuwm8Frp IZi7TM0ORbY7A== Received: from localhost.localdomain (unknown [114.125.26.160]) by gnuweeb.org (Postfix) with ESMTPSA id 64E3E245A26; Sat, 29 Apr 2023 02:35:12 +0700 (WIB) From: Memet Zx To: Ammar Faizi Cc: Memet Zx , GNU/Weeb Mailing List , Memet Zx Subject: [PATCH gwspamd 3/3] gwspamd: web: Refactor Password Update Page Date: Sat, 29 Apr 2023 02:34:58 +0700 Message-Id: <20230428193458.366546-4-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428193458.366546-1-zxce3@gnuweeb.org> References: <20230428193458.366546-1-zxce3@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This commit refactors the UI of the password change form to improve readability and adds a success modal instead of an alert when the password is successfully updated. It also replaces the error alert with a toast message to provide a better user experience. Signed-off-by: Memet Zx --- web/views/pages/settings/password.php | 52 +++++++++++++-------------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/web/views/pages/settings/password.php b/web/views/pages/settings/password.php index 95dda10..ebe9f6e 100644 --- a/web/views/pages/settings/password.php +++ b/web/views/pages/settings/password.php @@ -1,28 +1,21 @@ -
-
-
- - - - - - - - - - - - - - - - -
-
Change Password
-
Current Password
New Password
Confirm New Password
- -
-
+

Update Password

+
+
+
+
+ + +
+
+ + +
+
+ + +
+ +