Merge pull request #7 from Hieromon/feature/autofocus_passsword_field

Feature/autofocus passsword field
pull/8/head^2
Hieromon Ikasamo 7 years ago committed by GitHub
commit 4311d8717e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 32
      docs/changelog/index.html
  3. 7
      docs/search/search_index.json
  4. 20
      docs/sitemap.xml
  5. 2
      library.json
  6. 2
      library.properties
  7. 3
      mkdocs/changelog.md
  8. 6
      src/AutoConnectPage.cpp

@ -68,6 +68,9 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some
## Change log ## Change log
### [0.9.4] April 22, 2018.
- Automatically focus passphrase after selecting SSID with Configure New AP.
### [0.9.3] March 23, 2018. ### [0.9.3] March 23, 2018.
- Supports a static IP address assignment. - Supports a static IP address assignment.

@ -101,7 +101,7 @@
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="search"> <input class="md-toggle" data-md-toggle="search" type="checkbox" id="search">
<label class="md-overlay" data-md-component="overlay" for="drawer"></label> <label class="md-overlay" data-md-component="overlay" for="drawer"></label>
<a href="#093-march-23-2018" tabindex="1" class="md-skip"> <a href="#094-april-22-2018" tabindex="1" class="md-skip">
Skip to content Skip to content
</a> </a>
@ -400,6 +400,14 @@
<label class="md-nav__title" for="toc">Table of contents</label> <label class="md-nav__title" for="toc">Table of contents</label>
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#094-april-22-2018" title="[0.9.4] April 22, 2018." class="md-nav__link">
[0.9.4] April 22, 2018.
</a>
<nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#093-march-23-2018" title="[0.9.3] March 23, 2018." class="md-nav__link"> <a href="#093-march-23-2018" title="[0.9.3] March 23, 2018." class="md-nav__link">
[0.9.3] March 23, 2018. [0.9.3] March 23, 2018.
@ -421,6 +429,11 @@
</li> </li>
</ul>
</nav>
</li>
@ -462,6 +475,14 @@
<label class="md-nav__title" for="toc">Table of contents</label> <label class="md-nav__title" for="toc">Table of contents</label>
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#094-april-22-2018" title="[0.9.4] April 22, 2018." class="md-nav__link">
[0.9.4] April 22, 2018.
</a>
<nav class="md-nav">
<ul class="md-nav__list">
<li class="md-nav__item"> <li class="md-nav__item">
<a href="#093-march-23-2018" title="[0.9.3] March 23, 2018." class="md-nav__link"> <a href="#093-march-23-2018" title="[0.9.3] March 23, 2018." class="md-nav__link">
[0.9.3] March 23, 2018. [0.9.3] March 23, 2018.
@ -483,6 +504,11 @@
</li> </li>
</ul>
</nav>
</li>
@ -502,6 +528,10 @@
<h1>Change log</h1> <h1>Change log</h1>
<h3 id="094-april-22-2018">[0.9.4] April 22, 2018.<a class="headerlink" href="#094-april-22-2018" title="Permanent link">&para;</a></h3>
<ul>
<li>Automatically focus passphrase after selecting SSID with Configure New AP.</li>
</ul>
<h4 id="093-march-23-2018">[0.9.3] March 23, 2018.<a class="headerlink" href="#093-march-23-2018" title="Permanent link">&para;</a></h4> <h4 id="093-march-23-2018">[0.9.3] March 23, 2018.<a class="headerlink" href="#093-march-23-2018" title="Permanent link">&para;</a></h4>
<ul> <ul>
<li>Supports a static IP address assignment.</li> <li>Supports a static IP address assignment.</li>

