aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms.js
Commit message (Collapse)AuthorAgeLines
* Front: Further reduce tvmode-uniquenessKristian Lyngstol2016-05-22-14/+17
| | | | | | | | | Still not very happy with this, but it's inching closer to acceptable every day. Should probably redo the whole set_handler() logic with regards to the anchor to always use the views-logic where a comman-separated list is acceptable, then get rid of nms.views all together.
* Front: Separate searching from the info-boxKristian Lyngstol2016-05-22-8/+1
|
* Add a combined health mapKristian Lyngstol2016-05-20-0/+3
| | | | | | | | | | 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-64/+0
|
* Add basic oplogKristian Lyngstol2016-05-18-0/+2
| | | | | | | | | | It still needs to be integrated with switches/info box, but this is a good start. Shows the last 5 log messages in an overlay on the map, with the rest visible in an oplog tab. Fixes #20
* Frontend: Hide certain elements in public-modeKristian Lyngstol2016-05-16-0/+2
| | | | Probably a few more items that needs to be added here.
* Add config read-api and use it to detect public accessKristian Lyngstol2016-05-16-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently no way to modify the settings except by manual SQL, but it's coming. This allows us to have event-specific configuration in the database. This commit adds js that uses this to detect if the frontend is a public vhost or not. There are currently only three columns provided in addition to ID. publicvhost: The domain name of the publicly accessible version of Gondul. shortname: code name for the vent. e.g dx16, tg17, etc. data: jsonb to contain most other settings as we see fit. Most settings will be stored in 'data' if it's only or mainly used by the frontend. This will allow frontend developers to supply arbitrary configuration options without the need for API or database changes in the future. Fixes #51 References #54 Still need the GUI for it.
* Add tabs for admin/mapKristian Lyngstol2016-05-14-0/+19
| | | | | | The admin-tab is currently empty. That is besides the point. Closes #18
* Start simplifying tvmode and settingsKristian Lyngstol2016-05-13-47/+61
| | | | | | | | | | Fixes #68 References #67 There's still a few bits missing for #67 since there is no UI for it yet. On the bright side, this will store arbitrary options.
* Actual initial importKristian Lyngstol2016-04-12-0/+792
Fetched from tgmanage.