-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (78 loc) · 3.43 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
<!doctype html>
<!--
Copyright 2014 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Sample illustrating the use of Push Messaing and Notifications.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Push Messaging & Notifications</title>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="../images/touch/chrome-touch-icon-192x192.png">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-title" content="Push Messaging and Notifications Sample">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" href="../images/apple-touch-icon-precomposed.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#3372DF">
<link rel="icon" href="../images/favicon.ico">
<!-- Include manifest file in the page -->
<link rel="manifest" href="manifest.json">
<!-- Style -->
<link rel="stylesheet" href="master.css">
</head>
<body>
<img id="logo" src="https://marksliva.github.io/chrome-push-client/images/vibes-mobile-logo.svg">
<h1>Android Chrome Push</h1>
<table>
<tr>
<td><label>First name: </label></td>
<td><input type="text" id="first-name" placeholder="First name"></td>
</tr>
<tr>
<td><label>Timezone: </label></td>
<td><select id="timezone">
<option value="null">Select a timezone</option>
<option value="utcm35">Newfoundland</option>
<option value="utcm4">Atlantic</option>
<option value="utcm5">Eastern</option>
<option value="utcm6">Central</option>
<option value="utcm7">Moutain</option>
<option value="utcm8">Pacific</option>
<option value="utcm9">Alaskan</option>
<option value="utcm10">Hawaiian</option>
<option value="utcp10">Chamorro</option>
</select></td>
</tr>
<tr><td><button id="update">Update information</button> </td></tr>
<tr><td> </td></tr>
<tr><td><button class="js-push-button" disabled>Enable Push Messages</button></td></tr>
<p>
</p>
</table>
<p id="update-status"> </p>
<br />
<br />
<div id="info"></div>
<div id="curl-command"></div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="config.js"></script>
<script src="demo.js"></script>
<script src="main.js"></script>
<!-- Built with love using Web Starter Kit -->
</body>
</html>