/** * javascript/containers.js * * Containers panel: table of all containers with lifecycle actions * (start/stop/restart/remove), backed entirely by ajax/containers.php. */ (function () { 'use strict'; const P = window.Podman; let allContainers = []; let filter = 'all'; let searchTerm = ''; function iconLabel(name) { return P.escapeHtml(name.slice(0, 2).toUpperCase()); } function rowHtml(c) { const cpuMem = c.state === 'running' ? 'running' : '—'; return '' + '