summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-02-17 03:23:07 -0800
committerNOYB <Al_Stu@Frontier.com>2016-02-17 03:23:07 -0800
commit35d8d6138ee92fbf1287e68a3ef1bb11539e22bb (patch)
treefb3fc75e5f34ab7f56bb31c83283229ebeb38738 /src/usr/local/www/head.inc
parent74db0283581e22a441bfb55d6d0d0a2a7c438c1e (diff)
downloadpfsense-35d8d6138ee92fbf1287e68a3ef1bb11539e22bb.zip
pfsense-35d8d6138ee92fbf1287e68a3ef1bb11539e22bb.tar.gz
Fix for but #5901
Move the widgets save out of index.php jquery and into head.inc php along with it's counterpart the available widgets icon.
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r--src/usr/local/www/head.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 4a52da6..bb89d76 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -477,6 +477,14 @@ if (($pagename === "index.php") && ($numColumns > 2)) {
</li>
<?php endif?>
+ <?php if (isset($widgets)): ?>
+ <li>
+ <a href="#" title="<?=gettext("Save dashboard layout")?>" id="btnstore">
+ <i style="cursor:pointer" class="fa fa-save"></i>
+ </a>
+ </li>
+ <?php endif?>
+
<?php if ($system_logs_filter_form_hidden): ?>
<li>
<a onclick="$('#filter-form').toggle(360)" title="<?=gettext("Log Filter")?>">
OpenPOWER on IntegriCloud