cfoe
2012-07-13 5ed2f06bdc10389c0d8a5f2da386b7b7ba98ff9e
moved OS-class one level up for better theming flexibility
1 files modified
8 ■■■■ changed files
interface/web/monitor/show_sys_state.php 8 ●●●● patch | view | raw | blame | history
interface/web/monitor/show_sys_state.php
@@ -222,9 +222,9 @@
    /*
     * Info of a VE inside a OpenVz-Host
    */
    $html_ve  = '<div class="systemmonitor-ve state-' . $serverState . '-ve">';
    $html_ve  = '<div class="systemmonitor-ve state-' . $serverState . '-ve os-' . $osData['name'] . '">';
        if ($osData != null) {
            $html_ve .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
            $html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
        }
        else {
            $html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
@@ -244,9 +244,9 @@
    /*
     * Info of a "normal" Server or a OpenVz-Host
    */
    $html_server = '<div class="systemmonitor-server state-' . $serverState . '">';
    $html_server = '<div class="systemmonitor-server state-' . $serverState . ' os-' . $osData['name'] . '">';
    if ($osData != null) {
            $html_server .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
            $html_server .= '<div class="icoDevice"><p class="status"></p></div>';
        }
        else {
            $html_server .= '<div class="icoDevice"><p class="status"></p></div>';