feat: admin group panel

This commit is contained in:
Andyyy7666
2026-03-16 08:04:08 +01:00
parent ec05cce082
commit b7222a1f8f
14 changed files with 1177 additions and 11 deletions

9
ui/modules/fetch.js Normal file
View File

@@ -0,0 +1,9 @@
export function fetchCallback(name, data, cb) {
fetch(`https://${GetParentResourceName()}/${name}`, {
method: "POST",
headers: { "Content-Type": "application/json; charset=UTF-8" },
body: JSON.stringify(data)
}).then(resp => resp.json()).then(resp => {
if (cb) cb(resp);
});
}