|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-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.8b43b1d-en.css" rel="stylesheet">
|
|
|
|
<script src="/js/app.8b43b1d-en.js"></script>
|
|
|
|
<script>
|
|
|
|
var _root = location.host;
|
|
|
|
var _demo = 1;
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="cfg">
|
|
|
|
<div id="outer">
|
|
|
|
<nav id="menu">
|
|
|
|
<div id="brand" tabindex=0>ESPTerm<sup> DEMO</sup></div>
|
|
|
|
<a href="term.html" class="icn-back">Back to Terminal</a>
|
|
|
|
<a href="cfg_term.html" class="icn-terminal ">Terminal Settings</a><a href="cfg_wifi.html" class="icn-wifi ">WiFi Settings</a><a href="cfg_network.html" class="icn-network ">Network Settings</a><a href="cfg_system.html" class="icn-configure selected">System Settings</a><a href="help.html" class="icn-help ">Quick Reference</a><a href="about.html" class="icn-about ">About ESPTerm</a></nav>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
<img src="/img/loader.gif" alt="Loading…" id="loader">
|
|
|
|
<h1>System Settings</h1>
|
|
|
|
|
|
|
|
<div class="Box errors hidden">
|
|
|
|
<span class="lead">Validation errors for:</span> <span class="list"></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Box message hidden"></div>
|
|
|
|
<div class="Box errmessage hidden"></div>
|
|
|
|
|
|
|
|
<!-- Persist -->
|
|
|
|
<div class="Box str mobcol">
|
|
|
|
<h2 tabindex=0>Save & Restore</h2>
|
|
|
|
|
|
|
|
<div class="Row explain nomargintop">
|
|
|
|
|
|
|
|
ESPTerm saves all settings in Flash. The active settings can be copied to
|
|
|
|
the "defaults area" and restored later using the blue button below.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons2">
|
|
|
|
<a class="button icn-restore"
|
|
|
|
onclick="return confirm('Restore all settings to their default values?');"
|
|
|
|
href="restore_defaults.html">
|
|
|
|
Reset to saved defaults </a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons2">
|
|
|
|
<a onclick="writeDefaults(); return false;" href="#">Save active settings as defaults</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons2">
|
|
|
|
<a onclick="return confirm('Restore to firmware default settings? This will reset all active settings and switch to AP mode with the default SSID.');"
|
|
|
|
href="restore_hard.html">
|
|
|
|
Reset active settings to factory defaults </a><br>
|
|
|
|
(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>
|
|
|
|
|
|
|
|
<div class="Row explain">
|
|
|
|
|
|
|
|
ESP8266 can be overclocked from 80 MHz to 160 MHz. This will make
|
|
|
|
it more responsive and allow faster screen updates at the expense of slightly
|
|
|
|
higher power consumption. This can also make it more susceptible to interference.
|
|
|
|
Use with care.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row checkbox" >
|
|
|
|
<label>Overclock to 160MHz</label><!--
|
|
|
|
--><span class="box" tabindex=0 role=checkbox></span>
|
|
|
|
<input type="hidden" id="overclock" name="overclock" value="">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons">
|
|
|
|
<a class="button icn-ok" href="#" onclick="qs('#form-hw').submit()">Apply!</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Access perms -->
|
|
|
|
<form class="Box str mobcol" action="system_set.html" method="GET" id="form-access">
|
|
|
|
<h2 tabindex=0>Access Restrictions</h2>
|
|
|
|
|
|
|
|
<div class="Row explain">
|
|
|
|
|
|
|
|
Some parts, or all of the web interface can be protected by a password prompt.
|
|
|
|
Leave the new password fields empty if you do not wish to change it.<br>
|
|
|
|
The default password is "%def_access_pw%".
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="pwlock">Protected pages</label>
|
|
|
|
<select name="pwlock" id="pwlock">
|
|
|
|
<option value="0">None, all open</option>
|
|
|
|
<option value="1">WiFi, Net & System settings</option>
|
|
|
|
<option value="2">All settings pages</option>
|
|
|
|
<option value="3">This entire menu section</option>
|
|
|
|
<option value="4">Everything, even terminal</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="access_name">Username</label>
|
|
|
|
<input type="text" name="access_name" id="access_name" value="espterm">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="access_pw">New password</label>
|
|
|
|
<input type="password" name="access_pw" id="access_pw" readonly onfocus="this.removeAttribute('readonly')" style="cursor:text" autocomplete="off">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="access_pw2">Repeat</label>
|
|
|
|
<input type="password" name="access_pw2" id="access_pw2" readonly onfocus="this.removeAttribute('readonly')" style="cursor:text" autocomplete="off">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="pw">Admin password</label>
|
|
|
|
<input type="password" name="pw" id="pw" required>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons">
|
|
|
|
<a class="button icn-ok" href="#" onclick="qs('#form-access').submit()">Apply!</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<!-- Admin pw -->
|
|
|
|
<form class="Box str mobcol" action="system_set.html" method="GET" id="form-admin">
|
|
|
|
<h2 tabindex=0>Change Admin Password</h2>
|
|
|
|
|
|
|
|
<div class="Row explain">
|
|
|
|
|
|
|
|
The "admin password" is used to manipulate the stored default settings
|
|
|
|
and to change access restrictions. This password is not saved as part
|
|
|
|
of the main config, i.e. using save / restore does not affect this
|
|
|
|
password. When the admin password is forgotten, the easiest way to
|
|
|
|
re-gain access is to wipe and re-flash the chip.<br>
|
|
|
|
The default admin password is "%def_admin_pw%".
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="admin_pw">New admin password</label>
|
|
|
|
<input type="password" name="admin_pw" id="admin_pw">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="admin_pw2">Repeat</label>
|
|
|
|
<input type="password" name="admin_pw2" id="admin_pw2">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row">
|
|
|
|
<label for="pw">Old admin password</label>
|
|
|
|
<input type="password" name="pw" id="pw" required>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="Row buttons">
|
|
|
|
<a class="button icn-ok" href="#" onclick="qs('#form-admin').submit()">Apply!</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function writeDefaults() {
|
|
|
|
var pw = prompt('Enter admin password to confirm you want to overwrite the default settings.');
|
|
|
|
if (!pw) return;
|
|
|
|
location.href = "write_defaults.html" + '?pw=' + pw;
|
|
|
|
}
|
|
|
|
|
|
|
|
$('#pwlock').val(0);
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="botpad"></div>
|
|
|
|
|
|
|
|
<div class="NotifyMsg hidden" id="notif"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|