1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

New look and feel for auth screens

This commit is contained in:
McMatts 2018-12-13 13:34:26 +00:00
parent 8d525ce733
commit ff1d737c68
13 changed files with 49 additions and 37 deletions

View file

@ -26,7 +26,9 @@
{{input type="password" value=password id="authPassword" class="form-control" autocomplete="current-password"}}
{{/if}}
</div>
<button type="submit" class="btn btn-success bold-700 text-uppercase mt-4">Sign in</button>
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.SignIn onClick=(action "login")}}
<div class="{{unless invalidCredentials "invisible"}} color-red-600 mt-3">Invalid credentials</div>
{{#if isAuthProviderDocumize}}
{{#link-to "auth.forgot"}}Forgot your password?{{/link-to}}

View file

@ -37,10 +37,10 @@ export default Route.extend(AuthenticatedRouteMixin, {
activate() {
this.get('browser').setTitle('Share Space');
$('body').addClass('background-color-gray-200');
// $('body').addClass('background-color-gray-200');
},
deactivate() {
$('body').removeClass('background-color-gray-200');
// $('body').removeClass('background-color-gray-200');
}
});