Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 1 | <!--<form name="login">--> |
| 2 | <!--<input type="text" name="username" ng-model="username" required>--> |
| 3 | <!--<input type="text" name="password" ng-model="password" required>--> |
| 4 | <!--<button type="button" ng-click="vm.login(username, password)">Login</button>--> |
| 5 | <!--</form>--> |
| 6 | <!-- Main content--> |
Matteo Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 7 | <section class="content" ng-style="vm.loginStyle"> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 8 | |
| 9 | <div class="container-center animated slideInDown"> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 10 | <div class="view-header"> |
| 11 | <div class="header-icon"> |
| 12 | <i class="pe page-header-icon pe-7s-unlock"></i> |
| 13 | </div> |
| 14 | <div class="header-title"> |
| 15 | <h3>Login</h3> |
| 16 | <small> |
| 17 | Please enter your credentials to login. |
| 18 | </small> |
| 19 | </div> |
| 20 | </div> |
Matteo Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 21 | <hr> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 22 | <div class="panel panel-filled"> |
| 23 | <div class="panel-body"> |
| 24 | <form id="loginForm" ng-submit="vm.login(username, password)" novalidate> |
| 25 | <div class="form-group"> |
| 26 | <label class="control-label" for="username">Username</label> |
| 27 | <input type="text" ng-model="username" placeholder="example@gmail.com" title="Please enter you username" required="" value="" name="username" id="username" class="form-control"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 28 | <!--<span class="help-block small">Your unique username to app</span>--> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 29 | </div> |
| 30 | <div class="form-group"> |
| 31 | <label class="control-label" for="password">Password</label> |
| 32 | <input type="password" ng-model="password" title="Please enter your password" placeholder="******" required="" value="" name="password" id="password" class="form-control"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 33 | <!--<span class="help-block small">Your strong password</span>--> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 34 | </div> |
Matteo Scandolo | ebe5a22 | 2017-02-27 11:09:26 -0800 | [diff] [blame^] | 35 | <xos-alert config="{type: 'danger'}" show="vm.showErrorMsg">{{vm.errorMsg}}</xos-alert> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 36 | <div> |
| 37 | <button ng-click="vm.login(username, password)" class="btn btn-accent">Login</button> |
| 38 | <!--<a class="btn btn-default" href="register.html">Register</a>--> |
| 39 | </div> |
| 40 | </form> |
| 41 | </div> |
| 42 | </div> |
| 43 | |
| 44 | </div> |
| 45 | </section> |
| 46 | <!-- End main content--> |