From 0d5540ca092063aefc58f2da88bc6626591e66b4 Mon Sep 17 00:00:00 2001 From: Patrick O'Carroll Date: Thu, 28 Sep 2017 09:41:33 +0200 Subject: [PATCH] cleaned up html/sass and added final touches --- .../features/alerting/partials/alert_tab.html | 12 +++--- .../app/plugins/panel/alertlist/module.html | 40 +++++++++---------- public/sass/pages/_alerting.scss | 10 ++++- 3 files changed, 35 insertions(+), 27 deletions(-) diff --git a/public/app/features/alerting/partials/alert_tab.html b/public/app/features/alerting/partials/alert_tab.html index 5c053a360e2..a17e58ea83d 100644 --- a/public/app/features/alerting/partials/alert_tab.html +++ b/public/app/features/alerting/partials/alert_tab.html @@ -151,14 +151,14 @@
-
-

{{ah.stateModel.text}}

-

{{ah.info}}

+
+ {{ah.stateModel.text}} + {{ah.info}}
- diff --git a/public/app/plugins/panel/alertlist/module.html b/public/app/plugins/panel/alertlist/module.html index 0ae24dac7fe..42749bbbecc 100644 --- a/public/app/plugins/panel/alertlist/module.html +++ b/public/app/plugins/panel/alertlist/module.html @@ -2,24 +2,22 @@
  1. -
    -
    -
    - -
    - +
    +
    +
    - {{alert.stateModel.text}} - for {{alert.newStateDateAgo}}
    -
    - {{alert.executionError}} -
    -
    +
    +

    + + {{alert.name}} + +

    +

    + {{alert.stateModel.text}} + for {{alert.newStateDateAgo}} +

    +
  2. @@ -36,13 +34,15 @@

    {{al.title}}

    -

    {{al.stateModel.text}}

    -

    {{al.info}}

    +
    + {{al.stateModel.text}} + {{al.info}} +
    diff --git a/public/sass/pages/_alerting.scss b/public/sass/pages/_alerting.scss index 3f97ef1a73c..6db3470f3ea 100644 --- a/public/sass/pages/_alerting.scss +++ b/public/sass/pages/_alerting.scss @@ -73,6 +73,15 @@ font-size: $font-size-sm; margin: 0; line-height: 1.5rem; + color: $text-color-weak; +} + +.alert-list-info { + color: $text-color; +} + +.alert-list-info-left { + padding-left: 2rem; } .alert-list-footer { @@ -80,7 +89,6 @@ justify-content: space-between; flex-direction: column; align-items: flex-end; - color: $text-color-weak; } .panel-has-alert {