wifi-connect
wifi-connect copied to clipboard
Show/hide password button on the portal page
We modified index.js
by adding this function
$('#togglepass').change(function() {
var $pass = $('#pass');
if ($pass.attr('type') === 'password'){
$pass.attr('type','text')
} else {
$pass.attr('type','password')
}
})
and index.html
with this:
<div class="form-group">
<label for="passphrase" class="control-label col-lg-2">Pass</label>
<div class="col-lg-6">
<input type='password' id='pass' class="form-control" name='passphrase'></input>
<input type='checkbox' id='togglepass' /> Unmask
</div>
</div>
I think we should add this, since it is a simple modification and a nice UI enhancement.
Test to trigger a sync
[saintaardvark] This issue has attached support thread https://jel.ly.fish/ae9b8e11-597e-4636-8659-1f7c0d2946ff