summaryrefslogtreecommitdiffstats
path: root/app/login/controllers
diff options
context:
space:
mode:
authorIftekharul Islam <iislam@us.ibm.com>2017-06-22 09:27:47 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-20 13:14:23 -0500
commitd19b718ea3b9248d8f071a8e080206266d604979 (patch)
treeb7066f1642607df9cd902d79ec455dfab647e0af /app/login/controllers
parent6dc5f1817b37b913e1aee2d65f419cd2031f185a (diff)
downloadphosphor-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.html4
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>
OpenPOWER on IntegriCloud