Skip to content

Commit 5ed2f06

Browse files
author
cfoe
committed
moved OS-class one level up for better theming flexibility
1 parent a1911c8 commit 5ed2f06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interface/web/monitor/show_sys_state.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ function _getServerState($serverId, $serverName) {
222222
/*
223223
* Info of a VE inside a OpenVz-Host
224224
*/
225-
$html_ve = '<div class="systemmonitor-ve state-' . $serverState . '-ve">';
225+
$html_ve = '<div class="systemmonitor-ve state-' . $serverState . '-ve os-' . $osData['name'] . '">';
226226
if ($osData != null) {
227-
$html_ve .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
227+
$html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
228228
}
229229
else {
230230
$html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
@@ -244,9 +244,9 @@ function _getServerState($serverId, $serverName) {
244244
/*
245245
* Info of a "normal" Server or a OpenVz-Host
246246
*/
247-
$html_server = '<div class="systemmonitor-server state-' . $serverState . '">';
247+
$html_server = '<div class="systemmonitor-server state-' . $serverState . ' os-' . $osData['name'] . '">';
248248
if ($osData != null) {
249-
$html_server .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
249+
$html_server .= '<div class="icoDevice"><p class="status"></p></div>';
250250
}
251251
else {
252252
$html_server .= '<div class="icoDevice"><p class="status"></p></div>';

0 commit comments

Comments
 (0)