Browse Source

Deploy updates

Ondřej Hruška 3 years ago
parent
commit
a479817a89
Signed by: Ondřej Hruška <ondra@ondrovo.com> GPG key ID: 2C5FD5035250423D
13 changed files with 2307 additions and 23 deletions
  1. 5 5
      about.html
  2. 2 2
      cfg_network.html
  3. 2 2
      cfg_system.html
  4. 2 2
      cfg_term.html
  5. 2 2
      cfg_wifi.html
  6. 2 2
      cfg_wifi_conn.html
  7. 2272 0
      css/app.4a032ee-en.css
  8. 11 4
      help.html
  9. BIN
      img/adapter.jpg.orig
  10. BIN
      img/vt100.jpg.orig
  11. 4 0
      js/app.4a032ee-en.js
  12. 1 0
      js/app.4a032ee-en.js.map
  13. 4 4
      term.html

+ 5 - 5
about.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>About ESPTerm :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -52,12 +52,12 @@
52 52
 	<table>
53 53
 		<tr>
54 54
 			<th>ESPTerm</th>
55
-			<td>v2.1.0, built 2017-10-02 at&nbsp;3:24 CEST</td>
55
+			<td>v2.1.0, built 2017-10-04 at&nbsp;0:54 CEST</td>
56 56
 		</tr>
57 57
 		<tr>
58 58
 			<th>Git hash</th>
59
-			<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/a72e2be">a72e2be</a>,
60
-				front-end: <a href="https://github.com/espterm/espterm-front-end/commit/69e5b77">69e5b77</td>
59
+			<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/7b8c936">7b8c936</a>,
60
+				front-end: <a href="https://github.com/espterm/espterm-front-end/commit/4a032ee">4a032ee</td>
61 61
 		</tr>
62 62
 		<tr>
63 63
 			<th>libesphttpd</th>

+ 2 - 2
cfg_network.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Network Settings :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;

+ 2 - 2
cfg_system.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>System Settings :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;

+ 2 - 2
cfg_term.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Terminal Settings :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;

+ 2 - 2
cfg_wifi.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>WiFi Settings :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;

+ 2 - 2
cfg_wifi_conn.html View File

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

File diff suppressed because it is too large
+ 2272 - 0
css/app.4a032ee-en.css


+ 11 - 4
help.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Quick Reference :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -208,6 +208,7 @@
208 208
 			Here are some examples of control key codes:
209 209
 		</p>
210 210
 
211
+		<div class="tscroll">
211 212
 		<table>
212 213
 			<thead><tr><th>Key</th><th>Code</th><th>Key</th><th>Code</th></tr></thead>
213 214
 			<tr>
@@ -295,6 +296,7 @@
295 296
 				<td>ASCII 1-26</td>
296 297
 			</tr>
297 298
 		</table>
299
+		</div>
298 300
 
299 301
 		<h3>Action buttons</h3>
300 302
 
@@ -952,7 +954,10 @@
952 954
 
953 955
 		<p>
954 956
 			This command sends a POST request to <code>http://<i>&lt;DestIP&gt;</i>/api/v1/msg</code>.
955
-			The IP address may be appended by a port, if needed (eg. :8080).
957
+			The IP address may be appended by a port, if needed (eg. :8080). In addition to POST,
958
+			a GET request can also be used. In that case, any GET arguments (<code>/api/v1/msg?<i>arguments</i></code>)
959
+			will be used instead of the request body. This is intended for external access
960
+			when sending POST requests is not convenient.
956 961
 		</p>
957 962
 
958 963
 		<p>
@@ -985,6 +990,8 @@
985 990
 					<li><code>H</code> - get response headers
986 991
 					<li><code>B</code> - get response body
987 992
 					<li><code>X</code> - ignore the response, return nothing
993
+					<li><code>N=<i>nonce</i></code> - a custom string that will be added in the options field of the response message.
994
+						Use this to keep track of which request a response belongs to.
988 995
 					<li><code>T=<i>ms</i></code> - request timeout (default 5000&nbsp;ms), in milliseconds
989 996
 					<li><code>L=<i>bytes</i></code> - limit response length (default 0 = don't limit). Applies to the head, body, or both combined, depending on the <code>H</code> and <code>B</code> flags
990 997
 					<li><code>l=<i>bytes</i></code> - limit the response buffer size (default 5000&nbsp;B).
@@ -1003,7 +1010,7 @@
1003 1010
 		<ul>
1004 1011
 			<li><code><i>status</i></code> - a HTTP status code, eg. 200 is OK, 404 Not found.
1005 1012
 			<li><code><i>options</i></code> - similar to those in the request, here describing the response data.
1006
-				This field can contain comma-separated <code>B</code>, <code>H</code> and <code>L=<i>bytes</i></code>.
1013
+				This field can contain comma-separated <code>B</code>, <code>H</code> and <code>L=<i>bytes</i></code> and <code>N=<i>nonce</i></code>.
1007 1014
 			<li><code><i>response</i></code> - the response, as requested. If both headers and body are received,
1008 1015
 				they will be separated by an empty line (i.e. <code>\r\n\r\n</code>). Response can be up to several
1009 1016
 				kilobytes long, depending on the <code>L=</code> and <code>l=</code> options.

BIN
img/adapter.jpg.orig View File


BIN
img/vt100.jpg.orig View File


File diff suppressed because it is too large
+ 4 - 0
js/app.4a032ee-en.js


File diff suppressed because it is too large
+ 1 - 0
js/app.4a032ee-en.js.map


+ 4 - 4
term.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Terminal :: ESPTerm</title>
8
-	<link href="/css/app.69e5b77.css" rel="stylesheet">
9
-	<script src="/js/app.69e5b77.js"></script>
8
+	<link href="/css/app.4a032ee-en.css" rel="stylesheet">
9
+	<script src="/js/app.4a032ee-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -61,7 +61,7 @@
61 61
 	</div>
62 62
 </div>
63 63
 
64
-<h1 id="screen-title"><!-- Screen title is loaded here by JS --></h1>
64
+<h1 id="screen-title"><!-- JS, title --></h1>
65 65
 <a href="#" id="term-fit-screen" class="mq-tablet-max"><i id="resize-button-icon" class="icn-resize-small"></i></a>
66 66
 
67 67
 <div id="term-wrap">
@@ -76,7 +76,7 @@
76 76
 		<div class="screen-margin bottom"></div>
77 77
 	</div>
78 78
 
79
-	<div id="action-buttons"></div>
79
+	<div id="action-buttons"><!-- JS, buttons --></div>
80 80
 </div>
81 81
 
82 82
 <nav id="term-nav">