Skip to content

Commit

Permalink
Update code to align with new badge sorter
Browse files Browse the repository at this point in the history
See 70ae407 (gh-pages branch).
  • Loading branch information
ctrueden committed Nov 7, 2024
1 parent 4420a6b commit 92f2786
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,46 @@
</tr>
<tr>
<td><a href="https://github.com/scijava/pom-scijava-base">scijava/pom-scijava-base</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/scijava/pom-scijava">scijava/pom-scijava</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/scijava/status.scijava.org">scijava/status.scijava.org</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/scijava/incubator">scijava/incubator</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/imagej/list-of-update-sites">imagej/list-of-update-sites</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/imagej/tutorials">imagej/tutorials</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/fiji/fiji-builds">fiji/fiji-builds</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/scijava/jgo">scijava/jgo</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/scijava/scyjava">scijava/scyjava</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/imglib/imglyb">imglib/imglyb</a></td>
<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>
<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>
</tr>
<tr>
<td><a href="https://github.com/imagej/pyimagej">imagej/pyimagej</a></td>
<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>
<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>
</tr>
</table>
6 changes: 3 additions & 3 deletions html-report.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def badge(url):
if slug in badge_overrides:
return badge_overrides[slug]
if slug:
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>"
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>"
return "<td>-</td>"

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

0 comments on commit 92f2786

Please sign in to comment.