diff --git a/webextension/css/popup.css b/webextension/css/popup.css index 9f4a8e0..0d15dbe 100644 --- a/webextension/css/popup.css +++ b/webextension/css/popup.css @@ -175,12 +175,12 @@ table { cursor: pointer; } -.edit-panel-footer { +.edit-containers-panel-footer { background: #248aeb; color: #ffffff; justify-content: center; } -.edit-panel-footer a { +.edit-containers-panel-footer a { color: #ffffff; } diff --git a/webextension/js/popup.js b/webextension/js/popup.js index 05ce0cd..ec9aec5 100644 --- a/webextension/js/popup.js +++ b/webextension/js/popup.js @@ -128,7 +128,53 @@ browser.runtime.sendMessage({method: "queryIdentities"}).then(identities => { }); document.querySelector("#edit-containers-link").addEventListener("click", () => { - showPanel("#edit-panel"); + browser.runtime.sendMessage({method: "queryIdentities"}).then(identities => { + let fragment = document.createDocumentFragment(); + + identities.forEach(identity => { + let tr = document.createElement("tr"); + fragment.appendChild(tr); + tr.setAttribute("data-identity-cookie-store-id", identity.userContextId); + tr.innerHTML = ` +