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

<div class="modal-header ng-scope">
	<h3 class="modal-title">Authentication Page</h3>
</div>

<form ng-submit="login()">
	<div class="modal-body ng-scope">
		<input type="text" class="form-control" ng-model='username' placeholder="Username">
		<input type="password" class="form-control" ng-model='password' placeholder="Password">
	</div>

	<div class="modal-footer ng-scope">
		<a href='' ng-click="register()">Creer un compte</a>
		<button type="button" ng-click="cancel()" class="btn btn-warning">Cancel</button>
		<button type="submit" ng-disabled="userForm.$invalid" class="btn btn-primary">Login</button>
	</div>
</form>