diff --git a/sdCard_content/WWW/index.htm b/sdCard_content/WWW/index.htm index 3b25720..0e783d3 100644 --- a/sdCard_content/WWW/index.htm +++ b/sdCard_content/WWW/index.htm @@ -10,7 +10,6 @@

ESP8266 Embedded System Dashboard

-
disconnected
@@ -108,28 +110,36 @@

MODE

-

OUT

+ + -

OUT

+ + -

OUT

+ + -

OUT

+ + -

OUT

+ + -

OUT

+ + -

OUT

+ + -

OUT

+ + @@ -137,28 +147,36 @@

LEVEL

-

1

- - -

1

- - -

1

- - -

1

- - -

1

- - -

1

- - -

1

- - -

1

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdCard_content/WWW/rsrc/script.js b/sdCard_content/WWW/rsrc/script.js index 156a5af..1d72340 100644 --- a/sdCard_content/WWW/rsrc/script.js +++ b/sdCard_content/WWW/rsrc/script.js @@ -35,7 +35,7 @@ function onTimeOut(e) document.getElementById('imgDisco').style.display = 'block'; } -function connectedUpdate() +function onConnected() { document.getElementById('imgDisco').style.display = 'none'; document.getElementById('imgConn').style.display = 'block'; @@ -63,7 +63,7 @@ function refreshRtc() break; case 4: console.log("Response is ready"); - if(this.status != 0){connectedUpdate();} + if(this.status != 0){onConnected();} if(this.status == 200) { console.log("Response : " + this.responseText); diff --git a/sdCard_content/WWW/rsrc/style.css b/sdCard_content/WWW/rsrc/style.css index 0be3486..91d27bd 100644 --- a/sdCard_content/WWW/rsrc/style.css +++ b/sdCard_content/WWW/rsrc/style.css @@ -17,19 +17,9 @@ header > h1 margin:0; padding:0; } -header > #conIcon +#conIcon > img { - margin-top:-105px; - background-color:white; - display:inline-block; - position:absolute; - top:20vh; - left:0px; - -} -header > #conIcon > img -{ - width:100px; + width:70px; padding:0; margin:0; } @@ -78,7 +68,8 @@ input[type='number'] { display:flex; align-items: stretch; - flex-direction: row-reverse + flex-direction: row-reverse; + justify-content:flex-end; } .item @@ -88,8 +79,20 @@ input[type='number'] background-color:white; min-width:60px; } + +.item-start +{ + border:1px black solid; + margin:0 10px 0 10px; + background-color:white; + min-width:60px; +} .inline { display:inline-block; border:1px black solid; +} +.mode-img +{ + width:40px; } \ No newline at end of file