mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Tidy applications page to be standardised (#7994)
* enabled apps overview in top menu unified apps page with new design * removed commented code, added copyright * removed copyright
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
$pagetitle[] = 'Apps';
|
||||
|
||||
$graphs['apache'] = array(
|
||||
'bits',
|
||||
@@ -296,7 +297,8 @@ $graphs['zfs'] = array(
|
||||
'arc_cache_miss',
|
||||
);
|
||||
|
||||
print_optionbar_start();
|
||||
echo '<div class="panel panel-default">';
|
||||
echo '<div class="panel-heading">';
|
||||
|
||||
echo "<span style='font-weight: bold;'>Apps</span> » ";
|
||||
|
||||
@@ -323,8 +325,8 @@ foreach ($app_list as $app) {
|
||||
$sep = ' | ';
|
||||
}
|
||||
|
||||
print_optionbar_end();
|
||||
|
||||
echo '</div>';
|
||||
echo '<div class="panel-body">';
|
||||
if ($vars['app']) {
|
||||
if (is_file('pages/apps/'.mres($vars['app']).'.inc.php')) {
|
||||
include 'pages/apps/'.mres($vars['app']).'.inc.php';
|
||||
@@ -334,5 +336,4 @@ if ($vars['app']) {
|
||||
} else {
|
||||
include 'pages/apps/overview.inc.php';
|
||||
}
|
||||
|
||||
$pagetitle[] = 'Apps';
|
||||
echo '</div>';
|
||||
|
Reference in New Issue
Block a user