|
1 | 1 | .. raw:: html |
2 | 2 |
|
3 | 3 | <div> |
4 | | - <table> |
| 4 | + <table id="packages"> |
5 | 5 | {% for section in config %} |
6 | 6 | <tr> |
7 | | - <td colspan=5 style="height:4em; vertical-align:center"> |
| 7 | + <th colspan=5> |
8 | 8 | {% with section_id = section.name | lower | replace(" ", "-") %} |
9 | 9 | <h3 id="{{ section_id }}"> |
10 | 10 | {{ section.name }} |
11 | 11 | <a class="headerlink" href="#{{ section_id }}" title="Permalink to this headline">¶</a> |
12 | 12 | </h3> |
13 | 13 | {% endwith %} |
14 | | - </td> |
| 14 | + </th> |
15 | 15 | </tr> |
16 | 16 |
|
17 | 17 | {% for package in section.packages %} |
18 | 18 | <tr> |
19 | 19 |
|
20 | | - <td style="text-align:left; vertical-align:top;"> |
| 20 | + <td> |
21 | 21 | <a href="https://github.com/{{ package.user }}/{{ package.name }}"> |
22 | | - <img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/github-gray.svg"> |
| 22 | + <img src="_static/badges/github-gray.svg"> |
23 | 23 | </a> |
24 | 24 | </td> |
25 | 25 |
|
26 | 26 | {% if 'pypi' in package.badges %} |
27 | | - <td style="text-align:left; vertical-align:top;"> |
| 27 | + <td> |
28 | 28 | <a href="https://pypi.python.org/pypi/{{ package.pypi_name }}"> |
29 | | - <img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/pip-orange.svg"> |
| 29 | + <img src="_static/badges/pip-orange.svg"> |
30 | 30 | </a> |
31 | 31 | </td> |
32 | 32 | {% else %} |
33 | | - <td style="text-align:center; style="vertical-align:top;"> |
34 | | - <img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/pip-empty.svg"> |
| 33 | + <td> |
| 34 | + <img src="_static/badges/pip-empty.svg"> |
35 | 35 | </td> |
36 | 36 | {% endif %} |
37 | 37 | {% if 'conda' in package.badges %} |
38 | | - <td style="text-align:left; vertical-align:top;"> |
| 38 | + <td> |
39 | 39 | <a href="https://anaconda.org/{{ package.conda_channel }}/{{ package.conda_package }}"> |
40 | | - <img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/conda-blue.svg"> |
| 40 | + <img src="_static/badges/conda-blue.svg"> |
41 | 41 | </a> |
42 | 42 | </td> |
43 | 43 | {% else %} |
44 | | - <td style="text-align:left;vertical-align:top; "> |
45 | | - <img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/conda-empty.svg"> |
| 44 | + <td> |
| 45 | + <img src="_static/badges/conda-empty.svg"> |
46 | 46 | </td> |
47 | 47 | {% endif %} |
48 | 48 |
|
49 | | - <td style="vertical-align:top; text-align:left;cellpadding:0.3em"> |
| 49 | + <td> |
50 | 50 | {% if 'site' in package.badges %} |
51 | 51 | <a href="{{ package.site_protocol}}://{{ package.site }}">{{ package.name }}</a> |
52 | 52 | {% else %} |
53 | 53 | <a href="http://github.com/{{ package.repo }}">{{ package.name }}</a> |
54 | 54 | {% endif %} |
55 | 55 | </td> |
56 | | - <td style="text-align:left;vertical-align:top;cellpadding:0.3em"> |
| 56 | + <td> |
57 | 57 | {{ package.description }} |
58 | 58 | </td> |
59 | 59 |
|
|
0 commit comments