1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +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

@ -6,11 +6,8 @@
<label for="email">Email</label>
{{focus-input type="email" value=email id="email" class=(if hasEmptyEmailError "form-control is-invalid" "form-control")}}
</div>
<div class="mt-4">
<button type="submit" class="btn btn-success bold-700 text-uppercase">Reset</button>
</div>
{{ui/ui-button color=constants.Color.Yellow light=true label=constants.Label.Reset onClick=(action "forgot")}}
{{/if}}
<div class="mt-5">
{{#link-to "auth.login"}}Click here to sign in{{/link-to}}
</div>
{{ui/ui-spacer size=400}}
{{#link-to "auth.login"}}Click here to sign in{{/link-to}}
</form>

View file

@ -11,7 +11,7 @@
<small class="form-text text-muted">Please type your new password again</small>
</div>
<div class="margin-top-10 margin-bottom-20">
<button type="submit" class="btn btn-success bold-700 text-uppercase">Reset</button>
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Reset onClick=(action "reset")}}
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">Passwords must match</span>
</div>
</form>