2016-12-25 20:34:02 +00:00
|
|
|
<div class="page-wrapper">
|
2016-12-15 03:33:47 +00:00
|
|
|
<!-- login box -->
|
2016-12-25 20:34:02 +00:00
|
|
|
<div class="container simple-box">
|
2017-08-28 18:59:13 +00:00
|
|
|
<div class="col-sm-6 col-sm-offset-3">
|
2016-12-15 03:33:47 +00:00
|
|
|
<!-- login box logo -->
|
|
|
|
<div class="row">
|
2016-12-25 20:34:02 +00:00
|
|
|
<img ng-if="!logo" src="images/logo_alt.png" class="simple-box-logo" alt="Portainer">
|
2017-08-28 18:59:13 +00:00
|
|
|
<img ng-if="logo" ng-src="{{ logo }}" class="simple-box-logo">
|
2016-12-15 03:33:47 +00:00
|
|
|
</div>
|
|
|
|
<!-- !login box logo -->
|
|
|
|
<!-- login panel -->
|
2017-08-28 18:59:13 +00:00
|
|
|
<div class="panel panel-default">
|
2016-12-15 03:33:47 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<!-- login form -->
|
2017-08-28 18:59:13 +00:00
|
|
|
<form class="simple-box-form form-horizontal">
|
2016-12-15 03:33:47 +00:00
|
|
|
<!-- username input -->
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-user" aria-hidden="true"></i></span>
|
2017-09-17 15:07:19 +00:00
|
|
|
<input id="username" type="text" class="form-control" name="username" ng-model="formValues.Username" auto-focus>
|
2016-12-15 03:33:47 +00:00
|
|
|
</div>
|
|
|
|
<!-- !username input -->
|
|
|
|
<!-- password input -->
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-lock" aria-hidden="true"></i></span>
|
2017-08-28 18:59:13 +00:00
|
|
|
<input id="password" type="password" class="form-control" name="password" ng-model="formValues.Password">
|
2016-12-15 03:33:47 +00:00
|
|
|
</div>
|
|
|
|
<!-- !password input -->
|
|
|
|
<!-- login button -->
|
|
|
|
<div class="form-group">
|
2017-08-28 18:59:13 +00:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<button type="submit" class="btn btn-primary btn-sm pull-right" ng-click="authenticateUser()"><i class="fa fa-sign-in" aria-hidden="true"></i> Login</button>
|
|
|
|
<span class="pull-left" style="margin: 5px;" ng-if="state.AuthenticationError">
|
|
|
|
<i class="fa fa-exclamation-triangle red-icon" aria-hidden="true" style="margin-right: 2px;"></i>
|
|
|
|
<span class="small text-danger">{{ state.AuthenticationError }}</span>
|
|
|
|
</span>
|
2016-12-15 03:33:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- !login button -->
|
|
|
|
</form>
|
|
|
|
<!-- !login form -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- !login panel -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- !login box -->
|
|
|
|
</div>
|