Skip to content

Commit 92f2786

Browse files
committed
Update code to align with new badge sorter
See 70ae407 (gh-pages branch).
1 parent 4420a6b commit 92f2786

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

footer.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,46 @@
55
</tr>
66
<tr>
77
<td><a href="https://github.com/scijava/pom-scijava-base">scijava/pom-scijava-base</a></td>
8-
<td class="badge"><a href="https://github.com/scijava/pom-scijava-base/actions"><img src="https://github.com/scijava/pom-scijava-base/actions/workflows/build-main.yml/badge.svg"></a></td>
8+
<td class="badge"><a href="https://github.com/scijava/pom-scijava-base/actions"><img data-src="https://github.com/scijava/pom-scijava-base/actions/workflows/build-main.yml/badge.svg"></a></td>
99
</tr>
1010
<tr>
1111
<td><a href="https://github.com/scijava/pom-scijava">scijava/pom-scijava</a></td>
12-
<td class="badge"><a href="https://github.com/scijava/pom-scijava/actions"><img src="https://github.com/scijava/pom-scijava/actions/workflows/build.yml/badge.svg"></a></td>
12+
<td class="badge"><a href="https://github.com/scijava/pom-scijava/actions"><img data-src="https://github.com/scijava/pom-scijava/actions/workflows/build.yml/badge.svg"></a></td>
1313
</tr>
1414
<tr>
1515
<td><a href="https://github.com/scijava/status.scijava.org">scijava/status.scijava.org</a></td>
16-
<td class="badge"><a href="https://github.com/scijava/status.scijava.org/actions"><img src="https://github.com/scijava/status.scijava.org/actions/workflows/build.yml/badge.svg"></a></td>
16+
<td class="badge"><a href="https://github.com/scijava/status.scijava.org/actions"><img data-src="https://github.com/scijava/status.scijava.org/actions/workflows/build.yml/badge.svg"></a></td>
1717
</tr>
1818
<tr>
1919
<td><a href="https://github.com/scijava/incubator">scijava/incubator</a></td>
20-
<td class="badge"><a href="https://github.com/scijava/incubator/actions"><img src="https://github.com/scijava/incubator/actions/workflows/build.yml/badge.svg"></a></td>
20+
<td class="badge"><a href="https://github.com/scijava/incubator/actions"><img data-src="https://github.com/scijava/incubator/actions/workflows/build.yml/badge.svg"></a></td>
2121
</tr>
2222
<tr>
2323
<td><a href="https://github.com/imagej/list-of-update-sites">imagej/list-of-update-sites</a></td>
24-
<td class="badge"><a href="https://github.com/imagej/list-of-update-sites/actions"><img src="https://github.com/imagej/list-of-update-sites/actions/workflows/deploy.yml/badge.svg"></a></td>
24+
<td class="badge"><a href="https://github.com/imagej/list-of-update-sites/actions"><img data-src="https://github.com/imagej/list-of-update-sites/actions/workflows/deploy.yml/badge.svg"></a></td>
2525
</tr>
2626
<tr>
2727
<td><a href="https://github.com/imagej/tutorials">imagej/tutorials</a></td>
28-
<td class="badge"><a href="https://github.com/imagej/tutorials/actions"><img src="https://github.com/imagej/tutorials/actions/workflows/build-main.yml/badge.svg"></a></td>
28+
<td class="badge"><a href="https://github.com/imagej/tutorials/actions"><img data-src="https://github.com/imagej/tutorials/actions/workflows/build-main.yml/badge.svg"></a></td>
2929
</tr>
3030
<tr>
3131
<td><a href="https://github.com/fiji/fiji-builds">fiji/fiji-builds</a></td>
32-
<td class="badge"><a href="https://github.com/fiji/fiji-builds/actions"><img src="https://github.com/fiji/fiji-builds/actions/workflows/build.yml/badge.svg"></a></td>
32+
<td class="badge"><a href="https://github.com/fiji/fiji-builds/actions"><img data-src="https://github.com/fiji/fiji-builds/actions/workflows/build.yml/badge.svg"></a></td>
3333
</tr>
3434
<tr>
3535
<td><a href="https://github.com/scijava/jgo">scijava/jgo</a></td>
36-
<td class="badge"><a href="https://github.com/scijava/jgo/actions"><img src="https://github.com/scijava/jgo/actions/workflows/build.yml/badge.svg"></a></td>
36+
<td class="badge"><a href="https://github.com/scijava/jgo/actions"><img data-src="https://github.com/scijava/jgo/actions/workflows/build.yml/badge.svg"></a></td>
3737
</tr>
3838
<tr>
3939
<td><a href="https://github.com/scijava/scyjava">scijava/scyjava</a></td>
40-
<td class="badge"><a href="https://github.com/scijava/scyjava/actions"><img src="https://github.com/scijava/scyjava/actions/workflows/build.yml/badge.svg"></a></td>
40+
<td class="badge"><a href="https://github.com/scijava/scyjava/actions"><img data-src="https://github.com/scijava/scyjava/actions/workflows/build.yml/badge.svg"></a></td>
4141
</tr>
4242
<tr>
4343
<td><a href="https://github.com/imglib/imglyb">imglib/imglyb</a></td>
44-
<td class="badge"><a href="https://github.com/imglib/imglyb/actions"><img src="https://github.com/imglib/imglyb/actions/workflows/build.yml/badge.svg"></a></td>
44+
<td class="badge"><a href="https://github.com/imglib/imglyb/actions"><img data-src="https://github.com/imglib/imglyb/actions/workflows/build.yml/badge.svg"></a></td>
4545
</tr>
4646
<tr>
4747
<td><a href="https://github.com/imagej/pyimagej">imagej/pyimagej</a></td>
48-
<td class="badge"><a href="https://github.com/imagej/pyimagej/actions"><img src="https://github.com/imagej/pyimagej/actions/workflows/build.yml/badge.svg"></a></td>
48+
<td class="badge"><a href="https://github.com/imagej/pyimagej/actions"><img data-src="https://github.com/imagej/pyimagej/actions/workflows/build.yml/badge.svg"></a></td>
4949
</tr>
5050
</table>

html-report.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def badge(url):
101101
if slug in badge_overrides:
102102
return badge_overrides[slug]
103103
if slug:
104-
return f"<td class=\"badge\"><a href=\"https://github.com/{slug}/actions\"><img src=\"https://github.com/{slug}/actions/workflows/build-main.yml/badge.svg\"></a></td>"
104+
return f"<td class=\"badge\"><a href=\"https://github.com/{slug}/actions\"><img data-src=\"https://github.com/{slug}/actions/workflows/build-main.yml/badge.svg\"></a></td>"
105105
return "<td>-</td>"
106106

107107
def timestamp_override(g, a):
@@ -130,9 +130,9 @@ def release_link(g, a, v):
130130
print('<link type="text/css" rel="stylesheet" href="status.css">')
131131
print('<link rel="icon" type="image/png" href="favicon.png">')
132132
print('<script type="text/javascript" src="sorttable.js"></script>')
133-
print('<script type="text/javascript" src="sortable-badges.js"></script>')
134133
print('</head>')
135-
print('<body onload="makeBadgesSortable()">')
134+
print('<body">')
135+
print('<script type="text/javascript" src="sortable-badges.js"></script>')
136136
print('<!-- Generated via https://codepo8.github.io/css-fork-on-github-ribbon/ -->')
137137
print('<span id="forkongithub"><a href="https://github.com/scijava/status.scijava.org">Fix me on GitHub</a></span>')
138138
print('<table class="sortable">')

0 commit comments

Comments
 (0)