forked from rmkanda/sample-pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
193 lines (192 loc) · 6.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Sample PWA</title>
<link rel="manifest" href="manifest.json" />
<link rel="stylesheet" href="css/style.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="images/hello-icon-152.png" />
<meta name="Description" content="Sample PWA" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="white" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Sample PWA" />
<meta name="msapplication-TileImage" content="images/hello-icon-144.png" />
<meta name="msapplication-TileColor" content="#FFFFFF" />
<link
async
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link
async
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
crossorigin="anonymous"
/>
<script
src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"
></script>
<script
async
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"
></script>
<script src="js/platform-1.3.5.js"></script>
<script src="js/main.js"></script>
</head>
<body style="background-color: darkgray">
<div class="container">
<div id="status-alert" class="alert alert-warning" role="alert">
<strong>There is no internet connection.</strong> Please check network
settings.
</div>
<div class="card-columns">
<div class="card">
<div class="card-body">
<h5 class="card-title">Hello!</h5>
<p class="card-text" title="Welcome Card">
<span lang="en">Good morning</span><br />
Welcome to my page
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">GeoLocation</h5>
<p class="card-text" title="GeoLocation">
Click on the <b>Show my location</b> to know your current geo
location
</p>
<button
id="geo-loc-button"
type="button"
class="btn btn-primary"
onclick="getLocation()"
>
Show my location
</button>
</div>
<p
class="card-text"
title="Current GeoLocation"
id="current-geo-loc"
></p>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Server Date & Time</h5>
<p id="currentDateTime" title="Current Time" class="card-text">
Date: Unknown <br />
Time: Unknown <br />
Unix time: Unknown <br />
Powerd By: World Time API
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Language Browser</h5>
<p id="currentLanguage" title="Current Language" class="card-text">
Default Language: Unknown<br />
Preferred Lanaguages: Unknown
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Internet Connectivity</h5>
<p id="conStatus" title="Connection Status" class="card-text">
Status: Unknown <br />
Speed: Unknown <br />
Speed Category: Unknown <br />
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Display</h5>
<p id="displayDimen" title="Display Dimensions" class="card-text">
Width: Unknown<br />
Height: Unknown<br />
Orientation: Unknown<br />
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Browser Info</h5>
<p id="browserInfo" title="Browser Info" class="card-text">
Browser: N/A<br />
Version: N/A<br />
Vendor: N/A<br />
OS: N/A<br />
Hardware: N/A<br />
Description: N/A
</p>
<a title="Powerd By Platform.js" href="https://mths.be/platform">
Powerd By Platform.js
</a>
</div>
</div>
</div>
</div>
</body>
<footer class="page-footer font-small cyan darken-3">
<div id="social-media-links" class="container footer">
<div class="row">
<div class="col-md-12 footer-icons py-5">
<div class="mb-5 flex-center">
<a
href="https://www.facebook.com/"
aria-label="Facebook"
class="fb-ic"
>
<i class="fab fa-facebook-f fa-lg white-text mr-md-5 mr-3 fa-2x">
</i>
</a>
<a
href="https://twitter.com/home"
aria-label="Twitter"
class="tw-ic"
>
<i class="fab fa-twitter fa-lg white-text mr-md-5 mr-3 fa-2x">
</i>
</a>
<a
href="https://www.linkedin.com/"
aria-label="Linkedin"
class="li-ic"
>
<i class="fab fa-linkedin-in fa-lg white-text mr-md-5 mr-3 fa-2x">
</i>
</a>
<a
href="https://instagram.com"
aria-label="Instagram"
class="ins-ic"
>
<i class="fab fa-instagram fa-lg white-text mr-md-5 mr-3 fa-2x">
</i>
</a>
<a
href="https://in.pinterest.com/"
aria-label="Pinterest"
class="pin-ic"
>
<i class="fab fa-pinterest fa-lg white-text fa-2x"> </i>
</a>
</div>
</div>
</div>
</div>
</footer>
</html>