ui: Changed modal to use a h1 in the body instead of title property, tried to fix font flashing.

This commit is contained in:
2018-09-16 18:45:12 +02:00
parent bde67f5617
commit a3c7ae7bb5
6 changed files with 18 additions and 8 deletions
+4 -2
View File
@@ -6,10 +6,12 @@
<menu-link if(!input.user.loggedIn) icon="L" href="/auth/login" on-click("loginClicked")>Login</menu-link>
<menu-link if(input.user.loggedIn) icon="L" href="/auth/logout" on-click("logoutClicked")>Logout <span class="weak">(${input.user.name})</span></menu-link>
<modal enabled=state.loggingIn notification title="Logging you in..." on-close("closeModal")>
<modal enabled=state.loggingIn notification on-close("closeModal")>
<h1>Logging you in...</h1>
<p>You may be redirected to Auth0 if it's been a while.</p>
</modal>
<modal enabled=state.loggingOut notification title="Logging you out..." on-close("closeModal")>
<modal enabled=state.loggingOut notification on-close("closeModal")>
<h1>Logging you out...</h1>
<p>You can probably log back in without entering your info if you're quick.</p>
</modal>
</if>