Browse Source

Move string parts to progmem

webui
Xose Pérez 6 years ago
parent
commit
d476557329
16 changed files with 15632 additions and 15620 deletions
  1. +1
    -1
      code/espurna/config/defaults.h
  2. BIN
      code/espurna/data/index.all.html.gz
  3. BIN
      code/espurna/data/index.light.html.gz
  4. BIN
      code/espurna/data/index.rfbridge.html.gz
  5. BIN
      code/espurna/data/index.rfm69.html.gz
  6. BIN
      code/espurna/data/index.sensor.html.gz
  7. BIN
      code/espurna/data/index.small.html.gz
  8. +2666
    -2665
      code/espurna/static/index.all.html.gz.h
  9. +2528
    -2527
      code/espurna/static/index.light.html.gz.h
  10. +2456
    -2455
      code/espurna/static/index.rfbridge.html.gz.h
  11. +3522
    -3521
      code/espurna/static/index.rfm69.html.gz.h
  12. +2209
    -2208
      code/espurna/static/index.sensor.html.gz.h
  13. +2239
    -2238
      code/espurna/static/index.small.html.gz.h
  14. +5
    -5
      code/espurna/utils.ino
  15. +5
    -0
      code/html/custom.js
  16. +1
    -0
      code/html/index.html

+ 1
- 1
code/espurna/config/defaults.h View File

@ -577,5 +577,5 @@
// App revision, populated by the build script
#ifndef APP_REVISION
#define APP_REVISION ""
#define APP_REVISION NULL
#endif

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


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


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


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


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


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


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


+ 5
- 5
code/espurna/utils.ino View File

@ -267,11 +267,11 @@ void info() {
// -------------------------------------------------------------------------
if (strlen(APP_REVISION) > 0) {
DEBUG_MSG_P(PSTR("[MAIN] %s %s (%s)\n"), (char *) APP_NAME, (char *) APP_VERSION, (char *) APP_REVISION);
} else {
DEBUG_MSG_P(PSTR("[MAIN] %s %s\n"), (char *) APP_NAME, (char *) APP_VERSION);
}
#if APP_REVISION == NULL
DEBUG_MSG_P(PSTR("[MAIN] " APP_NAME " " APP_VERSION "\n"));
#else
DEBUG_MSG_P(PSTR("[MAIN] " APP_NAME " " APP_VERSION " (" APP_REVISION ")\n"));
#endif
DEBUG_MSG_P(PSTR("[MAIN] " APP_AUTHOR "\n"));
DEBUG_MSG_P(PSTR("[MAIN] " APP_WEBSITE "\n\n"));
DEBUG_MSG_P(PSTR("[MAIN] CPU chip ID: 0x%06X\n"), ESP.getChipId());


+ 5
- 0
code/html/custom.js View File

@ -1414,6 +1414,11 @@ function processData(data) {
if ("ntpStatus" === key) {
value = value ? "SYNC'D" : "NOT SYNC'D";
}
if ("app_revision" === key) {
if (0 === value) {
value = "";
}
}
if ("uptime" === key) {
ago = 0;
var uptime = parseInt(value, 10);


+ 1
- 0
code/html/index.html View File

@ -173,6 +173,7 @@
<div class="footer">
&copy; 2016-2018<br />
Xose Pérez<br/>
<a href="https://twitter.com/xoseperez" target="_blank">@xoseperez</a><br/>
<a href="http://tinkerman.cat" target="_blank">http://tinkerman.cat</a><br/>
<a href="https://github.com/xoseperez/espurna" target="_blank">ESPurna @ GitHub</a><br/>
GPLv3 license<br/>


Loading…
Cancel
Save