taiga-front/app/partials/includes/modules/login-form.jade

50 lines
1.6 KiB
Plaintext

.login-form-container(tg-login)
form.login-form
fieldset
input(
type="text"
autocorrect="off"
autocapitalize="none"
autofocus
required
name="username"
data-required="true"
placeholder="{{'LOGIN_COMMON.PLACEHOLDER_AUTH_NAME' | translate}}"
)
fieldset.login-password
input(
type="password"
name="password"
data-required="true"
placeholder="{{'LOGIN_COMMON.PLACEHOLDER_AUTH_PASSWORD' | translate}}"
ng-focus="capslockIcon = !capslockIcon"
ng-keyup="onKeyUp($event)"
)
a.forgot-pass(
href=""
tg-nav="forgot-password"
title="{{'LOGIN_COMMON.TITLE_LINK_FORGOT_PASSWORD' | translate}}"
translate="LOGIN_COMMON.LINK_FORGOT_PASSWORD"
)
tg-capslock
fieldset
button.button-green.submit-button(
type="submit"
title="{{'LOGIN_COMMON.ACTION_SIGN_IN' | translate}}"
translate="LOGIN_COMMON.ACTION_SIGN_IN"
)
.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"
)
tg-public-register-message