Deploy updates

master
Ondřej Hruška 7 years ago
parent c9b697aa4b
commit e601a5203e
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 11
      about.html
  2. 5
      cfg_network.html
  3. 26
      cfg_system.html
  4. 48
      cfg_term.html
  5. 5
      cfg_wifi.html
  6. 4
      cfg_wifi_conn.html
  7. 2386
      css/app.8b43b1d-en.css
  8. 237
      help.html
  9. 7
      ini_export.html
  10. 7
      ini_import.html
  11. 4
      js/app.8b43b1d-en.js
  12. 1
      js/app.8b43b1d-en.js.map
  13. 4
      term.html

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>About ESPTerm :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<div class="Box">
<img src="/img/cvut.svg" id="logo" class="mq-tablet-min">
@ -52,12 +53,12 @@
<table>
<tr>
<th>ESPTerm</th>
<td>v2.2.0, built 2017-10-08 at&nbsp;15:52 CEST</td>
<td>v2.3.0, built 2017-11-19 at&nbsp;23:25 CET</td>
</tr>
<tr>
<th>Git hash</th>
<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/fbd4693">fbd4693</a>,
front-end: <a href="https://github.com/espterm/espterm-front-end/commit/32c889b">32c889b</td>
<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/76fbf5d">76fbf5d</a>,
front-end: <a href="https://github.com/espterm/espterm-front-end/commit/8b43b1d">8b43b1d</td>
</tr>
<tr>
<th>libesphttpd</th>

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>Network Settings :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<!-- STA -->

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>System Settings :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<!-- Persist -->
<div class="Box str mobcol">
@ -57,6 +58,27 @@
(This clears the WiFi config! Does not affect saved defaults or admin password.) </div>
</div>
<!-- Backup -->
<div class="Box str mobcol">
<h2 tabindex=0>Back-up Config File</h2>
<div class="Row explain nomargintop">
All config except the admin password can be backed up and restored using an INI file. </div>
<div class="Row buttons2">
<a class="button"
href="ini_export.html">
Export to file </a>
</div>
<div class="Row buttons2">
<form method="POST" action="ini_import.html" enctype='multipart/form-data'>
<span class="filewrap"><input accept=".ini,text/plain" type="file" name="file"></span><!--
--><input type="submit" value="Import!">
</form>
</div>
</div>
<!-- Overclock -->
<form class="Box str mobcol" action="system_set.html" method="GET" id="form-hw">
<h2 tabindex=0>Hardware Tuning</h2>

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>Terminal Settings :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<div class="Box">
<a href="reset_screen.html">Reset screen & parser</a>
@ -170,18 +171,18 @@
<div class="Row">
<div class="SubRow">
<label for="term_width">Width</label>
<input type="number" step=1 min=1 max=255 name="term_width" id="term_width" value="80" required>
<label for="width">Width</label>
<input type="number" step=1 min=1 max=255 name="width" id="width" value="80" required>
</div>
<div class="SubRow">
<label for="term_height">Height</label>
<input type="number" step=1 min=1 max=255 name="term_height" id="term_height" value="25" required>
<label for="height">Height</label>
<input type="number" step=1 min=1 max=255 name="height" id="height" value="25" required>
</div>
</div>
<div class="Row">
<label for="term_title">Header Text</label>
<input type="text" name="term_title" id="term_title" value="ESPTerm Web UI Demo" required>
<label for="title">Header Text</label>
<input type="text" name="title" id="title" value="ESPTerm Web UI Demo" required>
</div>
<div class="Row checkbox" >
@ -190,6 +191,11 @@
<input type="hidden" id="show_buttons" name="show_buttons" value="1">
</div>
<div class="Row">
<label for="button_count">Button count</label>
<input type="number" step=1 min=0 max=5 name="button_count" id="button_count" value="5" required>
</div>
<div class="Row">
<label>Button Labels</label>
<input class="tiny" type="text" name="btn1" id="btn1" value="OK">
@ -208,6 +214,15 @@
<input class="tiny" type="text" name="bm5" id="bm5" value="05">
</div>
<div class="Row">
<label>Button colors</label>
<input class="tiny" type="text" name="bc1" id="bc1" value="">
<input class="tiny" type="text" name="bc2" id="bc2" value="">
<input class="tiny" type="text" name="bc3" id="bc3" value="">
<input class="tiny" type="text" name="bc4" id="bc4" value="">
<input class="tiny" type="text" name="bc5" id="bc5" value="">
</div>
<div class="Row">
<label for="backdrop">Background image URL</label>
<input type="text" name="backdrop" id="backdrop" value="" required>
@ -241,8 +256,8 @@
</div>
<div class="Row">
<label for="uart_baud">Baud rate<span class="mq-phone">&nbsp;(bps)</span></label>
<select name="uart_baud" id="uart_baud" class="short">
<label for="uart_baudrate">Baud rate<span class="mq-phone">&nbsp;(bps)</span></label>
<select name="uart_baudrate" id="uart_baudrate" class="short">
<option value="300">300</option>
<option value="600">600</option>
<option value="1200">1.200</option>
@ -295,6 +310,17 @@
Those are advanced config options that usually don't need to be changed.
Edit them only if you know what you're doing. </div>
<div class="Row">
<label for="font_stack">Font stack</label>
<input type="text" name="font_stack" id="font_stack" value="" required>
</div>
<div class="Row">
<label for="font_size">Font size<span class="mq-phone">&nbsp;(px)</span></label>
<input type="number" step=1 min=0 name="font_size" id="font_size" value="20" required>
<span class="mq-no-phone">&nbsp;px</span>
</div>
<div class="Row">
<label for="parser_tout_ms">Parser Timeout<span class="mq-phone">&nbsp;(ms)</span></label>
<input type="number" step=1 min=0 name="parser_tout_ms" id="parser_tout_ms" value="10" required>
@ -358,7 +384,7 @@
$.ready(function () {
$('#cursor_shape').val('');
$('#theme').val('0');
$('#uart_baud').val('115200');
$('#uart_baudrate').val('115200');
$('#uart_parity').val('2');
$('#uart_stopbits').val('1');

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>WiFi Settings :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<!-- AP -->
<form class="Box str mobcol" action="wifi_set.html" method="GET" id="form-ap">

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>Connecting to Network :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;

File diff suppressed because one or more lines are too long

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>Quick Reference :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
@ -28,6 +28,7 @@
</div>
<div class="Box message hidden"></div>
<div class="Box errmessage hidden"></div>
<div class="Box">
<div noprint><a href="#" onclick="hpfold(1);return false">Expand all</a>&nbsp;|&nbsp;<a href="#" onclick="hpfold(0);return false">Collapse all</a><br>
@ -891,58 +892,121 @@
If an argument is left out, it's treated as 0 or 1, depending on what makes sense for the command.
</p>
<h3>Erasing &amp; Inserting</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr>
<td><code>\e[<i>m</i>J</code></td>
<td>
<code>\e[<i>m</i>J</code>
Clear part of screen. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
</td>
</tr>
<tr>
<td><code>\e[<i>m</i>K</code></td>
<td>
Clear part of screen. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
Erase part of line. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
</td>
</tr>
<tr>
<td><code>\e[<i>n</i>X</code></td>
<td>
<code>\e[<i>m</i>K</code>
Erase <i>n</i> characters in line.
</td>
</tr>
<tr>
<td><code>
\e[<i>n</i>L<br>\e[<i>n</i>M
</code></td>
<td>
Erase part of line. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
Insert (<code>L</code>) or delete (<code>M</code>) <i>n</i> lines. Following lines are pulled up or pushed down.
</td>
</tr>
<tr>
<td><code>
\e[<i>n</i>@<br>\e[<i>n</i>P
</code></td>
<td>
<code>\e[<i>n</i>X</code></td>
Insert (<code>@</code>) or delete (<code>P</code>) <i>n</i> characters. The rest of the line is pulled left or pushed right.
Characters going past the end of line are lost.
</td>
</tr>
</tbody>
</table>
<h3>Supersized lines</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr>
<td><code>\e#1</code>, <code>\e#2</code></td>
<td>
Erase <i>n</i> characters in line.
Make the current line part of a double-height line.
Use <code>1</code> for the top, <code>2</code> for the bottom half.
</td>
</tr>
<tr>
<td><code>\e#3</code>, <code>\e#4</code></td>
<td>
<code>\e[<i>n</i>b</code></td>
Make the current line part of a double-width, double-height line.
Use <code>3</code> for the top, <code>4</code> for the bottom half.
</td>
</tr>
<tr>
<td><code>\e#6</code></td>
<td>
Repeat last printed characters <i>n</i> times (moving cursor and using the current style).
Make the current line double-width.
</td>
</tr>
<tr>
<td><code>\e#5</code></td>
<td>
<code>
\e[<i>n</i>L<br>\e[<i>n</i>M
</code>
Reset the current line to normal size.
</td>
</tr>
</tbody>
</table>
<h3>Other</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr>
<td><code>\ec</code></td>
<td>
Clear screen, reset attributes and cursor. This command also restores the default
screen size, title, button labels and messages and the background URL.
</td>
</tr>
<tr>
<td><code>
\e[?1049h<br>\e[?1049l
</code></td>
<td>
Insert (<code>L</code>) or delete (<code>M</code>) <i>n</i> lines. Following lines are pulled up or pushed down.
Switch to (<code>h</code>) or from (<code>l</code>) an alternate screen.
ESPTerm can't implement this fully, so the original screen content is not saved,
but it will remember the cursor, screen size, terminal title, button labels and messages.
</td>
</tr>
<tr>
<td><code>\e[8;<i>r</i>;<i>c</i>t</code></td>
<td>Set screen size to <i>r</i> rows and <i>c</i> columns (this is a command borrowed from Xterm)</td>
</tr>
<tr>
<td>
<code>
\e[<i>n</i>@<br>\e[<i>n</i>P
</code>
<code>\e[<i>n</i>b</code></td>
<td>
Repeat last printed characters <i>n</i> times (moving cursor and using the current style).
</td>
</tr>
<tr>
<td><code>\e#8</code></td>
<td>
Insert (<code>@</code>) or delete (<code>P</code>) <i>n</i> characters. The rest of the line is pulled left or pushed right.
Characters going past the end of line are lost.
Reset all screen attributes to default and fill the screen with the letter "E". This was
historically used for aligning CRT displays, now can be useful e.g. for testing erasing commands.
</td>
</tr>
</tbody>
@ -1053,6 +1117,8 @@
Those changes are not retained after restart.
</p>
<h3>Single-byte commands &amp; queries</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
@ -1073,17 +1139,6 @@
This message contains the curretn version, unique ID, and the IP address if in Client mode.
</td>
</tr>
<tr>
<td><code>\ec</code></td>
<td>
Clear screen, reset attributes and cursor. This command also restores the default
screen size, title, button labels and messages and the background URL.
</td>
</tr>
<tr>
<td><code>\e[8;<i>r</i>;<i>c</i>t</code></td>
<td>Set screen size to <i>r</i> rows and <i>c</i> columns (this is a command borrowed from Xterm)</td>
</tr>
<tr>
<td><code>\e[5n</code></td>
<td>
@ -1091,6 +1146,14 @@
Can be used to check if the terminal has booted up and is ready to receive commands.
</td>
</tr>
</tbody>
</table>
<h3>Setting parameters</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr>
<td><code>\e[<i>n</i> q</code></td>
<td>
@ -1105,7 +1168,7 @@
<td>Set screen title to <i>t</i> (this is a standard OSC command)</td>
</tr>
<tr>
<td><code>\e]70;<i>u</i>\a</code></td>
<td><code>\e]27;1;<i>u</i>\a</code></td>
<td>
Set background image to URL <i>u</i> (including protocol)
that can be resolved by the user's browser. The image will be scaled
@ -1115,77 +1178,62 @@
</td>
</tr>
<tr>
<td><code>\e]27;2;<i>n</i>\a</code></td>
<td>
<code>
\e]<i>8x</i>;<i>t</i>\a
</code>
Set number of visible buttons to <i>n</i> (0-5). To hide/show the entire buttons bar,
use the dedicated hiding commands (see below)
</td>
</tr>
<tr>
<td><code>
\e]28;<i>x</i>;<i>t</i>\a
</code></td>
<td>
Set label for button 1-5 (code 81-85) to <i>t</i> - e.g.<code>\e]81;Yes\a</code>
Set label for button <i>x</i> (1-5) to <i>t</i> - e.g.<code>\e]28;1;Yes\a</code>
sets the first button text to "Yes".
</td>
</tr>
<tr>
<td><code>
\e]29;<i>x</i>;<i>m</i>\a
</code></td>
<td>
<code>
\e]<i>9x</i>;<i>m</i>\a
</code>
</td>
<td>
Set message for button 1-5 (code 91-95) to <i>m</i> - e.g.<code>\e]94;+\a</code>
Set message for button <i>x</i> (1-5) to <i>m</i> - e.g.<code>\e]29;3;+\a</code>
sets the 3rd button to send "+" when pressed. The message can be up to
10 bytes long.
</td>
</tr>
<tr>
<td><code>
\e]30;<i>x</i>;<i>c</i>\a
</code></td>
<td>
<code>
\e]9;<i>t</i>\a
</code>
</td>
<td>
Show a notification with text <i>t</i>. This will be either a desktop notification
or a pop-up balloon.
</td>
</tr>
<tr>
<td>
<code>
\e[?<i>n</i>s<br>\e[?<i>n</i>r
</code>
</td>
<td>
Save (<code>s</code>) and restore (<code>r</code>) any option set using <code>CSI ? <i>n</i> h</code>.
This is used by some applications to back up the original state before
making changes.
Set button <i>x</i> (1-5) color to <i>c</i> - e.g.<code>\e]30;2;#00FF00\a</code>
makes the 2nd button green. Supported are SGR colors 1-255
and TrueColor in the format <code>#RRGGBB</code>. Use 0 to
reset to the default color.
</td>
</tr>
<tr>
<td>
<code>
\e[?800h<br>\e[?800l
</code>
</td>
<td><code>
\e[?800h<br>\e[?800l
</code></td>
<td>
Show (<code>h</code>) or hide (<code>l</code>) the action buttons (the blue buttons under the screen).
</td>
</tr>
<tr>
<td>
<code>
\e[?801h<br>\e[?801l
</code>
</td>
<td><code>
\e[?801h<br>\e[?801l
</code></td>
<td>
Show (<code>h</code>) or hide (<code>l</code>) menu/help links under the screen.
</td>
</tr>
<tr>
<td>
<code>
\e[?2004h<br>\e[?2004l
</code>
</td>
<td><code>
\e[?2004h<br>\e[?2004l
</code></td>
<td>
Enable (<code>h</code>) or disable (<code>l</code>) Bracketed Paste mode.
This mode makes any text sent using the Upload Tool be preceded by <code>\e[200~</code>
@ -1194,26 +1242,39 @@
</td>
</tr>
<tr>
<td><code>
\e[12h<br>\e[12l
</code></td>
<td>
<code>
\e[?1049h<br>\e[?1049l
</code>
</td>
<td>
Switch to (<code>h</code>) or from (<code>l</code>) an alternate screen.
ESPTerm can't implement this fully, so the original screen content is not saved,
but it will remember the cursor, screen size, terminal title, button labels and messages.
Enable (<code>h</code>) or disable (<code>l</code>) Send-Receive Mode (SRM).
SRM is the opposite of Local Echo, meaning <code>\e[12h</code> disables and <code>\e[12l</code> enables Local Echo.
</td>
</tr>
</tbody>
</table>
<h3>Other</h3>
<table class="ansiref w100">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr>
<td><code>
\e]9;<i>t</i>\a
</code></td>
<td>
<code>
\e[12h<br>\e[12l
</code>
Show a notification with text <i>t</i>. This will be either a desktop notification
or a pop-up balloon.
</td>
</tr>
<tr>
<td><code>
\e[?<i>n</i>s<br>\e[?<i>n</i>r
</code></td>
<td>
Enable (<code>h</code>) or disable (<code>l</code>) Send-Receive Mode (SRM).
SRM is the opposite of Local Echo, meaning <code>\e[12h</code> disables and <code>\e[12l</code> enables Local Echo.
Save (<code>s</code>) and restore (<code>r</code>) any option set using <code>CSI ? <i>n</i> h</code>.
This is used by some applications to back up the original state before
making changes.
</td>
</tr>
</tbody>

@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<script>
var ref = document.referrer;
var qat = document.referrer.indexOf('?');
if (qat !== -1) ref = ref.substring(0, qat)
location.href=ref+'?msg=Request ignored, this is a demo.';
</script>

@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<script>
var ref = document.referrer;
var qat = document.referrer.indexOf('?');
if (qat !== -1) ref = ref.substring(0, qat)
location.href=ref+'?msg=Request ignored, this is a demo.';
</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
<title>Terminal :: ESPTerm</title>
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
<script src="/js/app.8b43b1d-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;

Loading…
Cancel
Save