added UI for burg group filter

- Code for filtering burgs.
- Added new pop up menu when clicking the button "reassign burgs".
This commit is contained in:
Ángel Montero Lamas 2024-08-20 20:00:35 +02:00
parent 9c206a3813
commit 64bc701809
4 changed files with 151 additions and 30 deletions

View file

@ -204,6 +204,7 @@ function addBurg(point) {
}
function moveBurgToGroup(id, g) {
console.log("moveBurgToGroup(" + pack.burgs[id].name + ", " + g + ")");
const label = document.querySelector("#burgLabels [data-id='" + id + "']");
const icon = document.querySelector("#burgIcons [data-id='" + id + "']");
const anchor = document.querySelector("#anchors [data-id='" + id + "']");