Skip to content

Commit 123f5db

Browse files
committed
Clean up landing page for api-python-client-doc, adding in API name and version columns.
Reviewed in: http://codereview.appspot.com/4454052/
1 parent 7ad707e commit 123f5db

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

samples/api-python-client-doc/index.html

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,36 @@
22
<html>
33
<head>
44
<title> Google API Client for Python Documentation </title>
5+
<style>
6+
table {
7+
border-collapse: collapse;
8+
}
9+
td, th {
10+
padding: 0.3em;
11+
margin: 0;
12+
border: solid black 1px;
13+
}
14+
img {
15+
width: 16px;
16+
height: 16px;
17+
}
18+
</style>
519
</head>
620
<body>
721
<h1> Google API Client for Python Documentation </h1>
8-
{% for item in directory %}
9-
<p><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x32 }}"/> {{ item.title }} </a></p>
10-
{% endfor %}
22+
<table>
23+
<tr>
24+
<th>API</th>
25+
<th>Name</th>
26+
<th>Version</th>
27+
</tr>
28+
{% for item in directory %}
29+
<tr>
30+
<td><a href="/{{ item.name }}/{{ item.version }}"><img src="{{ item.icons.x16 }}"/> {{ item.title }} </a></td>
31+
<td>{{ item.name }}</td>
32+
<td>{{ item.version}}</td>
33+
</tr>
34+
{% endfor %}
35+
</table>
1136
</body>
1237
</html>

0 commit comments

Comments
 (0)