forked from lholmquist/push-api-appengine-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.tpl
39 lines (39 loc) · 833 Bytes
/
setup.tpl
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
<!doctype html>
<html><head>
<title>Setup</title>
<meta name="viewport" content="initial-scale=1">
<style>
body {
text-align: center;
}
%if result:
.result {
font-style: italic;
}
%end
form {
display: inline-block;
}
label {
display: block;
text-align: right;
}
</style>
</head><body>
<h1>Setup</h1>
%if result:
<p class="result">{{result}}</p>
%end
<form method="post">
<label>GCM endpoint
<input name="endpoint" value="{{endpoint}}">
</label>
<label>GCM sender ID
<input name="sender_id" value="{{sender_id}}">
</label>
<label>GCM API key
<input name="api_key" value="{{api_key}}">
</label>
<input type="submit">
</form>
</body></html>