Added an off button.

This commit is contained in:
Arti Zirk 2016-10-15 13:27:07 +02:00
parent 0efec9c593
commit 8e55cc03c0

View File

@ -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"