-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (135 loc) · 6.95 KB
/
index.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
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<!--Let browser know website is optimized for mobile-->
<link rel="stylesheet" href="./node_modules/intl-tel-input/build/css/intlTelInput.min.css">
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="register">
<div class="row ">
<div class="col s8 offset-s2">
<div class="row card">
<form id="form" action="" class="form col s12 ">
<div class="row">
<h2 class="title center-align">
Register
</h2>
</div>
<div class="row">
<div class="col s6 input-field">
<i class="material-icons prefix">account_circle</i>
<input type="text" name="" id="firstName" class="validate" >
<label class="active" for="firstName" >first name</label>
</div>
<div class="col s6 input-field">
<i class="material-icons prefix">account_circle</i>
<input type="text" name="" id="lastName" class="validate" >
<label for="lastName" >last name</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">email</i>
<input id="email" type="email" class="validate">
<label for="email" >Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">remove_red_eye</i>
<input id="password" type="password" data-length="6" class="validate">
<label for="password" >Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">remove_red_eye</i>
<input id="confirmPassowrd" data-length="6" type="password" class="validate">
<label for="password" >Confirm Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">date_range</i>
<input type="text" class="datepicker">
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">timer</i>
<input type="text" class="timepicker">
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">location_city</i>
<select id="address-country">
</select>
<label>Materialize Select</label>
</div>
</div>
<div class="row">
<div class=" col s12">
<i class="material-icons prefix">phone</i>
<input id="phone" type="tel" class="validate">
<span id="valid-msg" class="hide">✓ Valid</span>
<span id="error-msg" class="hide"></span>
<label for="phone" >Telephone</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<button id="submit" class="btn waves-effect waves-light" type="submit" name="action">Submit
<i class="material-icons right">send</i>
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
<script src="/node_modules/intl-tel-input/build/js/intlTelInput.js"></script>
<script>
var input = document.querySelector("#phone");
window.intlTelInput(input, {
// allowDropdown: false,
// autoHideDialCode: false,
// autoPlaceholder: "off",
// dropdownContainer: document.body,
// excludeCountries: ["us"],
// formatOnDisplay: false,
// geoIpLookup: function(callback) {
// $.get("http://ipinfo.io", function() {}, "jsonp").always(function(resp) {
// var countryCode = (resp && resp.country) ? resp.country : "";
// callback(countryCode);
// });
// },
// hiddenInput: "full_number",
// initialCountry: "auto",
// localizedCountries: { 'de': 'Deutschland' },
// nationalMode: false,
// onlyCountries: ['us', 'gb', 'ch', 'ca', 'do'],
// placeholderNumberType: "MOBILE",
// preferredCountries: ['cn', 'jp'],
// separateDialCode: true,
utilsScript: "/node_modules/intl-tel-input/build/js/utils.js",
});
</script>
<script src="globalValiabel.js"></script>
<script src="util.js"></script>
<script src="index.js"></script>
<script src="phoneCheck.js"></script>
<script src="country.js"></script>
</body>
</html>