45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
form.login-form
|
|
p.form-header(translate="LOGIN_COMMON.HEADER")
|
|
|
|
fieldset
|
|
input(
|
|
type="text"
|
|
autocorrect="off"
|
|
autocapitalize="none"
|
|
name="username"
|
|
ng-model="dataLogin.username"
|
|
data-required="true"
|
|
placeholder="{{'LOGIN_COMMON.PLACEHOLDER_AUTH_NAME' | translate}}"
|
|
)
|
|
|
|
fieldset.login-password
|
|
input(
|
|
type="password"
|
|
name="password"
|
|
tg-capslock
|
|
ng-model="dataLogin.password"
|
|
data-required="true"
|
|
placeholder="{{'LOGIN_COMMON.PLACEHOLDER_AUTH_PASSWORD' | translate}}"
|
|
)
|
|
// This should be hidden when focus on pass
|
|
a.forgot-pass(
|
|
href=""
|
|
tg-nav="forgot-password"
|
|
title="{{'LOGIN_COMMON.TITLE_LINK_FORGOT_PASSWORD' | translate}}"
|
|
translate="LOGIN_COMMON.LINK_FORGOT_PASSWORD"
|
|
)
|
|
|
|
fieldset
|
|
button.button-green.submit-button(
|
|
type="submit"
|
|
translate="LOGIN_COMMON.ACTION_ENTER"
|
|
)
|
|
|
|
.contrib-plugins-wrapper(ng-if="contribPlugins.length")
|
|
label(translate="LOGIN_COMMON.ALT_LOGIN")
|
|
|
|
fieldset(
|
|
ng-repeat="plugin in contribPlugins|filter:{type: 'auth'}"
|
|
ng-include="plugin.template"
|
|
)
|