File: /home1/bloga741/www/alamoweb/viapp/register.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Viapp</title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<style type="text/css">
.div_submit_button {
padding: 15px;
}
</style>
<!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
<link href="css/ionic.app.css" rel="stylesheet">
-->
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="lib/ngCordova/dist/ng-cordova.min.js"></script>
<script src="cordova.js"></script>
<!-- your app's js -->
<script src="js/facebookConnectPlugin.js"></script>
<script src="js/loginandregister/app.js"></script>
<script src="js/loginandregister/controllers.js"></script>
<script src="js/align.functions.js"></script>
<script src="js/valid.functions.js"></script>
<script src="js/storage.js"></script>
<script src="js/parse-1.4.0.min.js"></script>
<script src="js/parse.js"></script>
</head>
<body ng-app="loginandregister" ng-controller="LoginAndRegisterCtrl" id="loginandregister">
<div id="fb-root"></div>
<ion-pane>
<ion-content>
<div id="register_form" class="center">
<form ng-init="fillFormWithFacebookData()">
<label class="item item-input">
<span class="input-label">Username</span>
<input type="text" id="username" name="username">
</label>
<label class="item item-input">
<span class="input-label">Password</span>
<input type="password" id="password" name="password">
</label>
<label class="item item-input">
<span class="input-label">Fist Name</span>
<input type="text" id="first_name" name="first_name">
</label>
<label class="item item-input">
<span class="input-label">Last Name</span>
<input type="text" id="last_name" name="last_name">
</label>
<label class="item item-input">
<span class="input-label">E-mail</span>
<input type="email" id="email" name="email">
</label>
<label class="item item-input item-select">
<span name="gender" class="input-label">Gender</span>
<select id="gender">
<option value=""></option>
<option id="gender_male" value="M">Male</option>
<option id="gender_female" value="F">Female</option>
</select>
</label>
<label class="item item-input">
<span class="input-label">Birthdate</span>
<input type="date" id="birthdate" name="birthdate">
</label>
<label class="item item-input item-select">
<span class="input-label">Document Category</span>
<select id="document_category">
<option value=""></option>
</select>
</label>
<label class="item item-input">
<span class="input-label">Document Number</span>
<input type="text" id="document_number" name="document_number">
</label>
<label class="item item-input">
<span class="input-label">Celphone Number</span>
<input type="text" id="cellphone_number" name="cellphone_number">
</label>
<label class="item item-input item-select">
<span class="input-label">Smoker?</span>
<select id="is_smoker">
<option value=""></option>
<option value="1">Yes</option>
<option value="0">No</option>
</select>
</label>
</form>
<br>
<img align="center" style="width: 75%" src="img/social_buttons/viapp_register_button.png" ng-click="register()">
</div>
</ion-content>
</ion-pane>
<script type="text/javascript">
// Align Register Form on Window Center
//alignOnWindowCenter("register_form");
// Fill Document Categories Select
fillSelectWithParseObjects('DocumentCategory', 'document_category', 'name');
</script>
</body>
</html>