-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.min.htm
1 lines (1 loc) · 5.46 KB
/
index.min.htm
1
<!DOCTYPE html><html lang="pt-BR"><head><title>Arduino</title><meta charset="UTF-8"name="viewport"content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="apple-mobile-web-app-capable"content="yes"><script>var C=0,D=0,E=0,F=0,X=' ';function A(){var r=new XMLHttpRequest();r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE&&r.status==200&&r.responseXML!=null){if(parseInt(r.responseXML.getElementsByTagName('D')[0].childNodes[0].nodeValue)){document.getElementById('B').setAttribute('class','b g k s');C=1}else{document.getElementById('B').setAttribute('class','b g k d');C=0}if(parseInt(r.responseXML.getElementsByTagName('D')[1].childNodes[0].nodeValue)){document.getElementById('C').setAttribute('class','b g k s');D=1}else{document.getElementById('C').setAttribute('class','b g k d');D=0}if(parseInt(r.responseXML.getElementsByTagName('D')[2].childNodes[0].nodeValue)){document.getElementById('D').setAttribute('class','b g k s');E=1}else{document.getElementById('D').setAttribute('class','b g k d');E=0}if(parseInt(r.responseXML.getElementsByTagName('D')[3].childNodes[0].nodeValue)){document.getElementById('E').setAttribute('class','b g k s');F=1}else{document.getElementById('E').setAttribute('class','b g k d');F=0}if(C&&D&&E&&F){document.getElementById('A').setAttribute('class','b g k s')}else{document.getElementById('A').setAttribute('class','b g k d')}}};r.open('GET','IO.XML'+X, true);r.send();X=' '}function B(z){X='?D='+z;A()}</script><Style>html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}button{color:inherit;font:inherit;margin:0;overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner{border:0;padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button{font-family:inherit;font-size:inherit;line-height:inherit}[role="button"]{cursor:pointer}.c{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.r{margin-left:-15px;margin-right:-15px}.n, .m, .x{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.x{float:left;width:100%}@media (min-width:768px){.n, .m{float:left}.m{width:66.66666667%}.n{width:16.66666667%}}.b{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.b:focus,.b:active:focus,.b.active:focus,.b.focus,.b:active.focus,.b.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.b:hover,.b:focus,.b.focus{color:#333;text-decoration:none}.b:active,.b.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.p{color:#333;background-color:#fff;border-color:#ccc}.p:focus,.p.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.p:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.p:active,.p.active{color:#333;background-color:#e6e6e6;border-color:#adadad}.p:active:hover,.p.active:hover,.p:active:focus,.p.active:focus,.p:active.focus,.p.active.focus{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.p:active,.p.active{background-image:none}.s{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.s:focus,.s.focus{color:#fff;background-color:#449d44;border-color:#255625}.s:hover{color:#fff;background-color:#449d44;border-color:#398439}.s:active,.s.active{color:#fff;background-color:#449d44;border-color:#398439}.s:active:hover,.s.active:hover,.s:active:focus,.s.active:focus,.s:active.focus,.s.active.focus{color:#fff;background-color:#398439;border-color:#255625}.s:active,.s.active{background-image:none}.d{color:#fff;background-color:#d9534f;border-color:#d43f3a}.d:focus,.d.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.d:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.d:active,.d.active{color:#fff;background-color:#c9302c;border-color:#ac2925}.d:active:hover,.d.active:hover,.d:active:focus,.d.active:focus,.d:active.focus,.d.active.focus{color:#fff;background-color:#ac2925;border-color:#761c19}.d:active,.d.active{background-image:none}.g{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.k{display:block;width:100%}.k+.k{margin-top:5px}.c:before,.c:after,.r:before,.r:after{content:" ";display:table}.c:after,.r:after{clear:both}</style></head><body onload="setInterval('A()',1000)"><div class="c"><div class="r"><div class="n"></div><div class="x m"><div class="r"><button type="button"class="b g k p"id="A"onclick="B(99)">Tudo</button></div><div class="r"><button type="button"class="b g k p"id="B"onclick="B(06)">Pin 06</button></div><div class="r"><button type="button"class="b g k p"id="C"onclick="B(07)">Pin 07</button></div><div class="r"><button type="button"class="b g k p"id="D"onclick="B(08)">Pin 08</button></div><div class="r"><button type="button"class="b g k p"id="E"onclick="B(09)">Pin 09</button></div></div><div class="n"></div></div></div></body></html>