You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.html 1.0KB

1234567891011121314151617181920212223242526
  1. <div layout="column" layout-fill layout-align="top center">
  2. <h1>Login</h1>
  3. <div class="col-xs-4">
  4. <form ng-submit="login()">
  5. <div>
  6. <md-input-container class="col-xs-12">
  7. <label for="username">Username</label>
  8. <input name="username" id="username" type="text" ng-model="user.Username" required>
  9. </md-input-container>
  10. </div>
  11. <div>
  12. <md-input-container class="col-xs-12">
  13. <label for="password">Password</label>
  14. <input name="password" id="password" type="password" ng-model="user.Password" required>
  15. </md-input-container>
  16. </div>
  17. <div class="col-xs-10 col-xs-offset-1">
  18. <md-button class="col-xs-12" type="submit">Login</md-button>
  19. </div>
  20. </form>
  21. <div class="clearfix"></div>
  22. <div ng-hide="error == null" class="error-message text-center">
  23. {{ error.Data }}
  24. </div>
  25. </div>
  26. </div>