Here are the facts:
- I manage a large number of Git repositories.
- They use Travis CI for builds.
- I built a small web page at http://status.scijava.org/ to keep track of the list of components.
- One of the table columns displays the relevant Travis CI build badge for each component.
- I currently use sorttable.js to make the table columns easily sortable. This is helpful for understanding the current status of the project.
It would be very nice if I could sort the Build column by Travis CI build status. Unfortunately, the build status is loaded only from the image content of the <img>
tags, so sorttable.js
has nothing to go on in the HTML itself.
So I ask the HTML and javascript gurus!
How can I make this table sortable by Travis CI build status?
A couple of soft requirements:
- The site is hosted on GitHub Pages, and I'd like to keep it that way.
- The solution should be easy on the Travis servers. Of course I want to be nice, and use the fewest possible number and intensity of API calls.