From 2e1cf6b46de0bfe3c030de8fcf8f41d789d6f510 Mon Sep 17 00:00:00 2001 From: BatJan Date: Wed, 17 Jul 2019 21:51:28 +0200 Subject: [PATCH 1/2] Add a button element so the different health checks can be navigated by keyboard - Also fixing the styling accordingly --- .../src/less/dashboards/healthcheck.less | 9 ++- .../views/dashboard/settings/healthcheck.html | 58 +++++++++---------- 2 files changed, 35 insertions(+), 32 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/dashboards/healthcheck.less b/src/Umbraco.Web.UI.Client/src/less/dashboards/healthcheck.less index 449cc4066b06..b3af47640643 100644 --- a/src/Umbraco.Web.UI.Client/src/less/dashboards/healthcheck.less +++ b/src/Umbraco.Web.UI.Client/src/less/dashboards/healthcheck.less @@ -22,15 +22,18 @@ .umb-healthcheck-group { display: flex; flex-wrap: wrap; - flex-direction: column; - background: @white; + flex-direction: column; + align-items: center; + background: @white; + border: 0; border-radius: 3px; padding: 20px; box-sizing: border-box; text-align: center; box-shadow: 0 1px 1px 0 rgba(0,0,0,0.16); height: 100%; - box-sizing: border-box; + box-sizing: border-box; + width: 100%; } .umb-healthcheck-group:hover { diff --git a/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html b/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html index 1f81bfc6e2fc..07199ff0edcc 100644 --- a/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html +++ b/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html @@ -1,19 +1,19 @@
- +

Health Check

- +

The health checker evaluates various areas of your site for best practice settings, configuration, potential problems, etc. You can easily fix problems by pressing a button. You can add your own health checks, have a look at the documentation for more information about custom health checks.

@@ -23,40 +23,40 @@

Health Check

-
-
+
+
+
@@ -79,7 +79,7 @@

Health Check

{{ vm.selectedGroup.name }}
From 9226f47da14ddeaf9e5239b2ed381bd9e95f274b Mon Sep 17 00:00:00 2001 From: BatJan Date: Wed, 17 Jul 2019 22:15:43 +0200 Subject: [PATCH 2/2] Hide the icons from screen readers --- .../src/views/dashboard/settings/healthcheck.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html b/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html index 07199ff0edcc..67d8562f7e82 100644 --- a/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html +++ b/src/Umbraco.Web.UI.Client/src/views/dashboard/settings/healthcheck.html @@ -35,22 +35,22 @@

Health Check

- + {{ group.totalSuccess }}
- + {{ group.totalWarning }}
- + {{ group.totalError }}
- + {{ group.totalInfo }}