Clean up landing page for api-python-client-doc, adding in API name and version columns.

Reviewed in: http://codereview.appspot.com/4454052/
This commit is contained in:
Joe Gregorio
2011-05-03 08:15:43 -04:00
parent 7ad707e722
commit 123f5dbe3c

View File

@@ -2,11 +2,36 @@
<html> <html>
<head> <head>
<title> Google API Client for Python Documentation </title> <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> </head>
<body> <body>
<h1> Google API Client for Python Documentation </h1> <h1> Google API Client for Python Documentation </h1>
{% for item in directory %} <table>
<p><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x32 }}"/> {{ item.title }} </a></p> <tr>
{% endfor %} <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> </body>
</html> </html>