1 parent 616d48f commit d4a9037Copy full SHA for d4a9037
1 file changed
templates/scenes/widgets/device_block.html
@@ -0,0 +1,7 @@
1
+<div style="width:100%;height:100%;
2
+ display: flex;
3
+ align-items: center;
4
+ background-color: rgba(%widget_background_rgba%);
5
+ justify-content: center;"><svg width="100%" height="100%" viewBox="0 0 260 60" preserveAspectRatio="none">
6
+ <foreignObject width="100%" height="100%">[#module name="devices" id="%device_id%"#]</foreignObject></svg>
7
+</div>
0 commit comments