-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsfpark.html
57 lines (57 loc) · 1.41 KB
/
sfpark.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>San Francisco Parking</title>
<link rel="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<header>
<h1>San Francisco Parking</h1>
</header>
<nav>
<!-- Navigation -->
</nav>
<section id="intro">
<p>This is a demo app that makes an AJAX request to the <a href="http://sfpark.org/">SFpark</a> web service to get real-time parking information.</p>
<p>Click on the name to see the location on Google Maps. The table below refreshes itself every 30 seconds. If the parking zone is almost full the row will have a different background color.</p>
</section>
<section id="main">
<table id="parkResults">
<thead>
<tr>
<td colspan="5" id="lastUpdatedRow"><strong>Last updated:</strong> <span id="lastUpdated"><time>Never</time></span></td>
</tr>
<tr>
<th>Name</th>
<th>Operational Spots</th>
<th>Occupied</th>
<th>Available</th>
<th>Percent Occupied</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Total</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</tfoot>
<tbody>
<tr>
<td colspan="5">Loading data...</td>
</tr>
</tbody>
</table>
</section>
<aside>
<!-- Sidebar -->
</aside>
<footer>
<p>Created by <a href="http://about.me/eliseosoto">Eliseo Soto</a> - 2011</p>
</footer>
</body>
</html>