Skip to content

Commit

Permalink
viewer: Add baylibre lab and change sorting order
Browse files Browse the repository at this point in the history
By suggestion of Kevin Hilman change sorting order,
and add baylibre URL.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed May 2, 2024
1 parent fd9bab8 commit 663e823
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/templates/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
},
];
var lava_urls = {
"lava-baylibre": "lava.baylibre.com",
"lava-broonie": "lava.sirena.org.uk",
"lava-collabora": "lava.collabora.dev",
"lava-collabora-early-access": "staging.lava.collabora.dev",
Expand Down Expand Up @@ -354,7 +355,11 @@
nodeinfohtml += "<th>" + thnames[i] + "</th>";
}
nodeinfohtml += "</tr>";
// data
// sort data items by created
data.items.sort(function(a, b) {
return new Date(b.created) - new Date(a.created);
});
// data
for (var i = 0; i < data.items.length; i++) {
node = data.items[i];
// if fail, then add class fail
Expand Down

0 comments on commit 663e823

Please sign in to comment.