diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-04-06 21:46:12 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-04-06 21:46:12 -0400 |
| commit | 05f8a92e9f90f58a637501b38de7b4c8b6b60619 (patch) | |
| tree | 4760272f97197d16fd4ed70e5c5a77d5084d296f /alias-angular/app/index.html | |
| parent | 383eb29ea70f8c26bf97b2ba8f56645623048105 (diff) | |
| download | alias-05f8a92e9f90f58a637501b38de7b4c8b6b60619.tar.gz | |
fixed the input form and code cleanups
Diffstat (limited to 'alias-angular/app/index.html')
| -rw-r--r-- | alias-angular/app/index.html | 6 |
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"> |
