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=1682677778; bh=2QRGDRrLodTl9xYjCwzcyfeF63jbeT28834ZkIoWZvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=I8M7+yyCMAMfGOPeq878wyM16tj/1ie8YunwMmg9nhn2fH+rKQhj3pUPcwn7XF7ek 7ONvFO78NP970KxeSfQI+kX4YhmRF+cKPL3C5+tJ3XMOW/Ke0SbTVYCSpX48KUeTCI T5MZTi/THJ98373GRA0i6YERvyvrnlz1RvoRPHgUqJNx5AgEys+gIUFkUx+RFojMwZ qzlqZYona2n8BZ6X3ClZ//Z20ksAhK6UVswnIkuvDZ8Z1tx5P2g8IeQQC5mX8Hrwiu eyflDx+HjO7s0KtINeMEMAajij+337defog8MPFk5WJP+L74ObvEUCkZzBjeCkP62W pvntMVoqp2A6Q== Received: from localhost.localdomain (unknown [182.1.40.57]) by gnuweeb.org (Postfix) with ESMTPSA id 46C33245A2D; Fri, 28 Apr 2023 17:29:34 +0700 (WIB) From: Memet Zx To: Ammar Faizi Cc: Memet Zx , GNU/Weeb Mailing List , Memet Zx Subject: [PATCH gwspamd v2 1/2] gwspamd: web: Add new layout profile with demo chart Date: Fri, 28 Apr 2023 17:29:08 +0700 Message-Id: <20230428102910.327368-2-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428102910.327368-1-zxce3@gnuweeb.org> References: <20230428102910.327368-1-zxce3@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This commit adds a new layout profile with a demo chart to display the difference between spam and non-spam messages. We added a script tag for a CDN to enable the chart. This improves the user experience. Signed-off-by: Memet Zx --- v2: - Delete script tag for CDN and change it localy - Refactoring The Javascript code - Make it more responsive --- web/views/pages/profile.php | 123 +++++++++++++++++++++++++++--------- 1 file changed, 94 insertions(+), 29 deletions(-) diff --git a/web/views/pages/profile.php b/web/views/pages/profile.php index a67ce79..04dcadf 100644 --- a/web/views/pages/profile.php +++ b/web/views/pages/profile.php @@ -3,37 +3,102 @@ $opt["title"] = $u["full_name"]; ?> -
+
" alt=" Images"> -

- Edit Profile +

+ + + + + +

-
- - - - - - - - - - - - - - - - - - - - - - - -
User ID
First Name
Last Name
User Name
Email
+
+
+
+

+ Info +

+ + + + + + + + + + + + + + + + + + + + + + + +
User ID
First Name
Last Name
User Name
Email
+ Edit Profile +
+
+
+
+

+ Stats +

+
+ +
+
+
+
+
+
+
+
-
\ No newline at end of file + + -- Memet Zx