-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (83 loc) · 2.81 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
<!DOCTYPE html>
<html>
<head>
<title>Hello Endpoints!</title>
<script async src="/js/base.js"></script>
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap-responsive.css">
<style>
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
blockquote {
margin-bottom: 10px;
border-left-color: #bbb;
}
form {
margin-top: 10px;
}
form label {
width: 90px;
display: inline-block;
}
.form-signin input[type="text"] {
font-size: 16px;
height: auto;
margin-bottom: 15px;
padding: 7px 9px;
}
.row {
margin-left: 0px;
margin-top: 10px;
overflow: scroll;
}
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">Hello Endpoints!</a>
<div class="nav-collapse collapse pull-right">
<a href="javascript:void(0);" class="btn" id="signinButton">Sign in</a>
</div>
</div>
</div>
</div>
<div class="container">
<output id="outputLog"></output>
<form onsubmit="return false">
<h2>Get Greeting</h2>
<div><label for="id">Greeting ID:</label><input id="id" /></div>
<div><input id="getGreeting" type="submit" class="btn btn-small" value="Submit"></div>
</form>
<form onsubmit="return false">
<h2>List Greetings</h2>
<div><input id="listGreeting" type="submit" class="btn btn-small" value="Submit"></div>
</form>
<form onsubmit="return false">
<h2>Multiply Greetings</h2>
<div><label for="greeting">Greeting:</label><input id="greeting" /></div>
<div><label for="count">Count:</label><input id="count" /></div>
<div><input id="multiplyGreetings" type="submit" class="btn btn-small" value="Submit"></div>
</form>
<form onsubmit="return false">
<h2>Authenticated Greeting</h2>
<div><input id="authedGreeting" type="submit" class="btn btn-small" disabled value="Submit"></div>
</form>
<script>
function init() {
google.appengine.samples.hello.init('//' + window.location.host + '/_ah/api');
}
</script>
<script src="https://apis.google.com/js/client.js?onload=init"></script>
</div>
</body>
</html>