diff options
| author | Iftekharul Islam <iislam@us.ibm.com> | 2017-06-22 09:27:47 -0500 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2017-09-20 13:14:23 -0500 |
| commit | d19b718ea3b9248d8f071a8e080206266d604979 (patch) | |
| tree | b7066f1642607df9cd902d79ec455dfab647e0af /app/login/controllers | |
| parent | 6dc5f1817b37b913e1aee2d65f419cd2031f185a (diff) | |
| download | phosphor-webui-d19b718ea3b9248d8f071a8e080206266d604979.tar.gz phosphor-webui-d19b718ea3b9248d8f071a8e080206266d604979.zip | |
Minor usability fixes
- Set default focus to 'username' field on login.
- Add default sorting of event logs.
Change-Id: I677cc12a41313e14cd22c3128240d271dfc7796f
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
Diffstat (limited to 'app/login/controllers')
| -rw-r--r-- | app/login/controllers/login-controller.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/login/controllers/login-controller.html b/app/login/controllers/login-controller.html index b1acb9a..a0da982 100644 --- a/app/login/controllers/login-controller.html +++ b/app/login/controllers/login-controller.html @@ -21,7 +21,7 @@ <div class="columns large-6 disabled"> <form id="login__form" role="form" action="" > <label for="username">Username</label> - <input type="text" id="username" name="username" required ng-model="username" ng-class="{error: error}" ng-keydown="tryLogin(username, password, $event)" ng-disabled="dataService.loading"> + <input type="text" id="username" name="username" required ng-model="username" ng-class="{error: error}" ng-keydown="tryLogin(username, password, $event)" ng-disabled="dataService.loading" autofocus> <label for="password">Password</label> <input type="password" id="password" name="password" class="" required ng-model="password" ng-keydown="tryLogin(username, password, $event)" ng-disabled="dataService.loading"> @@ -33,4 +33,4 @@ </form> </div> </div> -</div>
\ No newline at end of file +</div> |

