-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.php
More file actions
38 lines (36 loc) · 1.45 KB
/
index.php
File metadata and controls
38 lines (36 loc) · 1.45 KB
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
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript' src='handle_login.js?w=2'></script>
<script type='text/javascript' src='read_single_range.js?w=2'></script>
</head>
<body>
<!--
BEFORE RUNNING:
---------------
1. If not already done, enable the Google Sheets API
and check the quota for your project at
https://console.developers.google.com/apis/api/sheets
2. Get access keys for your application. See
https://developers.google.com/api-client-library/javascript/start/start-js#get-access-keys-for-your-application
3. For additional information on authentication, see
https://developers.google.com/sheets/api/quickstart/js#step_2_set_up_the_sample
-->
<script async defer src="https://apis.google.com/js/api.js"
onload="this.onload=function(){};handleClientLoad()"
onreadystatechange="if (this.readyState === 'complete') this.onload()">
</script>
<button id="signin-button" onclick="handleSignInClick()">Sign in</button>
<button id="signout-button" onclick="handleSignOutClick()">Sign out</button>
<div style="margin-left:auto; margin-right:auto; width:960px;">
<?php
for($row = 0; $row < 8; $row++) {
echo "<div style='clear:both'>";
for($col = 0; $col < 3; $col++) {
echo "<input type='text' style='float:left;' name = '$row:$col' id='$row:$col'>";
}
echo "</div>";
}
?>
</body>
</html>