-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use the Cordova camera plugin and the ngCordova wrapper within your application - Leverage the built-in camera of your device through the plugin to obtain image data from the camera.
- Loading branch information
Showing
5 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<ion-modal-view> | ||
<ion-header-bar> | ||
<h1 class="title">Register</h1> | ||
<div class="buttons"> | ||
<button class="button button-clear" ng-click="closeRegister()">Close</button> | ||
</div> | ||
</ion-header-bar> | ||
<ion-content> | ||
<form ng-submit="doRegister()"> | ||
<div class="list"> | ||
<label class="item item-input"> | ||
<span class="input-label">Your Picture</span> | ||
</label> | ||
<label class="item item-input"> | ||
<img class="padding" ng-src="{{registration.imgSrc}}"> | ||
</label> | ||
<label class="item item-input"> | ||
<button class="button button-block button-positive" type="button" ng-click="takePicture()"> | ||
Take Picture | ||
</button> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">First Name</span> | ||
<input type="text" ng-model="registration.firstname"> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Last Name</span> | ||
<input type="text" ng-model="registration.lastname"> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Username</span> | ||
<input type="text" ng-model="registration.username"> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Telephone Number</span> | ||
<input type="tel" ng-model="registration.telnum"> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Email</span> | ||
<input type="email" ng-model="registration.email"> | ||
</label> | ||
<label class="item"> | ||
<button class="button button-block button-positive" type="submit">Register</button> | ||
</label> | ||
</div> | ||
</form> | ||
</ion-content> | ||
</ion-modal-view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters