aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-oplog.js
Commit message (Collapse)AuthorAgeLines
* Upgrade bootstrap and rewrite API (#230)HEADmasterOle Mathias Aa. Heggem2025-04-13-258/+269
|
* Move the info summary in the info-box into nmsBox-logicKristian Lyngstol2019-01-11-4/+0
| | | | | | | Also some other random drive-by fixes :D Fixes #180 References #181
* Re-introduce the use-name-box and tweak styleKristian Lyngstol2019-01-08-10/+20
| | | | | | Turns out the style-diff was because the old implementation with hard-coded HTML had indentation == white space, which rendered as white-space between the elements.... This SHOULD be a CSS fix, but in the meanwhile....
* Tweak the oplog-hover-thingKristian Lyngstol2019-01-07-2/+7
| | | | | The timeout makes things about 1000x more complicated, but adds a really nice effect too.
* Auto-hilight systems on oplog-hoverKristian Lyngstol2019-01-07-5/+24
|
* Bad attempt at fixing the margins in the oplog-entryKristian Lyngstol2019-01-07-5/+5
| | | | Too late, need sleeeezpzpeepzor
* More big stuff: Re-do the oplogKristian Lyngstol2019-01-07-98/+219
| | | | | This is still a bit of a mess, but I'm establishing a new way of doing things, it'll be awesome, I swear...
* Introduce nms-ui-boxes, a big step for GUIKristian Lyngstol2019-01-06-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* TG17 monster commitKristian Lyngstøl2017-04-16-1/+4
|
* Tooltips på oplog og flere tweaksKristian Lyngstol2016-07-01-1/+2
| | | | | | Tooltips vil være litt browseravhengig. Fikser også noen nightmode issues her og der.
* front: Fix basic Safari-stuff and misc oplog-issuesKristian Lyngstol2016-06-30-7/+14
| | | | | | | | .... Oplog: Don't send empty oplog entries. When viewing a switch, don't include oplog entries that have a blank system association.
* js: Oplog tweaks for datesKristian Lyngstol2016-06-29-1/+1
| | | | Firefox....
* front: Tweak logbook and info-box styles and feelKristian Lyngstol2016-05-28-4/+13
| | | | | | - 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
* front: More visual tweaks and tuneupsKristian Lyngstol2016-05-28-1/+6
| | | | | | | - 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/api: Add user-provided nick to oplogKristian Lyngstol2016-05-28-6/+29
| | | | | | Fixes #84 It's really stupid simple, but it will work.
* front: Remove some old console.log() remnantsKristian Lyngstol2016-05-25-1/+1
| | | | KEK
* front: Fix switch viewing in public and tvmode-initKristian Lyngstol2016-05-25-0/+2
| | | | Fixes #76
* Front: Separate searching from the info-boxKristian Lyngstol2016-05-22-1/+1
|
* Tweak log entries and switch entriesKristian Lyngstol2016-05-19-0/+3
| | | | Also: onclick handler for log entries.
* Disable IE support and HTML-injectionKristian Lyngstol2016-05-18-2/+2
|
* Remove comments from code in place of oplogsKristian Lyngstol2016-05-18-4/+14
|
* Add basic oplogKristian Lyngstol2016-05-18-0/+65
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