Skip to content

Instantly share code, notes, and snippets.

@fcgdam fcgdam/template.js
Created May 10, 2018

What would you like to do?
Node-Red Status indicator Template code
.dot {
height: 25px;
width: 25px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
float: right;
<span class='dot' style='background-color: {{msg.payload.color}}; box-shadow: black 0 -1px 1px 0px, inset black 0 -1px 4px'></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.