Updated to ES6
This commit is contained in:
parent
c06f2e0f07
commit
1cd74f047d
@ -150,11 +150,13 @@ lychee.loginDialog = function() {
|
|||||||
var localUsername,
|
var localUsername,
|
||||||
msg = '';
|
msg = '';
|
||||||
|
|
||||||
msg += "<p class='signIn'>";
|
msg = `
|
||||||
msg += "<input class='text' data-name='username' type='text' value='' placeholder='username' autocapitalize='off' autocorrect='off'>";
|
<p class='signIn'>
|
||||||
msg += "<input class='text' data-name='password' type='password' value='' placeholder='password'>";
|
<input class='text' data-name='username' type='text' value='' placeholder='username' autocapitalize='off' autocorrect='off'>
|
||||||
msg += "</p>";
|
<input class='text' data-name='password' type='password' value='' placeholder='password'>
|
||||||
msg += "<p class='version'>Lychee " + lychee.version + "<span> – <a target='_blank' href='" + lychee.updateURL + "'>Update available!</a><span></p>";
|
</p>
|
||||||
|
<p class='version'>Lychee ${ lychee.version }<span> – <a target='_blank' href='${ lychee.updateURL }'>Update available!</a><span></p>
|
||||||
|
`
|
||||||
|
|
||||||
basicModal.show({
|
basicModal.show({
|
||||||
body: msg,
|
body: msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user