Skip to content

Commit 67ff6db

Browse files
authored
Update index.html
1 parent 469f12c commit 67ff6db

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<title>SCE LED Sign</title>
77
</head>
88
<body>
9-
<h3>hello from the sign :D</h3>
9+
<marquee id = "test" direction ="left" scrollamount = {{sign_message.to_dict()['scrollSpeed']}} style = "border-style: solid; border-width: 10px; font-family: monospace;font-size: 50px;">{{sign_message.to_dict()['text']}}</marquee>
10+
<script>
11+
document.getElementById("test").style.color = '{{sign_message.to_dict()['textColor']}}';
12+
document.getElementById("test").style.backgroundColor = '{{sign_message.to_dict()['backgroundColor']}}';
13+
document.getElementById("test").style.borderColor = '{{sign_message.to_dict()['borderColor']}}';
14+
</script>
1015
</body>
1116
</html>

0 commit comments

Comments
 (0)