Browse Source

webui: bump old deps

mcspr-patch-1
Maxim Prokhorov 3 years ago
parent
commit
3e0291e534
24 changed files with 19075 additions and 19436 deletions
  1. BIN
      code/espurna/data/index.all.html.gz
  2. BIN
      code/espurna/data/index.curtain.html.gz
  3. BIN
      code/espurna/data/index.garland.html.gz
  4. BIN
      code/espurna/data/index.light.html.gz
  5. BIN
      code/espurna/data/index.lightfox.html.gz
  6. BIN
      code/espurna/data/index.rfbridge.html.gz
  7. BIN
      code/espurna/data/index.rfm69.html.gz
  8. BIN
      code/espurna/data/index.sensor.html.gz
  9. BIN
      code/espurna/data/index.small.html.gz
  10. BIN
      code/espurna/data/index.thermostat.html.gz
  11. +951
    -951
      code/espurna/static/index.all.html.gz.h
  12. +1853
    -1853
      code/espurna/static/index.curtain.html.gz.h
  13. +2161
    -2161
      code/espurna/static/index.garland.html.gz.h
  14. +537
    -537
      code/espurna/static/index.light.html.gz.h
  15. +1831
    -1831
      code/espurna/static/index.lightfox.html.gz.h
  16. +1828
    -1828
      code/espurna/static/index.rfbridge.html.gz.h
  17. +3400
    -3400
      code/espurna/static/index.rfm69.html.gz.h
  18. +2031
    -2031
      code/espurna/static/index.sensor.html.gz.h
  19. +1819
    -1819
      code/espurna/static/index.small.html.gz.h
  20. +1819
    -1819
      code/espurna/static/index.thermostat.html.gz.h
  21. +2
    -2
      code/gulpfile.js
  22. +6
    -6
      code/html/custom.js
  23. +832
    -1193
      code/package-lock.json
  24. +5
    -5
      code/package.json

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


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


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


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


BIN
code/espurna/data/index.lightfox.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


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


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


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


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


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


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


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


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


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


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


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


+ 2
- 2
code/gulpfile.js View File

@ -173,15 +173,15 @@ var buildWebUI = function(module) {
} }
return gulp.src(htmlFolder + '*.html'). return gulp.src(htmlFolder + '*.html').
pipe(remover(modules)).
pipe(htmllint({ pipe(htmllint({
'failOnError': true, 'failOnError': true,
'rules': { 'rules': {
'id-class-style': false, 'id-class-style': false,
'label-req-for': false, 'label-req-for': false,
'line-end-style': false,
'line-end-style': false
} }
}, htmllintReporter)). }, htmllintReporter)).
pipe(remover(modules)).
pipe(favicon()). pipe(favicon()).
pipe(inline({ pipe(inline({
base: htmlFolder, base: htmlFolder,


+ 6
- 6
code/html/custom.js View File

@ -1284,7 +1284,7 @@ function initCurtain(data) {
var current = $("#curtains > div").length; var current = $("#curtains > div").length;
if (current > 0) { return; } if (current > 0) { return; }
// add curtain template (prepare multi switches) // add curtain template (prepare multi switches)
var template = $("#curtainTemplate").children(); var template = $("#curtainTemplate").children();
var line = $(template).clone(); var line = $(template).clone();
@ -1292,15 +1292,15 @@ function initCurtain(data) {
$(line).find(".button-curtain-open").on("click", function() { $(line).find(".button-curtain-open").on("click", function() {
sendAction("curtainAction", {button: 1}); sendAction("curtainAction", {button: 1});
$(this).css('background', 'red'); $(this).css('background', 'red');
});
});
$(line).find(".button-curtain-pause").on("click", function() { $(line).find(".button-curtain-pause").on("click", function() {
sendAction("curtainAction", {button: 0}); sendAction("curtainAction", {button: 0});
$(this).css('background', 'red'); $(this).css('background', 'red');
});
});
$(line).find(".button-curtain-close").on("click", function() { $(line).find(".button-curtain-close").on("click", function() {
sendAction("curtainAction", {button: 2}); sendAction("curtainAction", {button: 2});
$(this).css('background', 'red'); $(this).css('background', 'red');
});
});
line.appendTo("#curtains"); line.appendTo("#curtains");
// init curtain slider // init curtain slider
@ -1741,7 +1741,7 @@ function processData(data) {
} }
return; return;
} }
if (key == "rpnNames") return; if (key == "rpnNames") return;
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
@ -1773,7 +1773,7 @@ function processData(data) {
} }
$("#curtainSet").val(value.set); $("#curtainSet").val(value.set);
if(!value.moving) {
if(!value.moving) {
$("button.curtain-button").css('background', 'rgb(66, 184, 221)'); $("button.curtain-button").css('background', 'rgb(66, 184, 221)');
} else { } else {
if(!value.button) if(!value.button)


+ 832
- 1193
code/package-lock.json
File diff suppressed because it is too large
View File


+ 5
- 5
code/package.json View File

@ -5,17 +5,17 @@
"author": "Xose Pérez <xose.perez@gmail.com>", "author": "Xose Pérez <xose.perez@gmail.com>",
"license": "GPL-3.0", "license": "GPL-3.0",
"devDependencies": { "devDependencies": {
"gulp": "^4.0.0",
"gulp-base64-favicon": "^1.0.2",
"gulp": "^4.0.2",
"gulp-crass": "^0.2.2", "gulp-crass": "^0.2.2",
"gulp-css-base64": "^1.3.4",
"gulp-base64-favicon": "^1.0.3",
"gulp-css-base64": "^2.0.0",
"gulp-csslint": "^1.0.0", "gulp-csslint": "^1.0.0",
"gulp-gzip": "^1.4.0", "gulp-gzip": "^1.4.0",
"gulp-htmllint": "0.0.16",
"gulp-htmllint": "0.0.19",
"gulp-htmlmin": "^5.0.1", "gulp-htmlmin": "^5.0.1",
"gulp-inline": "^0.1.1", "gulp-inline": "^0.1.1",
"gulp-remove-code": "^3.0.4", "gulp-remove-code": "^3.0.4",
"gulp-rename": "^1.4.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.0.0", "gulp-replace": "^1.0.0",
"terser": "^4.8.0" "terser": "^4.8.0"
} }


Loading…
Cancel
Save