aboutsummaryrefslogtreecommitdiffstats
path: root/web/index.html
Commit message (Collapse)AuthorAgeLines
* feat(ui): Use Prefer Color Scheme to decide to use night modefeat/night-mode-follow-systemHåkon Solbjørg2023-03-22-0/+1
| | | | | | Uses the proposal here: https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-color-scheme Seems to be decently supported: https://caniuse.com/?search=prefers-color-scheme
* front: Tweak legacy info-box size....Kristian Lyngstol2019-02-11-2/+2
| | | | God I hate this...
* front: Implement new network/switch and moreKristian Lyngstol2019-01-12-8/+8
| | | | | | | | | | | | | | | Fixes #183 References #182 It's now possible to add new networks and switches, and it's also possible to edit networks, but since I haven't exposed it in the UI yet, I can't really close the bug. This is also a major step in stripping nms-info-box apart. Next up is listing existing networks, possibly linking to them. I think that might be a decent first-step towards a new core nms-info-box since it doesn't alreay exist.
* Move the info summary in the info-box into nmsBox-logicKristian Lyngstol2019-01-11-0/+1
| | | | | | | Also some other random drive-by fixes :D Fixes #180 References #181
* Fix placement/style of mini-oplogKristian Lyngstol2019-01-07-2/+0
|
* More big stuff: Re-do the oplogKristian Lyngstol2019-01-07-12/+1
| | | | | This is still a bit of a mess, but I'm establishing a new way of doing things, it'll be awesome, I swear...
* Extenstive frontend work on box/type/switch editingKristian Lyngstol2019-01-06-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Still not very visible, but the nmsModSwitch() class is starting to look very interesting. This introduces a big thing: A type system. So far it is "only" used to provide generic validation-services for all fields that will be edited, but the scope can extend further into other uses. The implementation as it is does shallow validation for IP addresses, JSON-input (tags,placement), durations/intervals (poll frequency), sysname references (checks that distro_name is a valid system), and networks (verifying that mgmt_vlan / traffic_vlan exists). This is expected to improve over time, and should eventually lead to things like "if it doesn't exist, then please make it." As the big comment in nms-ui-switch.js now suggests: This is still just a proof of concept and while the fundamental concepts of nmsBox seems to work well, I still feel like I have a lot to iron out in nmsModSwitch, which really should be generic for networks and switches at the very least. But we're getting there.
* Introduce nms-ui-boxes, a big step for GUIKristian Lyngstol2019-01-06-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | nmsBox is a new class for generic HTML-based elements, and will eventually be used to replace nms-info-box. The idea is simple: a generic way to deal with containers that are usually represented in HTML too. To test it, I've re-implemented the GUI for the oplog. This rewrite didn't really utilize the new benefits of the framework, but was a small step. I've also added nms-ui-switch, which isn't exposed anywhere yet and isn't done, but is a good start. nms-ui-switch will be the new way to add and edit switches in the future, it will probably be made more generic over time and thus can be reused for networks too. Note how x = nmsUiSwitch() will allow you to do x.row["community"].value to both get and set the value, and setting will visually update and run any verifier that will be relevant, and alert the parent. This can then be used for simple stuff like json-verification, but also for stuff like auto-complete or whatnot. God only knows. Obviously I will continue to work on this over the next few days...
* Merge pull request #169 from tech-server/cpu-map-hotkeyKristian Lyngstøl2019-01-03-0/+4
|\ | | | | Adding CPU map to key 9, moving disco to 0
| * Adding CPU map to key 9, moving disco to 0cpu-map-hotkeyMagnus Kirø2018-04-06-0/+4
| |
* | Tweak general lookKristian Lyngstol2019-01-02-20/+7
| |
* | front: Shortcut for toggling the oplog (o)Kristian Lyngstol2018-04-09-0/+4
| |
* | Mange dager med rot på TG18root2018-03-26-2/+3
| |
* | Commit diverse av Ole Mathias sitt template-greierroot2018-03-22-5/+5
|/
* Merge pull request #168 from olemathias/network-firstclassKristian Lyngstøl2018-03-21-2/+5
|\ | | | | Network as own table
| * Added network to menuOle Mathias Aa. Heggem2018-01-28-2/+5
| |
* | Make health-map defaultroot2018-03-21-2/+2
|/
* influx/chart and ansibleOle Mathias Aa. Heggem2017-11-05-3/+6
|
* Merge pull request #155 from msbone/masterKristian Lyngstøl2017-04-20-1/+1
|\ | | | | Added a basic search results page and search on tags
| * Merge remote-tracking branch 'refs/remotes/tech-server/master'Ole Mathias Heggem2017-04-19-8/+8
| |\
| * | Added a basic search results page and search on tagsOle Mathias Heggem2017-03-25-1/+1
| | |
* | | Further tidying upKristian Lyngstol2017-04-20-1/+1
| |/ |/|
* | TG17 monster commitKristian Lyngstøl2017-04-16-7/+7
| |
* | TG17 stuff ?Kristian Lyngstøl2017-04-10-2/+2
|/
* Change titleKristian Lyngstol2016-11-16-1/+1
|
* Tweak template UI slightlyKristian Lyngstol2016-11-14-8/+5
|
* More GUI for the templating frontendKristian Lyngstol2016-11-14-3/+21
| | | | | | | | Fixes #151 While there are certainly more things that can be done - such as reading the list of templates dynamically, it wouldn't be horrible to go into production with the GUI the way it is right now.
* Provide basic UI for template-testingKristian Lyngstol2016-11-14-0/+11
| | | | | | Still leaves a lot to be desired, but is a good start. References #151
* Tweak title-text for the overview graphKristian Lyngstol2016-11-07-1/+1
|
* Graph ALL the thingsKristian Lyngstol2016-11-07-0/+3
| | | | | | | Tweaks background colors on graphs. Adds a funky "ticker" to the navbar that may or may not break small screens. Graphs average latency and total bandwidth for all equipment.
* Remove Score Card-pageKristian Lyngstol2016-11-06-10/+0
| | | | | | | | It doesn't do any good in its current implementation. If it were to make sense, we'd need to drastically enrich it. Closes #128
* Bump us over to TG maps and layoutsKristian Lyngstol2016-11-04-1/+1
|
* Tooltips på oplog og flere tweaksKristian Lyngstol2016-07-01-1/+1
| | | | | | Tooltips vil være litt browseravhengig. Fikser også noen nightmode issues her og der.
* Remove debug output and fix linknet-adding in nightmodeKristian Lyngstol2016-07-01-3/+7
|
* front: Add score card pageKristian Lyngstol2016-06-30-0/+10
| | | | Displays a sorted list of what needs attention.
* Add DHCP-based client counter in front-endKristian Lyngstol2016-06-30-0/+2
|
* front: Introduce a tiny heart that pulses....Kristian Lyngstol2016-05-31-0/+1
| | | | | | | | | The HTML/detail should probably be tweaked, but I think we need a way to show that Gondul is still alive now that we are hiding the time stamp by default. Feel free to throw the HTML/CSS away in favor of some other subtle but noticeable "animation".
* front: Tweak logbook and info-box styles and feelKristian Lyngstol2016-05-28-1/+1
| | | | | | - Don't overload the logbook overlay - Neater date formatting (ugh, I hate that we need to do this) - Caption for the logbook in the info box
* dx: Switch base map and adjust placementKristian Lyngstol2016-05-28-1/+1
| | | | | | | | | | | | | I think we can say this Fixes #53 and Fixes #52 still should add support for making it configurable, that that's not a must for DX16 to take place.
* front: A few more time travel tweaksKristian Lyngstol2016-05-28-13/+10
| | | | | | | I can never get it all in a single commit. But I compensate by some times putting multiple unrelated things in the same commit.
* Fix numerous time-travel issues in front and APIKristian Lyngstol2016-05-28-3/+4
| | | | | | | | | | | | | | | | | Fixes #69 #11 #5 Introduces nmsTime which unifies the time travel code a bit. It still needs some work, but this is much better. All conversion is now done by native JavaScript methods, freeing us from the hell that is parsing it ourself. One thing should be added: The backend should discard any now=values that are not 5-minute intervals. We don't want to kill the cache and the database by extension. Still need to re-implement the "replay event" shorthand, but that ties in to #54
* Add dx16 early graphics and adjust placementKristian Lyngstol2016-05-28-1/+1
| | | | | | References #53 #52 #54 It's hardcoded, but I can live with that for now.
* front: More visual tweaks and tuneupsKristian Lyngstol2016-05-28-8/+9
| | | | | | | - Time in oplog is now localtime and properly padded (00:10, not 0:10) - Health map instead of combo/aggregated - Tweak the menu slightly - Rotate and resize the random switch in guess_placement
* front: Tweak various aestheticsKristian Lyngstol2016-05-28-1/+1
|
* front/api: Add user-provided nick to oplogKristian Lyngstol2016-05-28-0/+1
| | | | | | Fixes #84 It's really stupid simple, but it will work.
* front: Move CSS out of index.htmlKristian Lyngstol2016-05-22-99/+20
|
* Front: Separate searching from the info-boxKristian Lyngstol2016-05-22-2/+3
|
* Search box/oplog: Add string-literal searchKristian Lyngstol2016-05-22-0/+1
| | | | | You can now use "foo" to find a switch called foo, but not also the ones called foobar foobar1, etc
* Add a combined health mapKristian Lyngstol2016-05-20-0/+5
| | | | | | | | | | 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.
* Add rudimentary way of providing linknets.Kristian Lyngstol2016-05-20-0/+8
| | | | Needs a lot of work, including the API side, possibly also the schema.