Added an off button.
This commit is contained in:
1
main.py
1
main.py
@@ -91,6 +91,7 @@ html = """<!DOCTYPE html>
|
||||
<div style="display: inline-block; position: relative; top: -24px;">
|
||||
<!--input type="text" style="display: block; width: 46px; font-size: 20px; padding: 0; margin: 20px 0;"-->
|
||||
<button style="display:block; height:50px; width:50px;padding:10px;font-size: 25px;" onclick="heat('1')">↑</button>
|
||||
<button style="display:block; height:50px; width:50px;padding:10px;font-size: 25px;" onclick="heat('2')">OFF</button>
|
||||
<button style="display:block; height:50px; width:50px;padding:10px;font-size: 25px;" onclick="heat('0')">↓</button>
|
||||
</div>
|
||||
<canvas data-width="100"
|
||||
|
||||
Reference in New Issue
Block a user