diff --git a/html/css/styles.css b/html/css/styles.css index 5f9aaa5587..e30ff97963 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -43,8 +43,8 @@ ul ul ul { list-style: square outside; } } .pagemenu-selected { - font-weight: bold; - background-color: #dfdfdf; + font-weight: bold; + background-color: #dfdfdf; border: 1px solid #c0c0c0; @@ -436,7 +436,7 @@ tr.list-device-ignored-up { } .device-head, a.list-device { - color: #1111aa; + color: #23527c; } a.list-device-down, a.list-device-down, a.list-device-down:visited { @@ -1251,7 +1251,7 @@ a.interface-upup:hover, a.interface-updown:hover, a.interface-admindown:hover { padding:1px; margin:0; } - + /* Header -----------------------------------------------------------------------------*/ @@ -1332,15 +1332,15 @@ a.interface-upup:hover, a.interface-updown:hover, a.interface-admindown:hover { } .div-normal { - + } .div-alert { - border: 2px solid; + border: 2px solid; #border-radius: 10px; border-color: #cc0000; } .div-ignore { - + } .div-ignore-alert { @@ -1749,7 +1749,7 @@ tr.search:nth-child(odd) { -o-user-select: none; user-select: none; // Default } - + .zoomOut { top:30px; } diff --git a/html/pages/apps.inc.php b/html/pages/apps.inc.php index 855de431c7..fb767fe76b 100644 --- a/html/pages/apps.inc.php +++ b/html/pages/apps.inc.php @@ -56,6 +56,8 @@ $graphs['tinydns'] = array( 'other', ); +$graphs['os-updates'] = array(''); + print_optionbar_start(); echo "Apps » "; diff --git a/html/pages/apps/default.inc.php b/html/pages/apps/default.inc.php index 41380c9b1e..84f583f80a 100644 --- a/html/pages/apps/default.inc.php +++ b/html/pages/apps/default.inc.php @@ -9,33 +9,35 @@ $graph_array_zoom['height'] = '150'; $graph_array_zoom['width'] = '400'; $graph_array['legend'] = 'no'; -echo '

'.nicecase($vars['app']).'

'; -echo ''; $app_devices = dbFetchRows('SELECT * FROM `devices` AS D, `applications` AS A WHERE D.device_id = A.device_id AND A.app_type = ?', array($vars['app'])); foreach ($app_devices as $app_device) { - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; }//end foreach echo '
'.generate_device_link($app_device, shorthost($app_device['hostname']), array('tab' => 'apps', 'app' => $vars['app'])).''.$app_device['app_instance'].''.$app_device['app_status'].'
'; + echo '
+
+

+ '.generate_device_link($app_device, shorthost($app_device['hostname']), array('tab' => 'apps', 'app' => $vars['app'])).' +
'.$app_device['app_instance'].' '.$app_device['app_status'].'
+

+
+
+
'; foreach ($graphs[$vars['app']] as $graph_type) { - $graph_array['type'] = 'application_'.$vars['app'].'_'.$graph_type; + $graph_array['type'] = empty($graph_type) ? 'application_'.$vars['app'] : 'application_'.$vars['app'].'_'.$graph_type; $graph_array['id'] = $app_device['app_id']; $graph_array_zoom['type'] = 'application_'.$vars['app'].'_'.$graph_type; $graph_array_zoom['id'] = $app_device['app_id']; $link = generate_url(array('page' => 'device', 'device' => $app_device['device_id'], 'tab' => 'apps', 'app' => $vars['app'])); + echo '
'; echo overlib_link($link, generate_lazy_graph_tag($graph_array), generate_graph_tag($graph_array_zoom), NULL); + echo '
'; } - echo '
';