-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
executable file
·149 lines (139 loc) · 7.75 KB
/
signup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html>
<head>
<title>Signup</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-route.js"></script>
<link rel="stylesheet" type="text/css" href="libs/css/signup.css">
<link rel="shortcut icon" href="images/logo/logo_ibento.png">
<script src="assets/data/register.js"></script>
</head>
<body ng-app="myApp">
<div id="loader"></div>
<style>
#loader {
position: fixed;
width: 100%;
height: 100vh;
z-index: 1;
overflow: visible;
background: url('loader.gif') no-repeat center center;
}
</style>
<script type="text/javascript">
var loader;
function loadNow(opacity) {
if(opacity <= 0) {
displayContent();
}
else {
loader.style.opacity = opacity;
window.setTimeout(function() {
loadNow(opacity - 0.05)
}, 10);
}
}
function displayContent() {
loader.style.display = 'none';
document.getElementById('content').style.display = 'block';
}
document.addEventListener("DOMContentLoaded", function() {
loader = document.getElementById('loader');
loadNow(1);
});
</script>
<div class="container">
<div class="row centered-form">
<div class="col-xs col-sm-8 col-md-4 col-sm-offset-2 col-md-offset-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Sign Up</h3>
</div>
<div class="panel-body">
<form ng-controller="Register" name="myForm" novalidate>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="text" name="name" ng-model="name" id="name" class="form-control input-sm" placeholder="Name" required>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="date" name="dob" ng-model="dob" id="dob" class="form-control input-sm" placeholder="Date Of Birth" required>
</div>
</div>
</div>
<div class="form-group">
<input type="email" name="email" id="email" ng-model="email" class="form-control input-sm" placeholder="Email" required>
</div>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="password" name="password" ng-model="password" id="password" class="form-control input-sm" placeholder="Password" required>
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<!-- pattern="(?=.*d)(?=.*[a-z])(?=.*[A-Z]).{8,}" -->
<input type="password" name="confirm-password" ng-model="confirmpassword" id="confirm-password" class="form-control input-sm" placeholder="Confirm Password" required>
</div>
</div>
</div>
<div ng-messages="registrationForm.confirmPassword.$error"
ng-messages-include="messages.html"></div>
<div class="row">
<div class="col-xs-2 col-sm-2 col-md-3"></div>
<div class="form-group" style="color:white;">
<label>Gender</label>
<select name="choice" ng-model="gender" style="color:black;">
<option value="gender" >Gender</option>
<option value="male" >Male</option>
<option value="female" >Female</option>
</select>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="number" name="phone" ng-model="phone" id="phone" class="form-control input-sm" placeholder="Phone Number" required>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="text" name="city" ng-model="city" id="city" class="form-control input-sm" placeholder="City" required>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<input type="text" name="State" ng-model="state" id="State" class="form-control input-sm" placeholder="State" required>
</div>
</div>
</div>
<center><a href="#" class="button js-button" ng-click="submit()" role="button">Submit</a></center>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<!-- <script>
var app = angular.module('myApp', []);
app.controller('Register', function($scope) {
"name" = $scope.name;
console.log(name);
});
</script> -->
</body>
</html>