2 Commits

Author SHA1 Message Date
8eb0b99959 set hoppie field to password type 2023-03-05 16:13:16 +01:00
3df452d17e Update startup.js 2023-03-05 16:11:17 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@
<label class="form-control-label text-white" for="input-username">Hoppie <label class="form-control-label text-white" for="input-username">Hoppie
Code</label> Code</label>
<input class="form-check-input ms-auto" type="checkbox" id="savepwhoppie"> <input class="form-check-input ms-auto" type="checkbox" id="savepwhoppie">
<input type="text" id="passwordhoppie" class="form-control" placeholder="Hoppie Code"> <input type="password" id="passwordhoppie" class="form-control" placeholder="Hoppie Code">
</div> </div>
</div> </div>
</div> </div>

View File

@ -50,11 +50,11 @@ function updateUI() {
checkBoxUsername.checked = true; checkBoxUsername.checked = true;
} }
if (structure.password.save) { if (structure.password.save) {
//passwordInput.value = structure.password.pass; passwordInput.value = structure.password.pass;
checkBoxPassword.checked = true; checkBoxPassword.checked = true;
} }
if (structure.passwordhoppie.save) { if (structure.passwordhoppie.save) {
//passwordhoppieInput.value = structure.passwordhoppie.pass; passwordhoppieInput.value = structure.passwordhoppie.pass;
checkBoxSavepwhoppie.checked = true; checkBoxSavepwhoppie.checked = true;
} }
dirBox.value = systemstructure.path; dirBox.value = systemstructure.path;