222 Commits

Author SHA1 Message Date
750b183361 webui: Fix nav bar Linebreaks (#6770)
On width between 1199px and 1280px there is a navibar linebreak, and on
some lists there are controlles hidden.
2017-06-02 19:57:27 +01:00
4c0412b14d feature: Wireless Sensors Overhaul (#6471)
* feature: Wireless Sensors
Includes client counts for ios and unifi
Graphing could use some improvement.
Alerting and threshold ui not implemented

WIP: starting OO based wireless sensors.

Class based functionality working
remove old functional files
add schema file

discovery needs to be enabled, not polling

fix up schema

fix Unifi discovery not returning an array

Add some debug when discovering a sensor.
Fix style.

Add missing semicolin

Add a null object (Generic) for OS.
Fill out some phpdocs

Re-organized code
Each sensor type now has it's own discovery and polling interface
Custom polling tested with Unifi CCQ

Left to do:
Implement UI (Graphs and Custom thresholds)
Alerting
Testing

Fix event message text

Remove runDiscovery and runPolling from OS, they are unused and don't belong there.

Cleanups/docs

Missed this file.

Remove the requirement to fetch the current value to check validity.
Do that automatically if current is not specified
A few cleanups here and there

First pass at graphing.
device_ and wireless_ graphs added.

Add RouterOS support

Singleton OS instance isn't required right now.
Remove that to allow some memory to be freed.

Add wireless to the device list metrics.
Make all metrics clickable

Tweak graphs a bit

Implement limit configuration page.
Use sensors page as common code instead of duplicating.
Clean up some javascript interactions:  Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value.
Add some wireless alert rules to the library.

Add documentation.

Add unifi client counts by ssid in addition to radio.
Optimize Sensor polling a bit.

Add HP MSM clients support (for full controller)
Fix function accessibility

Formalize the discovery and poller interfaces.

Add Xirrus clients and noise floor
move module interfaces to a more appropriate place.
push caching code up to os, unsure about this do to the limitations

No point in selectively enabling wireless discovery.  We only discover if the device supports something.

Add RSSI, Power, and Rate.
Add these sensors for Ubnt Airos.
Clean up some copyrights.

Reduce the amount of files need to add new types.
Leave graph files for consistency and to allow customization.

Remove the old wifi clients graph completely.
ciscowlc should have improved counts (total and per-ssid)

Schema didn't get added.

Impelement the rest of the AirOS sensors
Reformat and re-organize the Airos.php class.

Add several UBNT AirFiber sensors

A few fixes add links to the section headers

Add HP MSM mibs.

* Schema file got dropped in rebase.

* Add wireless menu to view sensors across all devices.
Icons in the menu need help :/

* Add HeliOS, Mimosa, and Siklu support
Sensors added SNR + Noise

* Add power and utilization to Unifi

* Update polling to prefetch all sensor data in a few snmp requests as possible

* Add Extendair: tx+rx power, aggregate rate, frequency

* Add a check for duplicate sensors in discovery.  Just print an error for now.

* Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed)
Fix an incorrect link in the wireless sensors table

* Add error rate and change all bps and Hz to use si units

* Fixes to limits and frequency display

* Fix overview graph frequency display
A few decimal place tweaks

* Don't allow switching sensor and wireless-sensor graphs, it doesn't work.
Change individual distance graphs to use si units

* Go through the OS and make sure I got all the sensors I can (probably missed some still)
Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS.
Message to help developers adding supports that don't return an array from discover functions.

* Fix some issues

* Remove noise and signal for now at least
A couple more fixes
Add a notification

* Oopsie

* Bonus AirFiber sensors
2017-05-01 23:49:11 -05:00
18784fdb89 webui: Updated rrdtool command output to use <pre>(#6345)
* fix whitespace display on RRDTool Command

* use a class instead
2017-04-05 07:54:55 +01:00
323df86d40 fix: Fixed height of widget boxes (#6282)
* Fix height of widget boxes

This pracitcally reverts #5644 and instead applies the correct fix by
calculating the dimensions of the widget box correctly.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-28 16:02:10 +01:00
4a705ea7e3 Fix vertical alingment of the main navbar. (#6256) 2017-03-23 16:22:50 +00:00
ebabd35d00 accidentally made nav tabs wider (#6236) 2017-03-22 15:41:44 +00:00
fdc730e638 webui: improve the text alignment for tab bars (#6229)
* webui: improve the text alignment for tab bars
Margin tweaks no longer needed since we use font awesome icons everywhere
Add role presentation for improved accessibility
Clean up some of the permissions logic on the device page (tested)

* fix style
2017-03-22 08:06:46 +00:00
afb838bc10 webgui: Added ability to set warning percentage for CPU, mempools from device edit page (#5895) 2017-03-03 15:07:12 +00:00
20ae9e2ecd webui: Improve device header layout (#5990)
* webui: Improve device header layout

* Update css style version to break caches
Remove unused css.
2017-02-24 09:59:30 +00:00
ad58af6e6c webui: Update services pages
* Update services page

- Bring services overview page in line with the rest of the interface
using bootstrap classes, panels, colors etc.
- Getting rid of most of the tables using bootstrap's grid classes.

Device services page might need a bit more work but I'm not ready yet.

* Fix style check issues

* Bigger status labels
2017-02-22 23:53:17 +00:00
8787d9d902 Update dark theme panel headings (#5892)
...to be consistent with navbar.
2017-02-14 23:19:27 +00:00
3843346109 webui: Set the device logo and cell to have a max width (#5700)
* Set the device logo to have a max width and set the td cell to also have a set width

* Changed the width of the td cell to rather use CSS

* tried something else which allows for a more dynamic approach
2017-02-14 08:52:17 +00:00
5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8ca492a562cc9a60e3887c24599000d.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218f3403664616fde655e4d35c134516a.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
307e5ae500 fix: mono theme panel headers black (#5705)
Fixes issue where the librenms_logo_mono.svg is now loaded by making the background black to match the logo.
Update twofactor.lib.php.
Remove unused if statement
2017-02-01 08:03:07 +00:00
5d1d4cd2ed fix: logo scalling to support squarish logos (#5647)
Also improve text alignment
2017-01-28 10:13:04 +00:00
7b2a818a8f webui: Remove padding at the bottom of widgets to make more room #3687 (#5644) 2017-01-28 01:11:31 +00:00
456f01f68e webui: center device icons. Keep device actions at two rows (#5627)
netonix logo -> svg
2017-01-26 22:20:43 +00:00
47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00:00
61b73e8a73 webui: Update Font Awesome to 4.7.0 (#5476)
* webui: Update Font Awesome

* remove lib
2017-01-18 12:57:57 -06:00
ca8b72dd1e fix: availability map icons (#5373) 2017-01-10 10:07:10 +00:00
5ad8fd3c0c feature: Add support for SVG images (#5275)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* feature: Add support for SVG images

* docs: Add instructions for adding OS images

* Replace PNG os images by SVG
2017-01-08 13:32:17 -06:00
5569884f7f webui: Updated devices view (#4700) 2016-10-16 15:58:48 +01:00
87ff439d8f webui: Option to display devices as a uniform size w/o labels in availability map widget 2016-10-15 17:58:27 +01:00
20d7b289e2 fix: Adjusted padding based on screen width to fit all icons (#4711) 2016-10-05 08:05:26 +00:00
73bb45e465 multiple fixes 2016-09-24 03:28:01 +03:00
01fc94b31b Add option for displaying ignored services and devices in availability-map 2016-09-23 14:47:59 -06:00
8e4bce97a9 Merge pull request #4435 from benwa/user-badge
Fix nav icons
2016-09-23 19:37:59 +01:00
f7c8208072 v2
Better than first patch.  Keeps colors and positioning. Also adds in a
set of badge- context classes for future use.
2016-09-23 08:27:34 -04:00
63f42acda6 general updates 2016-09-22 00:11:16 +03:00
7b7b8c0c2c Fix nav icons
Remove notification overlap and fix mobile navigation view
2016-09-14 08:23:50 -04:00
2927550a88 Merge branch 'availability-map-update-5' of https://github.com/crcro/librenms into availability-map-update-5 2016-09-14 01:23:48 +03:00
7c6130d1a7 fix: CSS typo -- gray to grey (#4397) 2016-09-10 16:55:11 +01:00
aad9b675c3 more options to amap 2016-09-06 02:01:15 +03:00
8ce1d81b71 amap device box reverted to original size, fixes for device groups (#4334) 2016-09-04 07:04:53 -05:00
921d5b9ed5 webui: availability map update (#4300)
* a-map update 3

* pre-commit.php fixes

* moved group query inside if
2016-09-02 12:42:45 -05:00
a37b878bf5 cleanup: unused css class (#4248)
* reduce code duplication, cleaned up

* Revert "reduce code duplication, cleaned up"

This reverts commit 8366bf3326c30fb10f92a3e03da5a60a8e3ba116.

* css cleanup
2016-08-29 21:25:14 +01:00
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01:00
6190562d9a availability map updates (#4160)
* fix for services visibility if no service available or not enabled in config

* availability map option to switch to old view

* updates as guided by @laf
2016-08-22 19:12:44 +01:00
aefa24385e Merge pull request #4139 from benwa/fix-widget-bootgrid
Bootgrid alignment
2016-08-20 11:49:53 +01:00
509978172e Fixes bootgrid alignment
The dropdown li inherit text alignment.
2016-08-19 20:11:35 -04:00
257cec197d Availability: small changes
Mouse pointer to indicate the labels are clickable.
<label> is a form element and should not be a child of <a>, use span
2016-08-19 09:51:21 -05:00
450049a431 Availability map: shadow 2016-08-18 11:23:34 -05:00
laf
67617d0d3d Merged css changes into styles.css 2016-08-17 20:22:51 +01:00
a4234a00f0 rewrite code for less repetition, removed unused css classes 2016-08-15 01:42:02 +03:00
889c02dd2a looks like services can have warning also, changed the warning labels to warn for readability 2016-08-13 16:38:47 +03:00
50cf4f1b7f spacing fixes for css files 2016-08-13 05:15:45 +03:00
ccc88911f8 -fixed select position/size
-extra style for text on labels for readibility
-PSR-2 style
-added classes for all styles
2016-08-13 05:12:05 +03:00
e575271126 added linux os distro icon, fixed formatting 2016-08-13 03:20:55 +03:00
655363082c rewrite of availability-map 2016-08-12 22:51:29 +03:00
362f40e988 Update header link color 2016-08-04 15:58:58 +02:00