Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-12 03:32:53 +01:00
49 Zeilen
Kein EOL
2 KiB
HTML
49 Zeilen
Kein EOL
2 KiB
HTML
<p class="login-box-msg">Log in to access your vault.</p>
|
|
<form name="loginForm" ng-submit="loginForm.$valid && login(model)" api-form="loginPromise">
|
|
<div class="callout callout-danger validation-errors" ng-show="loginForm.$errors">
|
|
<h4>Errors have occurred</h4>
|
|
<ul>
|
|
<li ng-repeat="e in loginForm.$errors">{{e}}</li>
|
|
</ul>
|
|
</div>
|
|
<div class="form-group has-feedback" show-errors>
|
|
<label for="email" class="sr-only">Email</label>
|
|
<input type="email" id="email" name="Email" class="form-control" placeholder="Email" ng-model="model.email"
|
|
required api-field />
|
|
<span class="fa fa-envelope form-control-feedback"></span>
|
|
</div>
|
|
<div class="form-group has-feedback" show-errors>
|
|
<label for="masterPassword" class="sr-only">Master Password</label>
|
|
<input type="password" id="masterPassword" name="MasterPasswordHash" class="form-control" placeholder="Master Password"
|
|
ng-model="model.masterPassword"
|
|
required api-field />
|
|
<span class="fa fa-lock form-control-feedback"></span>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-7">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" id="rememberEmail" ng-model="model.rememberEmail" /> Remember Email
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-5">
|
|
<button type="submit" class="btn btn-primary btn-block btn-flat" ng-disabled="loginForm.$loading">
|
|
<i class="fa fa-refresh fa-spin loading-icon" ng-show="loginForm.$loading"></i>Log In
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<ul>
|
|
<li>
|
|
<a ui-sref="frontend.register({returnState: returnState, email: stateEmail})">
|
|
Create a new account
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a ui-sref="frontend.passwordHint">
|
|
Get master password hint
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</form> |