| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 6f4323f3d3cc7066e833f8a898f0608e6527871d)
|
|
|
|
| |
(cherry picked from commit c87eeb08acc6d5d0fd642e50990b93b7137657ee)
|
| |
|
|
|
|
| |
(cherry picked from commit 5aad73235c1965e9f4c000244ca657ac9d1e4f68)
|
|
|
|
|
|
|
|
|
| |
For users that have "custom settings" enabled, save the "tool" settings
of their widgets on a per-user basis.
User that do not have "custom settings" enabled will continue to use and
save widget settings to/from the system-wide settings.
(cherry picked from commit 2b7d0520818248920ec88514fde2c9b86c2a70af)
|
|
|
|
|
|
| |
Read widget config before adding a new one. (Was starting a new array)
(cherry picked from commit 236e6a54e9a93284ca170b68aa1188dfaa195c3d)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For safety, use include_once() when including various "side" files.
There are a couple of instances of include("guiconfig,inc") that I
changes to use require_once() to be consistent with everywhere else.
The remaining cases of include() are just (hundreds of) head.inc and
footer.inc - those are only at the start/end of the ordinary top-level
interactive PHP files. There is no nested interaction of those to think
about, so that should be fine.
|
|
|
|
| |
Replace '/usr/bin/grep -vi warning' with '/bin/cat'
|
|
|
|
| |
(cherry picked from commit f4d13d55d7b15449780b5eb521f54d76d8279df5)
|
|
|
|
| |
(cherry picked from commit 94463e858131f23d44bfdb72cd3c8b053cf6ed28)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Stops widgets from "going missing" when the user reduces the dashboard columns in System, General Setup.
If the user just lowers dashboard columns to see what happens, then increases it again, the actual column settings are preserved in the config, so the widgets go back where they were. That seems a good thing.
If the user lowers dashboard columns and then also saves the dashboard, the newly-limited column settings will be saved.
Forum: https://forum.pfsense.org/index.php?topic=107865.0
|
|
|
|
| |
Move the widgets save out of index.php jquery and into head.inc php along with it's counterpart the available widgets icon.
|
|
|
|
| |
'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
|
| |
|
|
|
|
| |
Remove non-existent help-icon class statements from index and head.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add configuration option to show or hide special panels.
When a panel is hidden a button is displayed on the page title bar to toggle the panel display.
|
|
|
|
| |
1) Perform exclusion of non .inc files while reading directory. 2) Be more strict when checking for widget title. 3) We are in the PHP 5.5 age. We can convert certain pieces to anonymous functions and overall better coding.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make all the panel-heading uses also have consistent <h2
class="panel-title"> so they all display the same size.
Forum https://forum.pfsense.org/index.php?topic=105275.0
|
|
|
|
| |
Remove unused modal
|
|
|
|
|
|
|
|
|
|
|
|
| |
In most situations we want the print_info_box() of $savemsg to be
'success'. If there was some problem saving, then it can be 'warning'.
These are a few places I have found so far that need this sort of fixing
up - more to come but sleep calls just now!
I made the change to index.php also to be consistent with the others,
even though it does not actually change anything "for real" because
'warning' is the default anyway. It will make it easy for people in
future to see that is the case, specially if they are adding other
$savemsg things that need to be 'success'.
|
| |
|
|
|
|
|
| |
Removed bogus code that forced system information to be first in the list
Added JS to always add system_information to col 1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is some problem with the var $i getting reset somehow somewhere
related to the include of each widget PHP code. I found that this was
doing $i = 1, $i = 2 and then $i = 2 again and I got fatal errors
because each widget code was being included twice.
Crash report begins. Anonymous machine information:
amd64
10.2-STABLE
FreeBSD 10.2-STABLE #245 1b7c029(devel): Mon Dec 14 04:17:47 CST 2015
root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP Fatal error: Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP 1. {main}()
/usr/local/www/index.php:0
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP Fatal error: Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP 1. {main}()
/usr/local/www/index.php:0
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP Fatal error: Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP 1. {main}()
/usr/local/www/index.php:0
|
|\ \
| | |
| | |
| | | |
NOYB/HTML_Compliance_-_Dashboard_-_Widget_Config_Panel
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Bad value #widget-system_information .panel-footer for attribute href on element a: Illegal character in fragment: not a URL code point.
Fix the widget config/wrench icon href.
Add matching widgetname id tag to widgets configuration panel div element.
Note: Thermal Sensors widget config panel already had a different id tag. Couldn't find anything that referenced it though. If that is correct then it should be safe to change it to widgetname to be consistent with the other widgets.
|
|/
|
|
|
|
|
|
|
| |
Rename duplicate id's.
Fix available widgets collapsible section href with id.
Where obsolete replace name attribute with id.
The .panel-footer requires mod to the widgets with config options. So will submit separate commit so it can be handled independently.
Bad value #widget-system_information .panel-footer for attribute href on element a: Illegal character in fragment: not a URL code point.
|
|
|
| |
Couple of little bits here.
|
| |
|
| |
|
| |
|
| |
|