Matteo Scandolo | 500e4c4 | 2017-08-08 13:05:24 -0700 | [diff] [blame] | 1 | |
| 2 | <!-- |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 19 | <!--<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 Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 25 | <section class="content" ng-style="vm.loginStyle"> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 26 | |
| 27 | <div class="container-center animated slideInDown"> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 28 | <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 Scandolo | 99fface | 2016-12-21 15:37:23 -0800 | [diff] [blame] | 39 | <hr> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 40 | <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 Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 46 | <!--<span class="help-block small">Your unique username to app</span>--> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 47 | </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 Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 51 | <!--<span class="help-block small">Your strong password</span>--> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 52 | </div> |
Matteo Scandolo | ebe5a22 | 2017-02-27 11:09:26 -0800 | [diff] [blame] | 53 | <xos-alert config="{type: 'danger'}" show="vm.showErrorMsg">{{vm.errorMsg}}</xos-alert> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 54 | <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--> |