-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (106 loc) · 4.57 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Generator</title>
<link rel="icon" href="assets/icon-96.png" type="image/png">
<link rel="stylesheet" href="assets/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="assets/style.css" type="text/css">
<link rel="manifest" href="manifest.webmanifest">
<meta name=description content="User Generator is a tool to generate random people with identity, location, contact information and many more">
<!-- IOS Support -->
<link rel="apple-touch-icon" href="assets/icon-96.png">
<meta name="apple-mobile-web-app-status-bar-style" content="#c536f5">
<meta name="theme-color" content="#c536f5">
</head>
<body oncontextmenu="return false">
<div class="container">
<div class="load"><div></div></div>
<img class="img" src="" >
<div class="box">
<div class="filter">
<h5>Gender</h5>
<form class='inline'>
<input type='radio' name="gender" value='' id='random' checked>
<label for='random'>Random </label><br>
<input type='radio' name="gender" value='male' id='male'>
<label for='male'>Male </label><br>
<input type='radio' name="gender" value='female' id='female'>
<label for='female'>Female</label>
</form>
<div>
<h5>Nationality</h5>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true">United States</button>
</div>
<div id='li'>
<li value="us">United States</li>
<li value="gb">United Kingdom</li>
<li value="nz">New Zealand</li>
<li value="au">Australia</li>
<li value="br">Brazil</li>
<li value="ca">Canada</li>
<li value="de">Germany</li>
<li value="dk">Denmark</li>
<li value="es">Spain</li>
<li value="fi">Finland</li>
<li value="fr">France</li>
<li value="ie">Ireland</li>
<li value="ir">Iran</li>
<li value="tr">Turkey</li>
<li value="no">Norway</li>
<li value="nl">Netherlands</li>
</div>
</div>
</div>
<div class="btns">
<button class="btn btn-my" id="filter">Filter</button>
<button class="btn btn-my" id="gen">Generate</button>
</div>
<div class='card'>
<h5>Basic</h5>
<h6>Name:<hr><span id="name"></span></h6>
<h6>Gender:<hr><span id="gender"></span></h6>
<h6>Age:<hr><span id="age"></span></h6>
<h6>Birthday:<hr><span id="dob"></span></h6>
</div>
<div class='card'>
<h5>Contact</h5>
<h6>Email:<hr><span id="email"></span></h6>
<h6>Phone:<hr><span id="phone"></span></h6>
</div>
<div class='card'>
<h5>Location</h5>
<h6>Street:<hr><span id="street"></span></h6>
<h6>Postcode:<hr><span id="postcode"></span></h6>
<h6>City:<hr><span id="city"></span></h6>
<h6>State:<hr><span id="state"></span></h6>
<h6>Country:<hr><span id="country"></span></h6>
</div>
<div class='card'>
<h5>Geo Location</h5>
<h6>Latitude:<hr><span id="latitude"></span></h6>
<h6>Longitude:<hr><span id="longitude"></span></h6></div>
</div>
</div>
<div class="edit">
<img title="Edit" src="assets/edit.svg">
<div title="Cancel">+</div>
</div>
<br><br>
<script src='assets/jquery-3.5.1.min.js'></script>
<script src="assets/script.js"></script>
<script>
window.addEventListener('load', async function() {
if ('serviceWorker' in navigator) {
try {
await navigator.serviceWorker.register('sw.js');
} catch (err) {
console.log(`SW registration failed`, err);
}
}
})
</script>
</body>
</html>