From 8327ff010893935c0c517c729727464f66badd89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 22 Oct 2017 20:37:41 +0200 Subject: [PATCH] update front-end for new backend config storage --- _debug_replacements.php | 8 ++++---- pages/cfg_term.php | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_debug_replacements.php b/_debug_replacements.php index 3e99899..3c11aee 100644 --- a/_debug_replacements.php +++ b/_debug_replacements.php @@ -20,7 +20,7 @@ if (file_exists($versfn)) { } return [ - 'term_title' => ESP_DEMO ? 'ESPTerm Web UI Demo' : 'ESPTerm local debug', + 'title' => ESP_DEMO ? 'ESPTerm Web UI Demo' : 'ESPTerm local debug', 'btn1' => 'OK', 'btn2' => 'Cancel', @@ -79,14 +79,14 @@ return [ 'sta_mac' => '5c:cf:7f:02:74:51', 'ap_mac' => '5e:cf:7f:02:74:51', - 'term_width' => '80', - 'term_height' => '25', + 'width' => '80', + 'height' => '25', 'default_bg' => '0', 'default_fg' => '7', 'show_buttons' => '1', 'show_config_links' => '1', - 'uart_baud' => 115200, + 'uart_baudrate' => 115200, 'uart_stopbits' => 1, 'uart_parity' => 2, diff --git a/pages/cfg_term.php b/pages/cfg_term.php index ad2bc8b..608dee0 100644 --- a/pages/cfg_term.php +++ b/pages/cfg_term.php @@ -134,18 +134,18 @@
- - + +
- - + +
- - + +
@@ -203,8 +203,8 @@
- -