Skip to content

Commit

Permalink
Create device_block.html
Browse files Browse the repository at this point in the history
Missing file :)
  • Loading branch information
sergejey committed Mar 15, 2023
1 parent 616d48f commit d4a9037
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/scenes/widgets/device_block.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div style="width:100%;height:100%;
display: flex;
align-items: center;
background-color: rgba(%widget_background_rgba%);
justify-content: center;"><svg width="100%" height="100%" viewBox="0 0 260 60" preserveAspectRatio="none">
<foreignObject width="100%" height="100%">[#module name="devices" id="%device_id%"#]</foreignObject></svg>
</div>

0 comments on commit d4a9037

Please sign in to comment.