53 lines
2.2 KiB
HTML
Executable file
53 lines
2.2 KiB
HTML
Executable file
<section class="row auth" data-ng-controller="AuthenticationController">
|
|
<h3 class="col-md-12 text-center">{{ 'SIGNIN_HEADER_TEXT' | translate }}</h3>
|
|
<!-- <div class="col-md-12 text-center">
|
|
<a href="/auth/facebook" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/facebook.png">
|
|
</a>
|
|
<a href="/auth/twitter" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/twitter.png">
|
|
</a>
|
|
<a href="/auth/google" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/google.png">
|
|
</a>
|
|
<a href="/auth/linkedin" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/linkedin.png">
|
|
</a>
|
|
<a href="/auth/github" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/github.png">
|
|
</a>
|
|
</div> -->
|
|
<!-- <h3 class="col-md-12 text-center">Or with your account</h3> -->
|
|
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
|
|
<form class="signin form-horizontal" autocomplete="off">
|
|
<fieldset>
|
|
<div data-ng-show="error" class="text-center text-danger">
|
|
Error: <strong data-ng-bind="error"></strong>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="username">{{ 'USERNAME_LABEL' | translate }}</label>
|
|
<input type="text" id="username" name="username" class="form-control" data-ng-model="credentials.username" placeholder="{{ 'USERNAME_LABEL' | translate }}" ng-pattern="languageRegExp" ng-minlength="4">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">{{ 'PASSWORD_LABEL' | translate }}</label>
|
|
<input type="password" id="password" name="password" class="form-control" data-ng-model="credentials.password" placeholder="{{ 'PASSWORD_LABEL' | translate }}">
|
|
</div>
|
|
<div class="forgot-password">
|
|
<a ui-sref="forgot">{{ 'FORGOT_PASSWORD_LINK' | translate }}</a>
|
|
<br>
|
|
<a ui-sref="verify">{{ 'REVERIFY_ACCOUNT_LINK' | translate }}</a>
|
|
</div>
|
|
<div class="text-center form-group">
|
|
<button class="btn btn-primary" ng-click="signin()">{{ 'SIGNIN_BTN' | translate }}</button>
|
|
|
|
<span ng-hide="$root.signupDisabled">
|
|
or
|
|
<a ui-sref="signup">{{ 'SIGNUP_BTN' | translate }}</a>
|
|
</span>
|
|
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</section>
|