forked from holoviz-dev/status-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
115 lines (115 loc) · 4.25 KB
/
template.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<html>
<head>
<link href='style.css' rel='stylesheet' type="text/css">
</head>
<body>
<div id="wrapper">
<h1>PyViz Project Dashboard</h1>
{% for section in config %}
<h2>{{ section.name }}</h2>
<table align='center'>
<tr>
<th>Name</th>
<th>Travis</th>
<th>AppVeyor</th>
<th>Coverage</th>
<th>Docs</th>
<th>PyPI</th>
<th>Conda</th>
</tr>
{% for package in section.packages %}
<tr>
<td align='left'>
<a href="http://github.com/{{ package.repo }}">{{ package.name }}</a>
</td>
{% if 'travis' in package.badges %}
<td align='left'>
<a href="https://travis-ci.org/{{ package.travis_project }}">
<img src="https://travis-ci.org/{{ package.travis_project }}.svg?branch=master">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'appveyor' in package.badges %}
<td align='left'>
<a href="https://ci.appveyor.com/project/{{ package.appveyor_project }}?branch=master">
<img src="https://img.shields.io/appveyor/ci/{{ package.appveyor_project }}/master.svg">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'coveralls' in package.badges %}
<td align='left'>
<a href="https://coveralls.io/r/{{ package.repo }}?branch=master">
<img src="https://coveralls.io/repos/{{ package.repo }}/badge.svg?branch=master">
</a>
</td>
{% elif 'codecov' in package.badges %}
<td align='left'>
<a href="https://codecov.io/gh/{{ package.repo }}?branch=master">
<img src="https://codecov.io/gh/{{ package.repo }}/branch/master/graph/badge.svg">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'gh-pages' in package.badges %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/tree/gh-pages">
<img src="https://img.shields.io/github/last-commit/{{ package.repo }}/gh-pages.svg">
</a>
</td>
{% elif 'rtd' in package.badges %}
<td align='left'>
<a href="https://readthedocs.org/projects/{{ package.rtd_name }}/?badge=latest">
<img src="https://readthedocs.org/projects/{{ package.rtd_name }}/badge/?version=latest">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'pypi' in package.badges %}
<td align='left'>
<a href="https://pypi.python.org/pypi/{{ package.pypi_name }}">
<img src="https://pypip.in/v/{{ package.pypi_name }}/badge.svg?colorB=cc77dd">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'conda' in package.badges %}
<td align='left'>
<a href="https://anaconda.org/{{ package.conda_channel }}/{{ package.conda_package }}">
<img src="https://img.shields.io/conda/vn/{{ package.conda_channel }}/{{ package.conda_package }}.svg?colorB=4488ff&style=flat">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'conda-forge' in package.badges %}
<td align='left'>
<a href="https://anaconda.org/conda-forge/{{ package.conda_package }}">
<img src="https://img.shields.io/conda/vn/conda-forge/{{ package.conda_package }}.svg?colorB=4488ff&style=flat">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'defaults' in package.badges %}
<td align='left'>
<a href="https://anaconda.org/anaconda/{{ package.conda_package }}">
<img src="https://img.shields.io/conda/vn/anaconda/{{ package.conda_package }}.svg?colorB=4488ff&label=defaults&style=flat">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% endfor %}
</div>
</body>
</html>