aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-map-handlers.js
Commit message (Collapse)AuthorAgeLines
* front: De-noise the ping handler in lack of pingKristian Lyngstol2016-05-23-1/+0
| | | | That was supposed to be a debug thing...
* front: Fix Ping-map nameKristian Lyngstol2016-05-23-1/+1
| | | | Also does ipv6 now.
* Ping and expose ipv6 as a true equal/superiorKristian Lyngstol2016-05-23-5/+26
| | | | | | | | | | Fixes #80 I should go to bed. Also: Fixes a tiny little issue where we didn't take into account the nature if the OPing timeout? Or has it changed? Either way, no longer do we store thousands of ping replies - per second.
* front: Live search and tweaked mgmt infoKristian Lyngstol2016-05-22-11/+34
| | | | | | | | Fixes #2 Also, since I didn't bother splitting the commits, this tweaks the information provided from the snmp handler and management handler. Notably treating IPv4 and IPv6 management addresses as equals.
* front: Fix minor, but crucial typo in the ping mapKristian Lyngstol2016-05-22-1/+1
| | | | Ooops...
* front: Move data-logic out of infoboxKristian Lyngstol2016-05-22-23/+65
| | | | | | | | | | handlerInfo is getting slightly extensive, but it might be worth it. This also introduces a "map" handler that .... doesn't handle the map. If/when namespaces are introduced properly in nms-map-handlers.js, we should also rename it to nms-data-logic.js or something else that signifies that this is what makes data useful one way or an other.
* Front: introduce nmsColor namespaceKristian Lyngstol2016-05-22-54/+62
| | | | | | Also gets rid of color_from_latency() (?) as it was basically worthless by now, and adds switch info to the combo-map so you can quickly identify why a switch is colored a certain way without clicking on it.
* Slightly tweak the internal API for combined healthKristian Lyngstol2016-05-21-16/+47
|
* Expose handler-data/combo data in infoboxKristian Lyngstol2016-05-21-1/+6
| | | | | | | | Fixes #15 Still lots of things that _should_ be done, but this is the groundwork needed for a combined map. Theoretically, all map handlers should just expose getInfo somehow now.
* Tweak ping-map after the combo-map reworkKristian Lyngstol2016-05-20-15/+8
| | | | | | Should get rid of the get_gradient_from_latency entirely. PS: jocke, you read too many commit logs.
* Add a combined health mapKristian Lyngstol2016-05-20-1/+76
| | | | | | | | | | Only combines SNMP and ping for now, but the "API" it establishes should do what we need. References #15 Before I consider this done we need to add the infomration in the info-box, and also remove the manual information present there.
* Remove comments from code in place of oplogsKristian Lyngstol2016-05-18-61/+0
|
* Minor UI tweaks here and thereKristian Lyngstol2016-05-16-6/+6
| | | | | | | | | - Shadow for map title text (color matches background, so only visible when background interferes with readability) - SNMP map is private too - Remove 'map' from a bunch of titles - Fix z-index and position for map title (z-index is lower than the input canvas, but higher than everything else).
* Actual initial importKristian Lyngstol2016-04-12-0/+490
Fetched from tgmanage.