From 3c10367880fd3f52cd823251352f99dfa842f3fa 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 | 268 +++++++++++++++++- 2 files changed, 265 insertions(+), 5 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..392ecce451 100644 --- a/www/includes/easyparliament/templates/html/alert/index.php +++ b/www/includes/easyparliament/templates/html/alert/index.php @@ -253,10 +253,6 @@
- - - -

- +
+
+ + +
+
+ +
+
+

+ + +

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

Representative alerts

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

﹒ XXX

+ +

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

Alert when Janne Doe is mentioned

+ +
+ + + + +
+

+ +

+

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

Alert when Keir Starmer is mentioned

+ +
+ +
+ + Create new MP alert + + +
+
+