client/app/auth/login_modal.html
author rougeronj
Wed, 08 Apr 2015 17:00:43 +0200
changeset 81 ef4d8ed6eef2
parent 68 b209b49c99fb
child 96 3542155549e4
permissions -rw-r--r--
Adapt the html to handle a list of images sent by our Ammico API
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
60
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     1
<div class="modal-header ng-scope">
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     2
	<h3 class="modal-title">Authentication Page</h3>
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     3
</div>
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     4
64
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
     5
<form ng-submit="login()">
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
     6
	<div class="modal-body ng-scope">
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
     7
		<input type="text" class="form-control" ng-model='username' placeholder="Username">
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
     8
		<input type="password" class="form-control" ng-model='password' placeholder="Password">
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
     9
	</div>
60
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
    10
64
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    11
	<div class="modal-footer ng-scope">
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    12
		<a href='' ng-click="register()">Creer un compte</a>
68
b209b49c99fb add type="button" on cancel buttons to avoid default validation of form
rougeronj
parents: 64
diff changeset
    13
		<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
64
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    14
		<button type="submit" ng-disabled="userForm.$invalid" class="btn btn-primary">Login</button>
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    15
	</div>
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    16
</form>