aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/app/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'alias-angular/app/index.html')
-rw-r--r--alias-angular/app/index.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/alias-angular/app/index.html b/alias-angular/app/index.html
index f6f1e4f..709f59f 100644
--- a/alias-angular/app/index.html
+++ b/alias-angular/app/index.html
@@ -6,12 +6,10 @@
<link rel="stylesheet" href="css/app.css"/>
</head>
<body>
- <!-- var query = $iq({type : 'get'}).c('query', {xmlns : Strophe.NS.ROSTER}); -->
- <!-- connection.sendIQ(query, $scope.onRoster); -->
<form ng-submit="login()" ng-controller="ConnectCtl">
Username: <input type="text" ng-model="username"/>
- Password: <input type="text" ng-model="password"/>
- <input type="submit" value="Login"/> <!-- disabled="{{username=='' || password==''}}"> -->
+ Password: <input type="password" ng-model="password"/>
+ <input type="submit" value="Login" ng-disabled="!username"/>
</form>
<div ng-controller="RosterCtl">