Template:Cluster Status: Difference between revisions

From RCSWiki
Jump to navigation Jump to search
(Created page with " <div class="row"> <div class="col-md-12"> <div style="border: 1px solid #ccc; font-size: 1.25em;"> <div style="float:left; margin: 0.5em; height: 1.5em; width:1.5em; border-r...")
 
No edit summary
Line 5: Line 5:
<div style="float:left; margin: 0.5em; height: 1.5em; width:1.5em; border-radius: 50%; display: inline-block; background-color: #{{#ifeq: {{{status|}}} | green | 36d42a }}{{#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 | 36d42a }}{{#ifeq: {{{status|}}} | yellow | f3ba1f }}{{#ifeq: {{{status|}}} | red | b31d1d }}{{#ifeq: {{{status|grey}}} | grey | ccc}}; "></div>
{{#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 to '''green''', '''yellow''', or '''red'''. }}
{{#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 to '''green''', '''yellow''', or '''red'''. }}
{{#if: {{{message|}}} | <hr /> {{{message}}} | }}
</div>
</div>
{{#if: {{{message|}}} | <hr /> {{{message}}} | }}
</div>
</div>
</div>
</div>

Revision as of 18:01, 11 August 2020

Unknown status: Please set to green, yellow, or red.