blob: 92bafdb75bf562c79793e555aaa3f0b9c6e8f2d0 [file] [log] [blame]
Matteo Scandolo500e4c42017-08-08 13:05:24 -07001
2<!--
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17
18
Matteo Scandolo266907e2016-12-20 13:41:42 -080019<!--<form name="login">-->
20 <!--<input type="text" name="username" ng-model="username" required>-->
21 <!--<input type="text" name="password" ng-model="password" required>-->
22 <!--<button type="button" ng-click="vm.login(username, password)">Login</button>-->
23<!--</form>-->
24<!-- Main content-->
Matteo Scandolo99fface2016-12-21 15:37:23 -080025<section class="content" ng-style="vm.loginStyle">
Matteo Scandolo266907e2016-12-20 13:41:42 -080026
27 <div class="container-center animated slideInDown">
Matteo Scandolo266907e2016-12-20 13:41:42 -080028 <div class="view-header">
29 <div class="header-icon">
30 <i class="pe page-header-icon pe-7s-unlock"></i>
31 </div>
32 <div class="header-title">
33 <h3>Login</h3>
34 <small>
35 Please enter your credentials to login.
36 </small>
37 </div>
38 </div>
Matteo Scandolo99fface2016-12-21 15:37:23 -080039 <hr>
Matteo Scandolo266907e2016-12-20 13:41:42 -080040 <div class="panel panel-filled">
41 <div class="panel-body">
42 <form id="loginForm" ng-submit="vm.login(username, password)" novalidate>
43 <div class="form-group">
44 <label class="control-label" for="username">Username</label>
45 <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 -080046 <!--<span class="help-block small">Your unique username to app</span>-->
Matteo Scandolo266907e2016-12-20 13:41:42 -080047 </div>
48 <div class="form-group">
49 <label class="control-label" for="password">Password</label>
50 <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 -080051 <!--<span class="help-block small">Your strong password</span>-->
Matteo Scandolo266907e2016-12-20 13:41:42 -080052 </div>
Matteo Scandoloebe5a222017-02-27 11:09:26 -080053 <xos-alert config="{type: 'danger'}" show="vm.showErrorMsg">{{vm.errorMsg}}</xos-alert>
Matteo Scandolo266907e2016-12-20 13:41:42 -080054 <div>
55 <button ng-click="vm.login(username, password)" class="btn btn-accent">Login</button>
56 <!--<a class="btn btn-default" href="register.html">Register</a>-->
57 </div>
58 </form>
59 </div>
60 </div>
61
62 </div>
63</section>
64<!-- End main content-->