Use a <form> for the login window

pull/462/head
klikini 8 years ago
parent 78b42d0182
commit c662e56ed9

@ -115,10 +115,10 @@ lychee.login = function(data) {
lychee.loginDialog = function() {
let msg = lychee.html`
<p class='signIn'>
<form class='signIn'>
<input class='text' name='username' autocomplete='username' type='text' value='' placeholder='username' autocapitalize='off' autocorrect='off'>
<input class='text' name='password' autocomplete='current-password' type='password' value='' placeholder='password'>
</p>
</form>
<p class='version'>Lychee $${ lychee.version }<span> &#8211; <a target='_blank' href='$${ lychee.updateURL }'>Update available!</a><span></p>
`

Loading…
Cancel
Save