mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
Revert "UX: semantic form on login modal"
This reverts commit f2219138e1
.
This commit is contained in:
parent
b8e580b0e0
commit
6b344e8a20
|
@ -1,8 +1,8 @@
|
|||
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword action="login"}}
|
||||
<form id='login-form' method='post'>
|
||||
{{#d-modal-body title="login.title" class="login-modal"}}
|
||||
{{login-buttons action="externalLogin"}}
|
||||
{{#if canLoginLocal}}
|
||||
{{#d-modal-body title="login.title" class="login-modal"}}
|
||||
{{login-buttons action="externalLogin"}}
|
||||
{{#if canLoginLocal}}
|
||||
<form id='login-form' method='post'>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -32,30 +32,32 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{authMessage}}
|
||||
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
|
||||
{{/d-modal-body}}
|
||||
</form>
|
||||
{{/if}}
|
||||
{{authMessage}}
|
||||
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
|
||||
{{/d-modal-body}}
|
||||
|
||||
<div class="modal-footer">
|
||||
{{#if canLoginLocal}}
|
||||
<button class="btn btn-large btn-primary" type="submit" disabled={{loginDisabled}} {{action "login"}}>
|
||||
{{d-icon "unlock"}} {{loginButtonText}}
|
||||
<div class="modal-footer">
|
||||
{{#if canLoginLocal}}
|
||||
<button class="btn btn-large btn-primary"
|
||||
disabled={{loginDisabled}}
|
||||
{{action "login"}}>
|
||||
{{d-icon "unlock"}} {{loginButtonText}}
|
||||
</button>
|
||||
|
||||
{{#if showSignupLink}}
|
||||
|
||||
<button class="btn btn-large" id="new-account-link" {{action "createAccount"}}>
|
||||
{{i18n 'create_account.title'}}
|
||||
</button>
|
||||
|
||||
{{#if showSignupLink}}
|
||||
|
||||
<button class="btn btn-large" id="new-account-link" {{action "createAccount"}}>
|
||||
{{i18n 'create_account.title'}}
|
||||
</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if authenticate}}
|
||||
{{i18n 'login.authenticating'}}
|
||||
{{/if}}
|
||||
{{#if authenticate}}
|
||||
{{i18n 'login.authenticating'}}
|
||||
{{/if}}
|
||||
|
||||
{{conditional-loading-spinner condition=showSpinner size="small"}}
|
||||
</div>
|
||||
</form>
|
||||
{{conditional-loading-spinner condition=showSpinner size="small"}}
|
||||
</div>
|
||||
{{/login-modal}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user