Commit Graph

145 Commits

Author SHA1 Message Date
Bennett Blodinger
07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
Tony Murray
36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
jonathon-k
5b3ee62b33 webui: Update Alerts table (and widget) to re-sort rather than reload page when ack'ed (#4440)
* Update Alerts table to re-sort rather than reload page when ack'ing

* msg box updates
2016-09-15 08:44:22 +01:00
Neil Lathwood
4001f8c60a webui: Updated bootgrid + added syslog colouring based on priority (#4287)
* Updated bootgrid + added syslog colouring based on priority

* Updated functions and removed uneeded file
2016-09-06 07:39:53 -05:00
crcro
8ce1d81b71 amap device box reverted to original size, fixes for device groups (#4334) 2016-09-04 07:04:53 -05:00
crcro
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
crcro
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01:00
crcro
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
Tony Murray
b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Neil Lathwood
fb935cdb30 Merge pull request #4122 from murrant/more-avail
Availability: small changes
2016-08-20 01:13:58 +01:00
Tony Murray
cfe2cf8069 Merge remote-tracking branch 'upstream/master' into psr2-html 2016-08-19 13:54:45 -05:00
Bennett Blodinger
60e13a5d15 Update device-summary-vert.inc.php 2016-08-19 13:45:04 -04:00
Bennett Blodinger
aeb1c1fc43 Keep theme consistent on tables
Makes the tables a bit more uniform
2016-08-19 13:39:58 -04:00
Tony Murray
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
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
crcro
a4234a00f0 rewrite code for less repetition, removed unused css classes 2016-08-15 01:42:02 +03:00
crcro
1270028b2f forgot about widget host warning 2016-08-13 16:43:25 +03:00
crcro
889c02dd2a looks like services can have warning also, changed the warning labels to warn for readability 2016-08-13 16:38:47 +03:00
crcro
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
crcro
e575271126 added linux os distro icon, fixed formatting 2016-08-13 03:20:55 +03:00
crcro
655363082c rewrite of availability-map 2016-08-12 22:51:29 +03:00
Florian Beer
adafda7773 Update syslog page
Brings Syslog page HTML in line with Eventlog page.
2016-08-05 14:30:06 +02:00
Neil Lathwood
42a8c27237 Merge pull request #3821 from adaniels21487/issue-3272-1
Component Update - Status
2016-07-25 20:13:25 +01:00
Aaron Daniels
52455e1128 Component Update - Status
- Align the component status field with the Nagios standard
  0=ok, 1=warning, 2=critical
- Modify existing modules to report these status' (Cisco-OTV)
- Add/Modify Alerting Macros to use these status'
- Add the a component status widget
- update edit page to report these status'
2016-07-11 16:51:01 +10:00
laf
a6723d954a Added forced refresh for generic images widget 2016-07-10 00:42:33 +01:00
Brandon Boudrias
1aab030f37 giving graph widgets option to manually specify port type 2016-06-30 17:05:55 -07:00
Brandon Boudrias
4ad75fb89d create common method for generating type_wheres 2016-06-30 17:05:55 -07:00
Neil Lathwood
e07c935292 Merge pull request #3686 from gcoeugnet/master
Change severity color management
2016-06-20 14:21:43 +01:00
Guillaume COEUGNET
3b9d4bd0d3 Change severity color management 2016-06-20 14:45:10 +02:00
laf
e3db9c8561 Fixed ajax_* calls for use with base_url 2016-06-15 12:58:23 +00:00
Neil Lathwood
dfcc740532 Merge pull request #3640 from tribut/image-keep-aspect
Keep aspect ratio for external images on dashboard
2016-06-12 19:38:08 +01:00
Felix Eckhofer
82066f8430 Keep aspect ratio for external images on dashboard 2016-06-12 15:40:21 +02:00
Guillaume COEUGNET
d705836c88 Change SQL file name and add /alerts support for procedure 2016-06-09 15:07:02 +02:00
Neil Lathwood
5cb9d751c3 Revert "deduping type_where code, adding manual types to graph widgets " 2016-06-07 09:15:04 +01:00
Guillaume COEUGNET
0b0881ae94 Remove doc files and change code indent 2016-06-06 11:49:50 +02:00
Guillaume COEUGNET
6c8a75a5f7 Change procedure management. Using URL instead of file 2016-06-06 11:41:41 +02:00
Brandon Boudrias
1aa7517372 giving graph widgets option to manually specify port type 2016-06-03 16:05:05 -07:00
Brandon Boudrias
3b4964e13c create common method for generating type_wheres 2016-06-03 10:42:16 -07:00
Guillaume COEUGNET
88eb7c4c04 Change button name 2016-05-27 16:18:47 +02:00
Guillaume COEUGNET
8aacb68cb3 Correct useless change 2016-05-27 16:15:59 +02:00
Guillaume COEUGNET
4dadad944b Add procedure management 2016-05-27 16:13:51 +02:00
Tony Murray
07455a6e0a Scrollable widgets
Remove several javascript:return false;
2016-05-26 09:44:41 -05:00
BeryJu
25ec0633ef Final fix to availability-map.inc.php 2016-05-05 00:05:35 +02:00
BeryJu
6c20534fa7 Fixed availability-map.inc.php to follow guidelines 2016-05-04 23:58:40 +02:00
BeryJu
ab890520a3 Fixed availability-map.inc.php dropdown 2016-05-04 23:32:32 +02:00
BeryJu
723bf03baa Fixed availability-map.inc.php's Service Links
Links were pointing to the wrong destination.
2016-05-04 23:01:37 +02:00
BeryJu
43201165b5 Added ability to show Services on Availability Map
In the Settings you can choose between 'Only Devices' (Default), 'Only Services' and 'Devices and Services'.
2016-05-04 22:49:13 +02:00
laf
624fbede32 Added ability to specify a different tile url 2016-05-02 19:59:45 +00:00
Aaron Daniels
048b553926 Nagios Services - Status update
- Fixed summary widgets
2016-04-26 22:05:34 +10:00
Adam Winberg
341869eaaf use existings webui option (global_search_result_limit) to set typeahead limit instead of introducing new config option 2016-04-21 12:56:45 +02:00