@ -637,9 +637,14 @@
}, },
{ {
"location": "/changelog/index.html", "location": "/changelog/index.html",
"text": "[0.9.3] March 23, 2018.\n\u00b6\n\n\n\n\nSupports a static IP address assignment.\n\n\n\n\n[0.9.2] March 19, 2018.\n\u00b6\n\n\n\n\nImprovement of string literal declaration with the examples, no library change.\n\n\n\n\n[0.9.1] March 13, 2018.\n\u00b6\n\n\n\n\nA release of the stable.", "text": "[0.9.4] April 22, 2018.\n\u00b6\n\n\n\n\nAutomatically focus passphrase after selecting SSID with Configure New AP.\n\n\n\n\n[0.9.3] March 23, 2018.\n\u00b6\n\n\n\n\nSupports a static IP address assignment.\n\n\n\n\n[0.9.2] March 19, 2018.\n\u00b6\n\n\n\n\nImprovement of string literal declaration with the examples, no library change.\n\n\n\n\n[0.9.1] March 13, 2018.\n\u00b6\n\n\n\n\nA release of the stable.",
"title": "Change log" "title": "Change log"
}, },
{
"location": "/changelog/index.html#094-april-22-2018",
"text": "Automatically focus passphrase after selecting SSID with Configure New AP.",
"title": "[0.9.4] April 22, 2018."
},
{ {
"location": "/changelog/index.html#093-march-23-2018", "location": "/changelog/index.html#093-march-23-2018",
"text": "Supports a static IP address assignment.", "text": "Supports a static IP address assignment.",

@ -4,7 +4,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -12,7 +12,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//gettingstarted/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//gettingstarted/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -20,7 +20,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//menu/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//menu/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -28,7 +28,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//basicusage/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//basicusage/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -36,7 +36,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//advancedusage/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//advancedusage/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -44,7 +44,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//api/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//api/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -52,7 +52,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//examples/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//examples/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -60,7 +60,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//faq/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//faq/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -68,7 +68,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//changelog/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//changelog/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
@ -76,7 +76,7 @@
<url> <url>
<loc>https://Hieromon.github.io/AutoConnect//license/index.html</loc> <loc>https://Hieromon.github.io/AutoConnect//license/index.html</loc>
<lastmod>2018-03-26</lastmod> <lastmod>2018-04-23</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>

@ -17,6 +17,6 @@
], ],
"frameworks": "arduino", "frameworks": "arduino",
"platforms": "espressif8266", "platforms": "espressif8266",
"version": "0.9.2", "version": "0.9.4",
"license": "MIT" "license": "MIT"
} }

@ -1,5 +1,5 @@
name=AutoConnect name=AutoConnect
version=0.9.2 version=0.9.4
author=Hieromon Ikasamo <hieromon@gmail.com> author=Hieromon Ikasamo <hieromon@gmail.com>
maintainer=Hieromon Ikasamo <hieromon@gmail.com> maintainer=Hieromon Ikasamo <hieromon@gmail.com>
sentence=ESP8266 WLAN configuration at runtime with web interface. sentence=ESP8266 WLAN configuration at runtime with web interface.

@ -1,3 +1,6 @@
### [0.9.4] April 22, 2018.
- Automatically focus passphrase after selecting SSID with Configure New AP.
#### [0.9.3] March 23, 2018. #### [0.9.3] March 23, 2018.
- Supports a static IP address assignment. - Supports a static IP address assignment.

@ -2,8 +2,8 @@
* AutoConnect portal site web page implementation. * AutoConnect portal site web page implementation.
* @file AutoConnectPage.h * @file AutoConnectPage.h
* @author hieromon@gmail.com * @author hieromon@gmail.com
* @version 0.9.1 * @version 0.9.4
* @date 2018-02-13 * @date 2018-04-22
* @copyright MIT license. * @copyright MIT license.
*/ */
@ -882,7 +882,7 @@ String AutoConnect::_token_LIST_SSID(PageArgument& args) {
for (uint8_t i = 0; i < nn; i++) { for (uint8_t i = 0; i < nn; i++) {
String ssid = WiFi.SSID(i); String ssid = WiFi.SSID(i);
if (ssid.length() > 0) { if (ssid.length() > 0) {
ssidList += String(F("<input type=\"button\" onClick=\"document.getElementById('ssid').value=this.getAttribute('value')\" value=\"")) + ssid + String(F("\">")); ssidList += String(F("<input type=\"button\" onClick=\"document.getElementById('ssid').value=this.getAttribute('value');document.getElementById('passphrase').focus()\" value=\"")) + ssid + String(F("\">"));
ssidList += String(F("<label>")) + String(AutoConnect::_toWiFiQuality(WiFi.RSSI(i))) + String(F("%</label>")); ssidList += String(F("<label>")) + String(AutoConnect::_toWiFiQuality(WiFi.RSSI(i))) + String(F("%</label>"));
if (WiFi.encryptionType(i) != ENC_TYPE_NONE) if (WiFi.encryptionType(i) != ENC_TYPE_NONE)
ssidList += String(F("<span class=\"img-lock\"></span>")); ssidList += String(F("<span class=\"img-lock\"></span>"));

Loading…
Cancel
Save