Created
May 10, 2018 15:40
-
-
Save fcgdam/6be233afa8225311694b663804a58d20 to your computer and use it in GitHub Desktop.
Node-Red Status indicator Template code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.dot { | |
height: 25px; | |
width: 25px; | |
background-color: #bbb; | |
border-radius: 50%; | |
display: inline-block; | |
float: right; | |
} | |
</style> | |
<div>{{msg.payload.title}} | |
<span class='dot' style='background-color: {{msg.payload.color}}; box-shadow: black 0 -1px 1px 0px, inset black 0 -1px 4px'></span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment