blob: 12755abb890102bae47eb3c456a4c46b34243d11 [file] [log] [blame]
Matteo Scandolo266907e2016-12-20 13:41:42 -08001<!--<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 Scandolo99fface2016-12-21 15:37:23 -08007<section class="content" ng-style="vm.loginStyle">
Matteo Scandolo266907e2016-12-20 13:41:42 -08008
9 <div class="container-center animated slideInDown">
Matteo Scandolo266907e2016-12-20 13:41:42 -080010 <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 Scandolo99fface2016-12-21 15:37:23 -080021 <hr>
Matteo Scandolo266907e2016-12-20 13:41:42 -080022 <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 Scandoloa8a6fbb2016-12-21 16:59:08 -080028 <!--<span class="help-block small">Your unique username to app</span>-->
Matteo Scandolo266907e2016-12-20 13:41:42 -080029 </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 Scandoloa8a6fbb2016-12-21 16:59:08 -080033 <!--<span class="help-block small">Your strong password</span>-->
Matteo Scandolo266907e2016-12-20 13:41:42 -080034 </div>
Matteo Scandoloebe5a222017-02-27 11:09:26 -080035 <xos-alert config="{type: 'danger'}" show="vm.showErrorMsg">{{vm.errorMsg}}</xos-alert>
Matteo Scandolo266907e2016-12-20 13:41:42 -080036 <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-->