Clean up landing page for api-python-client-doc, adding in API name and version columns.
Reviewed in: http://codereview.appspot.com/4454052/
diff --git a/samples/api-python-client-doc/index.html b/samples/api-python-client-doc/index.html
index 20764f0..f98a79f 100644
--- a/samples/api-python-client-doc/index.html
+++ b/samples/api-python-client-doc/index.html
@@ -2,11 +2,36 @@
<html>
<head>
<title> Google API Client for Python Documentation </title>
+ <style>
+ table {
+ border-collapse: collapse;
+ }
+ td, th {
+ padding: 0.3em;
+ margin: 0;
+ border: solid black 1px;
+ }
+ img {
+ width: 16px;
+ height: 16px;
+ }
+ </style>
</head>
<body>
<h1> Google API Client for Python Documentation </h1>
- {% for item in directory %}
- <p><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x32 }}"/> {{ item.title }} </a></p>
- {% endfor %}
+ <table>
+ <tr>
+ <th>API</th>
+ <th>Name</th>
+ <th>Version</th>
+ </tr>
+ {% for item in directory %}
+ <tr>
+ <td><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x16 }}"/> {{ item.title }} </a></td>
+ <td>{{ item.name }}</td>
+ <td>{{ item.version}}</td>
+ </tr>
+ {% endfor %}
+ </table>
</body>
</html>