Enhanced icons and tooltips.
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 42s

This commit is contained in:
MaxJa4
2024-01-24 10:48:28 +01:00
parent a0a469bc91
commit 0b2d10e7b7
12 changed files with 68 additions and 45 deletions

View File

@@ -1,9 +1,13 @@
document.addEventListener('DOMContentLoaded', function() {
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
initTooltips(document);
});
function initTooltips(elementRoot) {
const tooltipTriggerList = elementRoot.querySelectorAll('[data-bs-action="tooltip"]');
tooltipTriggerList.forEach((elem) => {
new bootstrap.Tooltip(elem);
});
});
}
function setupClanButtons(dropdownId, delBtnId, editBtnId) {
const dropdown = document.getElementById(dropdownId);