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=1682680061; bh=2QRGDRrLodTl9xYjCwzcyfeF63jbeT28834ZkIoWZvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mvr27wFRzzExfZUV6/0pbEuyOkdsUYwirclehrIZIwM4nb2pfRXRn1+aAZ3PPCIqa JKs/6Oe9xUYKMb5YscyGLOj7zl6odsRwY1SBmWGNWZHwrik6kUsWDCHzcS82bHO3Bo gxqVqLUMEZcm6GguKemavzmqEY526TemRJlxWx+WcKvPrSnI2hLzHlbogJMKQRtIQ8 GV1a2bCNQgBWb0zqo7BtUZGrmAD2rDuMzZJaOgnJ7F5opP5I68vPMeyY7g4IHz3OTy +hzNc1oqRkuSzaCbSrfMv4e9teikmhtOdsjsOUf+9QAX5Pz8wuPgyPmqm52UAaF2wL eJLu2C0WT5f6A== Received: from localhost.localdomain (unknown [182.1.37.28]) by gnuweeb.org (Postfix) with ESMTPSA id 76AFC245A27; Fri, 28 Apr 2023 18:07:39 +0700 (WIB) From: Memet Zx To: Ammar Faizi Cc: Memet Zx , GNU/Weeb Mailing List , Memet Zx Subject: [PATCH gwspamd v3 2/2] gwspamd: web: Add new layout profile with demo chart Date: Fri, 28 Apr 2023 18:07:27 +0700 Message-Id: <20230428110727.331117-3-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428110727.331117-1-zxce3@gnuweeb.org> References: <20230428110727.331117-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