File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ public function login($redirectBack = 0){
69
69
}
70
70
if ($ this ->request ->referer (true ) === '/ ' ) {
71
71
$ this ->Auth ->loginRedirect = array (
72
- 'controller ' => 'home ' ,
73
- 'action ' => 'demo '
72
+ 'controller ' => 'dashboards ' ,
73
+ 'action ' => 'index '
74
74
);
75
75
}
76
76
Original file line number Diff line number Diff line change 38
38
'critical ' ,
39
39
'unknown '
40
40
];
41
-
41
+
42
42
$ bgColors = [
43
43
1 => 'bg-color-red ' ,
44
44
2 => 'bg-color-blueDark '
45
45
];
46
-
46
+
47
47
?>
48
-
48
+
49
49
</div>
50
50
<div class="col-xs-12 stats180 margin-top-10" style="display:none; position: absolute; top:0px;">
51
51
<?php foreach ([1 , 2 ] as $ state ): ?>
57
57
'plugin ' => '' ,
58
58
'Filter.Hoststatus.current_state[ ' .$ state .'] ' => 1
59
59
]); ?> " style="color:#FFF;">
60
- <?php echo __ ('( %s ) down ' , $ widgetHostStateArray180 ['state ' ][$ state ]);?>
60
+ <?php echo __ ('( %s ) ' . strtolower ( $ this -> Status -> humanSimpleHostStatus ( $ state )) , $ widgetHostStateArray180 ['state ' ][$ state ]);?>
61
61
</a>
62
62
</div>
63
63
<div class="col-xs-12">
109
109
<?php endforeach ; ?>
110
110
</div>
111
111
</div>
112
-
112
+
113
113
<div class="text-center font-xs">
114
114
<div class="col-xs-12">
115
115
<div class="toggleDetailsForPiechart"><i class="fa fa-angle-down"></i></div>
Original file line number Diff line number Diff line change 39
39
'critical ' ,
40
40
'unknown '
41
41
];
42
-
42
+
43
43
$ bgColors = [
44
- 1 => 'bg-color-red ' ,
45
- 2 => 'bg-color-orange ' ,
44
+ 1 => 'bg-color-orange ' ,
45
+ 2 => 'bg-color-red ' ,
46
46
3 => 'bg-color-blueDark '
47
47
];
48
-
48
+
49
49
?>
50
50
</div>
51
51
<div class="col-xs-12 stats180 margin-top-10" style="display:none; position: absolute; top:0px;">
58
58
'plugin ' => '' ,
59
59
'Filter.Servicestatus.current_state[ ' .$ state .'] ' => 1
60
60
]); ?> " style="color:#FFF;">
61
- <?php echo __ ('( %s ) warning ' , $ widgetServiceStateArray180 ['state ' ][$ state ]);?>
61
+ <?php echo __ ('( %s ) ' . strtolower ( $ this -> Status -> humanSimpleServiceStatus ( $ state )) , $ widgetServiceStateArray180 ['state ' ][$ state ]);?>
62
62
</a>
63
63
</div>
64
64
<div class="col-xs-12">
You can’t perform that action at this time.
0 commit comments