diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-03-10 00:37:28 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-03-10 00:37:28 -0800 |
commit | b1b8784a0746fd08ba07f11025f3ae1c32030416 (patch) | |
tree | cdcda8d4df33a5b9000e4ed7d5c26b01b4fce526 /src/usr/local/www/head.inc | |
parent | 05e539afbad4e79143ddf499c5f827db63471d22 (diff) | |
download | pfsense-b1b8784a0746fd08ba07f11025f3ae1c32030416.zip pfsense-b1b8784a0746fd08ba07f11025f3ae1c32030416.tar.gz |
Status Monitoring - Settings Panel Collapsible
Make the status monitoring settings panel collapsible with page load state configurable in general setup associated panels show/hide.
Replace Update button with refresh icon on title bar.
Required by FreeBSD-Ports pull request #78 Status Monitoring - Settings Panel Collapsible.
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r-- | src/usr/local/www/head.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index cabe37d..432810a 100644 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -544,6 +544,22 @@ if (($pagename === "index.php") && ($numColumns > 2)) { endif ?> + <?php if ($monitoring_settings_form_hidden): ?> + <li> + <a onclick="$('#monitoring-settings-form').toggle(360);" title="<?=gettext("Settings")?>"> + <i class="fa fa-wrench icon-pointer"></i> + </a> + </li> + <?php endif?> + + <?php if ($status_monitoring): ?> + <li> + <a id="update" title="<?=gettext("Refresh Graph")?>"> + <i class="fa fa-repeat icon-pointer"></i> + </a> + </li> + <?php endif?> + <?php if (!$hide_service_status && !empty($shortcuts[$shortcut_section]['service']) && isAllowedPage('status_services.php')) { $ssvc = array(); |