forked from intake/status
-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.html
154 lines (154 loc) · 6.84 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<html>
<head>
<link href='style.css' rel='stylesheet' type="text/css">
</head>
<body>
<div id="wrapper">
<h1><a href="https://holoviz.org/">HoloViz</a> Project Dashboard</h1>
{% for section in config %}
<h2>{{ section.name }}</h2>
<table align='center'>
<tr>
<th>Name</th>
<th>Github Actions</th>
<th>Coverage</th>
<th>Docs</th>
<th colspan='4'>Activity</th>
<th>Latest Tag</th>
<th>PyPI</th>
<th colspan='3'>Conda</th>
</tr>
{% for package in section.packages %}
<tr>
<td align='left'>
<a href="http://github.com/{{ package.repo }}">{{ package.name }}</a>
</td>
{% if 'gha' in package.badges %}
{% if section.name in ["Core packages", "Extension packages", "Tooling and Infrastructure packages"] %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/actions/workflows/test.yaml?query=branch:{{ package.branch }}">
<img src="https://github.com/{{ package.repo }}/actions/workflows/test.yaml/badge.svg" alt="-">
</a>
<a href="https://github.com/{{ package.repo }}/actions/workflows/build.yaml?query=branch:{{ package.branch }}">
<img src="https://github.com/{{ package.repo }}/actions/workflows/build.yaml/badge.svg" alt="-">
</a>
<a href="https://github.com/{{ package.repo }}/actions/workflows/docs.yaml?query=branch:{{ package.branch }}">
<img src="https://github.com/{{ package.repo }}/actions/workflows/docs.yaml/badge.svg" alt="-">
</a>
</td>
{% else %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/actions/workflows/{{ package.gha_workflow }}?query=branch:{{ package.branch }}">
<img src="https://github.com/{{ package.repo }}/actions/workflows/{{ package.gha_workflow }}/badge.svg">
</a>
</td>
{% endif %}
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'coveralls' in package.badges %}
<td align='left'>
<a href="https://coveralls.io/r/{{ package.repo }}?branch={{ package.branch }}">
<img src="https://coveralls.io/repos/{{ package.repo }}/badge.svg?branch={{ package.branch }}">
</a>
</td>
{% elif 'codecov' in package.badges %}
<td align='left'>
<a href="https://codecov.io/gh/{{ package.repo }}?branch={{ package.branch }}">
<img src="https://codecov.io/gh/{{ package.repo }}/branch/{{ package.branch }}/graph/badge.svg">
</a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'gh-pages' in package.badges or 'site' in package.badges %}
<td align='left'>
<a href="{{ package.site_protocol }}://{{ package.site }}">
<img src="https://img.shields.io/website-up-down-green-red/{{ package.site_protocol }}/{{ package.site }}.svg?label">
</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 %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}"><img src="https://img.shields.io/github/commit-activity/m/{{ package.repo }}?label=commits"></a>
</td>
<td align='left'>
<a href="https://github.com/{{ package.repo }}"><img src="https://img.shields.io/github/last-commit/{{ package.repo }}/{{ package.branch }}.svg?label={{ package.branch }}"></a>
</td>
{% if 'release-date' in package.badges %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/releases"><img src="https://img.shields.io/github/release-date/{{ package.repo }}?label=release"></a>
</td>
{% elif 'pre-release-date' in package.badges %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/releases"><img src="https://img.shields.io/github/release-date-pre/{{ package.repo }}?label=release"></a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'docs-date' 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?label=docs"></a>
</td>
{% else %}
<td align='center'>-</td>
{% endif %}
{% if 'release' in package.badges %}
<td align='left'>
<a href="https://github.com/{{ package.repo }}/tags">
<img src="https://img.shields.io/github/tag/{{ package.repo }}.svg?label&colorB=11ccbb">
</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://img.shields.io/pypi/v/{{ package.pypi_name }}.svg?label&color=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>