summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-02-17 08:04:36 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-02-17 08:04:36 -0500
commit2ad3266c78b46eafae392d646cc8f2d8386bdb6d (patch)
treea9a5b4ae06cca551734585bd811fff971fa71c8e
parent05a0f92df07045d89a80198c587a2d45d02202c8 (diff)
parent7bd42c09664495bfd0738764b05b60d95cdd70f2 (diff)
downloadpfsense-2ad3266c78b46eafae392d646cc8f2d8386bdb6d.zip
pfsense-2ad3266c78b46eafae392d646cc8f2d8386bdb6d.tar.gz
Merge pull request #2658 from NOYB/Available_Widgets_Icon_Missing
-rw-r--r--src/usr/local/www/head.inc14
-rw-r--r--src/usr/local/www/index.php2
2 files changed, 11 insertions, 5 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index bfca9a0..0644033 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -474,15 +474,23 @@ if (($pagename === "index.php") && ($numColumns > 2)) {
<?php if ($dashboard_available_widgets_hidden): ?>
<li>
<a onclick="$('#widget-available').toggle(360);" title="<?=gettext("Available Widgets")?>">
- <i style="cursor:pointer" class="fa fa-plus"></i>
+ <i class="fa fa-plus icon-pointer"></i>
</a>
</li>
<?php endif?>
+ <?php if (isset($widgets)): ?>
+ <li>
+ <a href="#" title="<?=gettext("Save dashboard layout")?>" id="btnstore">
+ <i class="fa fa-save icon-pointer"></i>
+ </a>
+ </li>
+ <?php endif?>
+
<?php if ($system_logs_filter_form_hidden): ?>
<li>
<a onclick="$('#filter-form').toggle(360)" title="<?=gettext("Log Filter")?>">
- <i style="cursor:pointer" class="fa fa-filter"></i>
+ <i class="fa fa-filter icon-pointer"></i>
</a>
</li>
<?php endif ?>
@@ -490,7 +498,7 @@ if (($pagename === "index.php") && ($numColumns > 2)) {
<?php if ($system_logs_manage_log_form_hidden): ?>
<li>
<a onclick="$('#manage-log-form').toggle(360)" title="<?=gettext("Manage Log")?>">
- <i style="cursor:pointer" class="fa fa-wrench"></i>
+ <i class="fa fa-wrench icon-pointer"></i>
</a>
</li>
<?php endif ?>
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 4df74e9..77a35e6 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -489,8 +489,6 @@ events.push(function() {
});
- $('.context-links li:last').prev('li').html('<a href="#" title="<?=gettext("Save dashboard layout")?>" id="btnstore"><i class="fa fa-save"></i></a>');
-
$('#btnstore').click(function() {
updateWidgets();
dirty = false;
OpenPOWER on IntegriCloud