Template:Cluster Status: Difference between revisions

From RCSWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


<div class="row">
<div class="row">
<div class="col-md-12">
<div class="col-md-12" style="padding: 0px;">
<div style="border: 3px solid #{{#ifeq: {{{status|}}} | green | 24971b }}{{#ifeq: {{{status|}}} | yellow | f3ba1f }}{{#ifeq: {{{status|}}} | red | b31d1d }}{{#ifeq: {{{status|grey}}} | grey | ccc}}; font-size: 1.25em; padding: 0.75em;">
<div style="border: 3px solid #{{#ifeq: {{{status|}}} | green | 24971b }}{{#ifeq: {{{status|}}} | yellow | f3ba1f }}{{#ifeq: {{{status|}}} | red | b31d1d }}{{#ifeq: {{{status|grey}}} | grey | ccc}}; font-size: 1.25em; padding: 0.75em; margin: 0.5em 0 0.5em 0.5em;">
<div style="float:left; margin: 0.5em; height: 1.5em; width:1.5em; border-radius: 50%; display: inline-block; background-color: #{{#ifeq: {{{status|}}} | green | 24971b }}{{#ifeq: {{{status|}}} | yellow | f3ba1f }}{{#ifeq: {{{status|}}} | red | b31d1d }}{{#ifeq: {{{status|grey}}} | grey | ccc}}; "></div>
<div style="float:left; margin: 0.5em; height: 1.5em; width:1.5em; border-radius: 50%; display: inline-block; background-color: #{{#ifeq: {{{status|}}} | green | 24971b }}{{#ifeq: {{{status|}}} | yellow | f3ba1f }}{{#ifeq: {{{status|}}} | red | b31d1d }}{{#ifeq: {{{status|grey}}} | grey | ccc}}; "></div>
<strong>{{#ifeq: {{{status|}}} | green | {{{title|All systems operational}}} }}{{#ifeq: {{{status|}}} | yellow | {{{title|Minor system issues}}} }}{{#ifeq: {{{status|}}} | red | {{{title|Major system issues}}} }}{{#ifeq: {{{status|grey}}} | grey | Unknown Status: Please set status to one of: green, yellow, red }}</strong>
<strong>{{#ifeq: {{{status|}}} | green | {{{title|All systems operational}}} }}{{#ifeq: {{{status|}}} | yellow | {{{title|Minor system issues}}} }}{{#ifeq: {{{status|}}} | red | {{{title|Major system issues}}} }}{{#ifeq: {{{status|grey}}} | grey | Unknown Status: Please set status to one of: green, yellow, red }}</strong>

Revision as of 18:05, 11 August 2020

Unknown Status: Please set status to one of: green, yellow, red