1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/frontend/templates/profile/_token.html

31 lines
1.9 KiB
HTML
Raw Normal View History

2016-03-23 18:39:41 +01:00
<section class="panel panel-default bg-token m-lg">
<div class="panel-body m-r">
<h3 translate>{{ 'app.logged.profile_completion.do_you_already_have_an_account' }}</h3>
<p ng-hide="hasDuplicate()" translate>{{ 'app.logged.profile_completion.do_not_fill_the_form_beside_but_specify_here_the_code_you_ve_received_by_email_to_recover_your_access' }}</p>
<p ng-show="hasDuplicate()" translate>{{ 'app.logged.profile_completion.just_specify_code_here_to_recover_access' }}</p>
<p class="pull-right"><a ng-click="resendCode($event)" translate>{{ 'app.logged.profile_completion.i_did_not_receive_the_code' }}</a></p>
2016-03-23 18:39:41 +01:00
<div class="row">
<div class="col-lg-3 col-lg-offset-1 hidden-md col-sm-3 col-sm-offset-1"></div>
<div class="col-lg-offset-1 col-lg-6 col-md-12 col-sm-offset-1 col-sm-6">
2016-03-23 18:39:41 +01:00
<div class="form-group" ng-class="{'has-error': userForm['user[auth_token]'].$dirty && userForm['user[auth_token]'].$invalid}">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
<input type="text"
ng-model="user.auth_token"
class="form-control"
name="user[auth_token]"
placeholder="{{ 'app.logged.profile_completion.authentification_code' | translate }}"/>
2016-03-23 18:39:41 +01:00
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer no-padder">
<input type="button"
value="{{ 'app.logged.profile_completion.confirm_my_code' | translate }}"
2016-03-23 18:39:41 +01:00
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
ng-hide="!user.auth_token"
ng-click="registerAuthToken()"/>
</div>
</section>