forked from andyburke/autonomous.contact
feature: watches on the backend, need frontend implementation for
notifications and unread indicators
This commit is contained in:
parent
7046bb0389
commit
6293374bb7
28 changed files with 1405 additions and 608 deletions
|
|
@ -11,6 +11,15 @@ const event_actions_popup_styling = `
|
|||
overflow: hidden;
|
||||
border: 1px solid var(--border-normal);
|
||||
padding: 0.5rem;
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#eventactionspopup[data-shown] {
|
||||
visibility: visible;
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#eventactionspopup .icon.close {
|
||||
|
|
@ -61,9 +70,7 @@ function open_event_actions_popup(event) {
|
|||
event_actions_popup.style.left = position.x + "px";
|
||||
event_actions_popup.style.top = position.y + "px";
|
||||
|
||||
event_actions_popup.style.visibility = "visible";
|
||||
event_actions_popup.style.opacity = "1";
|
||||
event_actions_popup.style.display = "block";
|
||||
event_actions_popup.dataset.shown = true;
|
||||
}
|
||||
|
||||
function clear_event_actions_popup() {
|
||||
|
|
@ -71,9 +78,7 @@ function clear_event_actions_popup() {
|
|||
return;
|
||||
}
|
||||
|
||||
event_actions_popup.style.visibility = "hidden";
|
||||
event_actions_popup.style.opacity = "0";
|
||||
event_actions_popup.style.display = "none";
|
||||
delete event_actions_popup.dataset.shown;
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue