Browse Source

UI: Text change and clarity Node Health > Health Checks (#5115)

Text change Node Health > Health Checks
Also adds an info icon and tooltip to Health Checks column header
pull/5236/head
John Cowen 6 years ago committed by GitHub
parent
commit
66c139ceae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 33
      ui-v2/app/styles/components/table.scss
  2. 2
      ui-v2/app/templates/dc/services/index.hbs

33
ui-v2/app/styles/components/table.scss

@ -36,3 +36,36 @@ td dt.critical,
td dt.critical + dd {
color: $ui-color-failure;
}
/* Header Tooltips/Icon*/
th {
overflow: visible;
}
th span {
@extend %tooltip;
@extend %with-info;
margin-left: 12px;
top: 3px;
width: 23px;
height: 15px;
}
th span:after {
left: -8px;
}
th span em::after {
@extend %tooltip-tail;
@extend %blink-in-fade-out;
top: auto !important;
bottom: -13px;
}
th span em {
@extend %tooltip-bubble;
@extend %blink-in-fade-out;
width: 250px;
font-style: normal;
white-space: normal !important;
}
th span:hover em::after,
th span:hover em {
@extend %blink-in-fade-out-active;
}

2
ui-v2/app/templates/dc/services/index.hbs

@ -23,7 +23,7 @@
}}
{{#block-slot 'header'}}
<th style={{remainingWidth}}>Service</th>
<th style={{totalWidth}}>Node Health</th>
<th style={{totalWidth}}>Health Checks<span><em>The number of health checks for the service on all nodes</em></span></th>
<th style={{remainingWidth}}>Tags</th>
{{/block-slot}}
{{#block-slot 'row'}}

Loading…
Cancel
Save