- New rootless doos container runtime: sandbox, cgroup, network, images, hardening, davmount, CLI plus molo integration - 18 CVE audit reproductions with READMEs and Makefiles - Example DoosDemo routes, IndexCatalog, static assets, spec update - CLI serve on 0.0.0.0:8000, arg parser, dev server improvements - Runtime HTTP fixes, supervisor isolation backend - Tests for doos, example doos routes, CLI serve; suite count 261 to 265
20 lines
651 B
JavaScript
20 lines
651 B
JavaScript
// Index page filter: hides rows and groups that do not match. Without
|
|
// JavaScript the full list stays visible.
|
|
(function () {
|
|
var box = document.getElementById("filter");
|
|
if (!box) return;
|
|
var groups = document.querySelectorAll("section.group");
|
|
box.addEventListener("input", function () {
|
|
var q = box.value.trim().toLowerCase();
|
|
groups.forEach(function (g) {
|
|
var shown = 0;
|
|
g.querySelectorAll("tbody tr").forEach(function (tr) {
|
|
var hit = q === "" || tr.textContent.toLowerCase().indexOf(q) !== -1;
|
|
tr.hidden = !hit;
|
|
if (hit) shown++;
|
|
});
|
|
g.hidden = shown === 0;
|
|
});
|
|
});
|
|
})();
|