Browse Source

Fixing look & feel

v2
Xose Pérez 6 years ago
parent
commit
e0f72bee0e
14 changed files with 17429 additions and 17410 deletions
  1. BIN
      code/espurna/data/index.all.html.gz
  2. BIN
      code/espurna/data/index.light.html.gz
  3. BIN
      code/espurna/data/index.rfbridge.html.gz
  4. BIN
      code/espurna/data/index.rfm69.html.gz
  5. BIN
      code/espurna/data/index.sensor.html.gz
  6. BIN
      code/espurna/data/index.small.html.gz
  7. +3045
    -3042
      code/espurna/static/index.all.html.gz.h
  8. +2961
    -2957
      code/espurna/static/index.light.html.gz.h
  9. +2551
    -2548
      code/espurna/static/index.rfbridge.html.gz.h
  10. +4029
    -4027
      code/espurna/static/index.rfm69.html.gz.h
  11. +2310
    -2306
      code/espurna/static/index.sensor.html.gz.h
  12. +2514
    -2511
      code/espurna/static/index.small.html.gz.h
  13. +16
    -16
      code/html/custom.css
  14. +3
    -3
      code/html/index.html

BIN
code/espurna/data/index.all.html.gz View File


BIN
code/espurna/data/index.light.html.gz View File


BIN
code/espurna/data/index.rfbridge.html.gz View File


BIN
code/espurna/data/index.rfm69.html.gz View File


BIN
code/espurna/data/index.sensor.html.gz View File


BIN
code/espurna/data/index.small.html.gz View File


+ 3045
- 3042
code/espurna/static/index.all.html.gz.h
File diff suppressed because it is too large
View File


+ 2961
- 2957
code/espurna/static/index.light.html.gz.h
File diff suppressed because it is too large
View File


+ 2551
- 2548
code/espurna/static/index.rfbridge.html.gz.h
File diff suppressed because it is too large
View File


+ 4029
- 4027
code/espurna/static/index.rfm69.html.gz.h
File diff suppressed because it is too large
View File


+ 2310
- 2306
code/espurna/static/index.sensor.html.gz.h
File diff suppressed because it is too large
View File


+ 2514
- 2511
code/espurna/static/index.small.html.gz.h
File diff suppressed because it is too large
View File


+ 16
- 16
code/html/custom.css View File

