From 0100ed4750457eb3185ed3c8e7ffa9a8ffe766cb Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Wed, 9 Oct 2024 16:18:25 +0100 Subject: [PATCH] update alerts page to use new look for displaying alerts Move things from the sidebar to the main section and update the look to split out alerts into keyword and representative alerts. Generally improve the look of them. --- www/docs/style/sass/app.scss | 2 + .../templates/html/alert/index.php | 293 ++++++++++++++++-- 2 files changed, 270 insertions(+), 25 deletions(-) diff --git a/www/docs/style/sass/app.scss b/www/docs/style/sass/app.scss index 5fe8d4a056..511351cd8c 100644 --- a/www/docs/style/sass/app.scss +++ b/www/docs/style/sass/app.scss @@ -77,6 +77,7 @@ .fi-magnifying-glass:before, .fi-heart:before, .fi-plus:before, +.fi-play:before, .fi-pause:before, .fi-trash:before, .fi-page-edit:before, @@ -104,6 +105,7 @@ .fi-magnifying-glass:before {content: "\f16c"} .fi-heart:before { content: "\f159"; } .fi-plus:before { content: "\f199"; } +.fi-play:before { content: "\f198"; } .fi-pause:before { content: "\f191"; } .fi-trash:before { content: "\f204"; } .fi-page-edit:before { content: "\f184"; } diff --git a/www/includes/easyparliament/templates/html/alert/index.php b/www/includes/easyparliament/templates/html/alert/index.php index 2dedb6159a..9b8eccf10b 100644 --- a/www/includes/easyparliament/templates/html/alert/index.php +++ b/www/includes/easyparliament/templates/html/alert/index.php @@ -250,39 +250,281 @@
-
- - - - - - - -

-
    -
  • - full_name()) ?>. -
    - - - -
    -
  • -
- - - +
+

join or sign in, you can suspend, resume and delete your email alerts from your profile page.'), '/user/?pg=join', '/user/login/?ret=%2Falert%2F') ?>

+ +
+
+ + +
+
+ +
+
+

+ + +

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

Representative alerts

+ +
    +
  • + full_name()) ?>. +
    + + + +
    +
  • +
+ + +
+

﹒ XXX

+ +

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

Alert when Janne Doe is mentioned

+ +
+ + + + +
+

+ +

+

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

Alert when is mentioned

+
+ + + +
+
+ + +
+ + + + +
+
-
-
-

+