-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
324 lines (315 loc) · 25.2 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="Register.css">
<link rel="stylesheet" type="text/css" href="ng-grid.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <!-- Latest compiled JavaScript --> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="angcontroller.js" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular-cookies.js"> </script> <script src="ui-grid.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet">
<script src="Register.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>
<title>Register</title>
<link rel="icon" type="image/png" href="original.png" />
<style> .drop{ margin-left: 160px; } .ui-autocomplete-multiselect.ui-state-default { display: block; background: #fff; border: 1px solid #ccc; padding: 3px 3px; padding-bottom: 0px; overflow: hidden; cursor: text; width: 170px !important; border-radius: 4px; border-color: #555; } .ui-autocomplete-multiselect .ui-autocomplete-multiselect-item { display: inline-block; border: 1px solid #ccc; border-radius: 4px; padding: 1px 3px; margin-right: 2px; margin-bottom: 3px; color: #333; background-color: #f6f6f6; } .ui-autocomplete { position: absolute; top:100%; left:8%; cursor: pointer; width :160px!important; } .ui-elemfocus { border:1px solid #fbcb09;// background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; color: #c77405; } </style>
</head>
<body ng-app="Registerform" ng-controller="FormCtrl">
<header id="header">
<div class="top">
<div class="container">
<div class="row">
<div class="col-sm-3 col-xs-3 col-md-2 " > <a href="http://www.automationtesting.in" class="navbar-brand" > <img src="original.png" alt="image not displaying" style="height: 50px" > </a> </div>
<div class="col-sm-8 col-xs-8 col-md-8" align="center">
<h1>Automation Demo Site </h1>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-inverse" style="min-height: 34px">
<div class="container">
<div class="navbar-header">
<button class="btn btn-success navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"> </span>
<span class="icon-bar"></span>
<span class="icon-bar"> </span>
</button>
</div>
<div class="navbar-collapse collapse navbar-right" >
<ul class="nav navbar-nav" style="width: 106%;">
<li> <a href="Index.html">Home</a> </li>
<li class="active"> <a href="Register.html">Register</a> </li>
<li> <a href="WebTable.html">WebTable</a> </li>
<li class="dropdown">
<a href="SwitchTo.html" data-toggle="dropdown" class="dropdown-toggle" >SwitchTo</a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu">
<li> <a href="Alerts.html" style="color: white">Alerts</a></li>
<li> <a href="Windows.html" style="color: white">Windows</a></li>
<li> <a href="Frames.html" style="color: white">Frames</a> </li>
</ul>
</li>
<li class="dropdown ">
<a href="Widgets.html" data-toggle="dropdown" class="dropdown-toggle" >Widgets</a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu" >
<li> <a href="Accordion.html" style="color: white"> Accordion </a></li>
<li><a href="AutoComplete.html" style="color: white"> AutoComplete </a></li>
<li><a href="Datepicker.html" style="color: white"> Datepicker </a></li>
<li><a href="Slider.html" style="color: white"> Slider </a></li>
</ul>
</li>
<li class="dropdown ">
<a href="Interactions.html" data-toggle="dropdown" class="dropdown-toggle">Interactions </a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu">
<li>
<a data-toggle="dropdown" class="dropdown-toggle" style="color: white;cursor: pointer">Drag and Drop </a>
<ul class="childmenu " >
<li> <a href="Static.html" style="color: white">Static </a></li>
<li> <a href="Dynamic.html" style="color: white">Dynamic </a></li>
</ul>
</li>
<li> <a href="Selectable.html" style="color: white">Selectable </a></li>
<li> <a href="Resizable.html" style="color: white">Resizable</a> </li>
</ul>
</li>
<li class="dropdown">
<a href="SwitchTo.html" data-toggle="dropdown" class="dropdown-toggle" >Video</a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu">
<li> <a href="Youtube.html" style="color: white">Youtube</a></li>
<li> <a href="Vimeo.html" style="color: white">Vimeo</a></li>
</ul>
</li>
<li class="dropdown">
<a href="WYSIWYG.html" data-toggle="dropdown" class="dropdown-toggle">WYSIWYG</a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu">
<li> <a href="TinyMCE.html" style="color: white">TinyMCE</a></li>
<li> <a href="CKEditor.html" style="color: white">CKEditor</a></li>
<li> <a href="SummerNote.html" style="color: white">SummerNote</a> </li>
<li> <a href="CodeMirror.html" style="color: white">CodeMirror</a> </li>
</ul>
</li>
<li class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">More</a> <i class="fa fa-angle-down"> </i>
<ul class="dropdown-menu">
<li> <a href="Charts.html" style="color: white">Charts</a></li>
<li> <a href="DynamicData.html" style="color: white">Dynamic Data</a></li>
<li> <a href="FileDownload.html" style="color: white">File Download</a> </li>
<li> <a href="FileUpload.html" style="color: white">File Upload</a> </li>
<li> <a href="JqueryProgressBar.html" style="color: white">JQuery ProgressBar</a> </li>
<li> <a href="Loader.html" style="color: white">Loader</a> </li>
<li> <a href="Modals.html" style="color: white">Modals</a> </li>
<li> <a href="ProgressBar.html" style="color: white">ProgressBar</a> </li>
</ul>
</li>
<li><a href="http://practice.automationtesting.in/">Practice Site</a></li>
</ul>
</div>
</div>
</nav>
</header>
<section id="section">
<div class="container-fluid" style="background-color: red" ng-if="errorlabel">
<div class="col-xs-12" style="margin-bottom: 30px;margin-top: 15px">
<div class="col-xs-offset-3 col-xs-3" ng-if = "EmailExists">Email already exists</div>
<div class="col-xs-offset-1 col-xs-4" ng-if = "PhoneExists">Phone number already exists</div>
</div>
</div>
<div class="container center">
<h2>Register</h2>
<div class="row ">
<div class="col-sm-2 col-md-2 col-xs-2 hidden-xs" >
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Responsive --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9173866185064071" data-ad-slot="6638633547" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
</div>
<div class="col-sm-6 col-md-6 col-xs-12">
<form id="basicBootstrapForm" ng-submit="createdata()" class="form-horizontal" >
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Full Name* </label>
<div class="col-md-4 col-xs-4 col-sm-4"> <input type="text" placeholder="First Name" class="form-control" ng-model="FirstName" required > </input> </div>
<div class="col-md-4 col-xs-4 col-sm-4"> <input type="text" placeholder="Last Name" class="form-control" ng-model="LastName" required> </input> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Address</label>
<div class="col-md-8 col-xs-8 col-sm-8"> <textarea rows="3" class="form-control" ng-model="Adress"> </textarea> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Email address*</label>
<div class="col-md-4 col-xs-4 col-sm-4" id="eid"> <input type="email" class="form-control" ng-model="EmailAdress" required> </input> </div>
<div class="col-sm-4 col-xs-4 tooltptext"> <span >Provide a valid email id for further updates</span> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Phone*</label>
<div class="col-md-4 col-xs-4 col-sm-4"> <input type="tel" class="form-control" ng-model="Phone" required pattern="^\d{10}$"> </input> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Gender*</label>
<div class="col-md-4 col-xs-4 col-sm-4"> <label> <input type="radio" name="radiooptions" ng-model="radiovalue" value="Male" required > Male </input></label> <label> <input type="radio" name="radiooptions" ng-model="radiovalue" value="FeMale"> FeMale</input></label> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Hobbies</label>
<div class="col-md-4 col-xs-4 col-sm-4">
<div> <input type="checkbox" id="checkbox1" value="Cricket" > <label class="checks" style="text-align: right"> Cricket </label> </div>
<div > <input type="checkbox" id="checkbox2" value="Movies"> <label class="checks">Movies </label> </div>
<div > <input type="checkbox" id="checkbox3" value="Hockey"> <label class="checks">Hockey</label> </div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Languages</label>
<div class="col-md-4 col-xs-4 col-sm-4" >
<multi-select>
<div class="ui-autocomplete-multiselect ui-state-default ui-widget" id="msdd" style="min-height:30px;max-width:200px">
<!-- <input type="text" style="border: none; outline: none; width: 15px; height: 25px"/>-->
</div>
</multi-select>
<!-- <select type="text" class="form-control" id="Languages" ng-model="Language" ng-init="Language=''"> <option value=""> Select languages</option> </select>-->
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Skills</label>
<div class="col-md-4 col-xs-4 col-sm-4">
<select type="text" class="form-control" id="Skills" ng-model="Skill" ng-init="Skill=''" >
<option value="">Select Skills</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Country*</label>
<div class="col-md-4 col-xs-4 col-sm-4">
<select type="text" class="form-control" id="countries" required ng-model="country" ng-init="country=''">
<option value="">Select Country</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label" for="usr">Select Country :</label>
<div class="col-md-4 col-xs-4 col-sm-4">
<select id="country" style="width:300px;" tabindex="-1" class="select2-hidden-accessible" aria-hidden="true">
<!-- Dropdown List Option -->
<option></option><option value="Australia">Australia</option><option value="Bangladesh">Bangladesh</option><option value="Denmark">Denmark</option><option value="Hong Kong">Hong Kong</option><option value="India">India</option><option value="Japan">Japan</option><option value="Netherlands">Netherlands</option><option value="New Zealand">New Zealand</option><option value="South Africa">South Africa</option><option value="United States of America">United States of America</option></select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Date Of Birth</label>
<div class="col-md-3 col-xs-3 col-sm-3">
<select type="text" class="form-control" placeholder="Year" id="yearbox" ng-model="yearbox" ng-init="yearbox=''" required>
<option value="">year </option>
</select>
</div>
<div class="col-md-3 col-xs-3 col-sm-3">
<select type="text" class="form-control" placeholder="Month" ng-model="monthbox" ng-init="monthbox=''" required>
<option value="">Month</option>
<option>January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>August</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
</div>
<div class="col-md-3 col-xs-3 col-sm-3">
<select type="text" class="form-control" placeholder="Day" id="daybox" ng-model="daybox" ng-init="daybox=''" required>
<option value=""> Day </option>
<option value="1">1 </option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Password</label>
<div class="col-md-4 col-xs-4 col-sm-4"> <input id="firstpassword" type="password" class="form-control" ng-model="Password" required minlength="6" onblur="validatepattern(this)"> </input> </div>
</div>
<div class="form-group">
<label class="col-md-3 col-xs-3 col-sm-3 control-label">Confirm Password</label>
<div class="col-md-4 col-xs-4 col-sm-4">
<input id="secondpassword" type="password" class="form-control" ng-model="CPassword" required onblur="validatepasswords(this)" > </input> <script> function validatepasswords(input) { var password1= document.getElementById("firstpassword").value; var password2=document.getElementById("secondpassword").value; if (!(password1==password2)) { input.setCustomValidity('Passwords dont match'); } else { input.setCustomValidity(''); } } function validatepattern(input) { var password1= document.getElementById("firstpassword").value; var pattern =/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]){4,6}(?!.*\s ).*$/; if (!(pattern.test(input.value))) { input.setCustomValidity('Please Enter an UpperCase,LowerCase Alphabet and a Number'); } else { input.setCustomValidity(''); } } </script>
</div>
</div>
<div class="form group">
<div class="col-md-9 col-md-offset-3 com-sm-9 col-sm-offset-3 col-xs-9 col-xs-offset-3 "> <button id="submitbtn" type="submit" class="btn btn-primary" name="signup" value="sign up"> Submit </button>
<button id="Button1" type="button" class="btn btn-primary" value="Refresh" >Refresh</button>
</div>
</div>
</form>
</div>
<div class="col-sm-4 col-md-4 col-xs-4">
<label class="col-xs-6 col-xs-offset-6" style="margin-top: 10px"> Photo</label>
<div class="col-xs-6 col-xs-offset-6" style="margin-top: 15px">
<img id="imagetrgt" style="width:120px !important;height:120px!important; " src="original.png">
</div>
<div class="col-xs-6 col-xs-offset-6">
<input id="imagesrc" type="file" style=" margin-top: 10px!important; " onchange=uploadimg()>
</div>
<script>
function uploadimg()
{ var img= document.getElementById("imagetrgt"); var src= document.getElementById("imagesrc");
}
$(document).ready(function() {
$('#Button1').click(function() {
location.reload();
});
});
</script>
</div>
</div>
</div>
</div>
</section>
<footer id="footer" class="midnight-blue col-md-12 col-xs-12 col-sm-12">
<div class="container">
<div class="row">
<div class="col-md-6 col-xs-6 col-sm-6">"@ 2016"<a target="_blank" href="#" title="Sakinalium Demo Site">Automation Testing</a>"All Rights Reserved."</div>
<div class="col-md-6 col-xs-6 col-sm-6 social pull-right">
<a target="_blank" href="https://www.facebook.com/automationtesting2016/" class="link facebook"><span class="fa fa-facebook-square" ></span></a>
<a target="_blank" href="https://twitter.com/krishnasakinala" class="link twitter"><span class="fa fa-twitter-square" ></span></a>
<a target="_blank" href="https://www.linkedin.com/nhome/?trk=hb_signin" class="link linkedin"><span class="fa fa-linkedin-square" ></span></a>
<a target="_blank" href="https://plus.google.com/105286300926085335367" class="link google-plus"><span class="fa fa-google-plus-square" ></span></a>
<a target="_blank" href="https://www.youtube.com/channel/UCmQRa3pWM9zsB474URz8ESg" class="link youtube"><span class="fa fa-youtube-square" ></span></a>
</div>
</div>
</div>
</footer>
<script type="text/javascript">
$(document).ready(function() {
var country = ["", "Australia", "Bangladesh", "Denmark", "Hong Kong", "India", "Japan", "Netherlands", "New Zealand", "South Africa", "United States of America"];
$("#country").select2({
data: country
});
});
</script>
</body>
<script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'}),_trfd.push({'ap':'cpsh'},{'server':'p3plcpnl0555'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js'></script></html>