Many fixes and adjustments to the upper right landing UI.

The user_text span now displays the currently selected account.
This commit is contained in:
Daniel Scalzi
2018-04-29 18:05:59 -04:00
parent ea758aee1f
commit 4106b2b069
6 changed files with 35 additions and 23 deletions

View File

@@ -227,6 +227,7 @@ loginButton.addEventListener('click', () => {
loginLoading(true)
AuthManager.addAccount(loginUsername.value, loginPassword.value).then((value) => {
updateSelectedAccount(value)
loginButton.innerHTML = loginButton.innerHTML.replace('LOGGING IN', 'SUCCESS')
$('.circle-loader').toggleClass('load-complete')
$('.checkmark').toggle()