separaded endpoints + cleaned page templates + added constants to time formatting
Some checks failed
Tests / Run Go Tests (push) Failing after 1m34s
Some checks failed
Tests / Run Go Tests (push) Failing after 1m34s
This commit is contained in:
@@ -79,3 +79,9 @@ function navigateWeek(element, event, direction) {
|
||||
function logoutUser() {
|
||||
fetch("/user/logout", {}).then(() => globalThis.location.reload());
|
||||
}
|
||||
|
||||
function checkAll(pattern, state) {
|
||||
for (let input of document.querySelectorAll(`input[id^=${pattern}]`)) {
|
||||
input.checked = state;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user