See espterm.github.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
espterm-demo-website/cfg_system.html

186 lines
5.9 KiB

<!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>
7 years ago
<link href="/css/app.32c889b-en.css" rel="stylesheet">
<script src="/js/app.32c889b-en.js"></script>
<script>
var _root = location.host;
var _demo = 1;
7 years ago
</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>&nbsp;<span class="list"></span>
</div>
7 years ago
<div class="Box message 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">
7 years ago
Reset active settings to factory defaults </a><br>
(This clears the WiFi config! Does not affect saved defaults or admin password.) </div>
</div>
7 years ago
<!-- 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">
7 years ago
ESP8266 can be overclocked from 80&nbsp;MHz to 160&nbsp;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.
7 years ago
</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>
7 years ago
<!-- 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.
7 years ago
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">
7 years ago
<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">
7 years ago
<a class="button icn-ok" href="#" onclick="qs('#form-access').submit()">Apply!</a>
</div>
</form>
7 years ago
<!-- 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">
7 years ago
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
7 years ago
password. When the admin password is forgotten, the easiest way to
7 years ago
re-gain access is to wipe and re-flash the chip.<br>
The default admin password is "%def_admin_pw%".
</div>
<div class="Row">
7 years ago
<label for="admin_pw">New admin password</label>
<input type="password" name="admin_pw" id="admin_pw">
</div>
<div class="Row">
7 years ago
<label for="admin_pw2">Repeat</label>
<input type="password" name="admin_pw2" id="admin_pw2">
</div>
<div class="Row">
7 years ago
<label for="pw">Old admin password</label>
<input type="password" name="pw" id="pw" required>
</div>
<div class="Row buttons">
7 years ago
<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>