| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
| |
Also some other random drive-by fixes :D
Fixes #180
References #181
|
|
|
|
|
|
| |
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....
|
|
|
|
|
| |
The timeout makes things about 1000x more complicated, but adds a really nice
effect too.
|
| |
|
|
|
|
| |
Too late, need sleeeezpzpeepzor
|
|
|
|
|
| |
This is still a bit of a mess, but I'm establishing a new way of doing things,
it'll be awesome, I swear...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
|
|
| |
Tooltips vil være litt browseravhengig.
Fikser også noen nightmode issues her og der.
|
|
|
|
|
|
|
|
| |
....
Oplog: Don't send empty oplog entries.
When viewing a switch, don't include oplog entries that have a blank
system association.
|
|
|
|
| |
Firefox....
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Fixes #84
It's really stupid simple, but it will work.
|
|
|
|
| |
KEK
|
|
|
|
| |
Fixes #76
|
| |
|
|
|
|
| |
Also: onclick handler for log entries.
|
| |
|
| |
|
|
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
|