@ -61,7 +61,7 @@ h2 {
.hint { .hint {
color: #ccc; color: #ccc;
font-size: 80%; font-size: 80%;
margin: 0px 0 10px 0;
margin: -10px 0 10px 0;
} }
.hint a { .hint a {
@ -236,25 +236,24 @@ span.slider {
Checkboxes Checkboxes
-------------------------------------------------------------------------- */ -------------------------------------------------------------------------- */
.toggleWrapper{
.toggleWrapper {
overflow: hidden; overflow: hidden;
width:auto;
height:29px;
border: 1px solid #AAA;
margin: 0px;
width: auto;
height: 30px;
margin: 0px 0px 10px 0px;
padding: 0px; padding: 0px;
border-radius: 4px; border-radius: 4px;
box-shadow: inset 1px 1px #CCC; box-shadow: inset 1px 1px #CCC;
} }
.toggleWrapper input{
.toggleWrapper input {
position: absolute; position: absolute;
left: -99em; left: -99em;
} }
label[for].toggle{
label[for].toggle {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
.toggle{
.toggle {
letter-spacing:normal; letter-spacing:normal;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
@ -267,7 +266,8 @@ label[for].toggle{
-webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95); -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95); transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
} }
.toggle:before, .toggle:after{
.toggle:before,
.toggle:after {
position: absolute; position: absolute;
line-height: 30px; line-height: 30px;
font-size: .7em; font-size: .7em;
@ -275,21 +275,21 @@ label[for].toggle{
-webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95); -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95); transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
} }
.toggle:before{
.toggle:before {
content: "NO"; content: "NO";
left: 20px; left: 20px;
} }
input[name="relay"] + .toggle:before{
input[name="relay"] + .toggle:before {
content: "OFF"; content: "OFF";
} }
.toggle:after{ .toggle:after{
content: "YES"; content: "YES";
right: 20px; right: 20px;
} }
input[name="relay"] + .toggle:after{
input[name="relay"] + .toggle:after {
content: "ON"; content: "ON";
} }
.toggle__handler{
.toggle__handler {
display: inline-block; display: inline-block;
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -315,7 +315,7 @@ input:checked + .toggle:before {
input + .toggle:before { input + .toggle:before {
color: #fff; color: #fff;
} }
input:checked + .toggle .toggle__handler{
input:checked + .toggle .toggle__handler {
width: 50%; width: 50%;
background: #00c000; background: #00c000;
-webkit-transform: translateX(65px); -webkit-transform: translateX(65px);
@ -326,7 +326,7 @@ input:checked + .toggle .toggle__handler{
border-top-right-radius: 4px; border-top-right-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
} }
input[disabled] + .toggle .toggle__handler{
input[disabled] + .toggle .toggle__handler {
background: #ccc; background: #ccc;
} }


+ 3
- 3
code/html/index.html View File

@ -633,11 +633,10 @@
<div class="pure-u-1 pure-u-lg-1-4"><input type="checkbox" name="wifiScan" tabindex="1" /></div> <div class="pure-u-1 pure-u-lg-1-4"><input type="checkbox" name="wifiScan" tabindex="1" /></div>
<div class="pure-u-0 pure-u-lg-1-2"></div> <div class="pure-u-0 pure-u-lg-1-2"></div>
<div class="pure-u-0 pure-u-lg-1-4"></div> <div class="pure-u-0 pure-u-lg-1-4"></div>
<div class="pure-u-1 pure-u-lg-3-4 hint"><thead>
<div class="pure-u-1 pure-u-lg-3-4 hint">
ESPurna will scan for visible WiFi SSIDs and try to connect to networks defined below in order of <strong>signal strength</strong>, even if multiple AP share the same SSID. ESPurna will scan for visible WiFi SSIDs and try to connect to networks defined below in order of <strong>signal strength</strong>, even if multiple AP share the same SSID.
When disabled, ESPurna will try to connect to the networks in the same order they are listed below. When disabled, ESPurna will try to connect to the networks in the same order they are listed below.
Disable this option if you are <strong>connecting to a single access point</strong> (or router) or to a <strong>hidden SSID</strong>. Disable this option if you are <strong>connecting to a single access point</strong> (or router) or to a <strong>hidden SSID</strong>.
</thead>
</div> </div>
<div class="pure-u-0 pure-u-lg-1-4"></div> <div class="pure-u-0 pure-u-lg-1-4"></div>
<button class="pure-button button-wifi-scan" type="button">Scan now</button> <button class="pure-button button-wifi-scan" type="button">Scan now</button>
@ -858,7 +857,8 @@
<div class="pure-g"> <div class="pure-g">
<label class="pure-u-1 pure-u-lg-1-4">Use JSON payload</label> <label class="pure-u-1 pure-u-lg-1-4">Use JSON payload</label>
<div class="pure-u-1 pure-u-lg-3-4"><input type="checkbox" name="mqttUseJson" tabindex="32" /></div>
<div class="pure-u-1 pure-u-lg-1-4"><input type="checkbox" name="mqttUseJson" tabindex="32" /></div>
<div class="pure-u-1 pure-u-lg-1-2"></div>
<div class="pure-u-1 pure-u-lg-1-4"></div> <div class="pure-u-1 pure-u-lg-1-4"></div>
<div class="pure-u-1 pure-u-lg-3-4 hint"> <div class="pure-u-1 pure-u-lg-3-4 hint">
All messages (except the device status) will be included in a JSON payload along with the timestamp and hostname All messages (except the device status) will be included in a JSON payload along with the timestamp and hostname


Loading…
Cancel
Save