Updated to ES6

This commit is contained in:
Tobias Reich 2015-01-29 23:55:25 +01:00
parent c06f2e0f07
commit 1cd74f047d

View File

@ -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> &#8211; <a target='_blank' href='" + lychee.updateURL + "'>Update available!</a><span></p>"; </p>
<p class='version'>Lychee ${ lychee.version }<span> &#8211; <a target='_blank' href='${ lychee.updateURL }'>Update available!</a><span></p>
`
basicModal.show({ basicModal.show({
body: msg, body: msg,