Script to convert Unifi device topology map to drawio
https://twitter.com/syu_chan_1005/status/1694661374608281770
- log in to unifi os and display the topology map
- open the developer tools and go to the console tab
<template> | |
<div class="slider" :style="sliderStyle" ref="slider"> | |
<div class="base" :style="baseStyle"> | |
<div class="text" :style="textStyle">{{ this.text }}</div> | |
<div class="thumb" :style="thumbStyle" | |
@mousedown="mouseDown" @touchstart="touchStart" @touchend="touchEnd" @touchcancel="touchCancel"></div> | |
</div> | |
</div> | |
</template> |
diff --git a/pkg/provider/docker/docker.go b/pkg/provider/docker/docker.go | |
index 0516620ce..488624047 100644 | |
--- a/pkg/provider/docker/docker.go | |
+++ b/pkg/provider/docker/docker.go | |
@@ -401,7 +401,7 @@ func parseContainer(container dockertypes.ContainerJSON) dockerData { | |
} | |
if container.Config != nil && container.Config.Labels != nil { | |
- dData.Labels = container.Config.Labels | |
+ dData.Labels = parseLabels(container) |
Script to convert Unifi device topology map to drawio
https://twitter.com/syu_chan_1005/status/1694661374608281770
If not bound to the cloud, a Local MQTT server is a good choice.
dev-tools
and move to Application > Cookies > https://makerworld.com
token
string as ACCESS_TOKEN