JC Brand
fb054c40be
Experimenting with avoiding importing the converse
global
2023-03-03 17:28:26 +01:00
JC Brand
2fb9fec8f8
Use addEventListener
in the constructor
...
In Lit elements, the `initialize` function can get called multiple
times, thereby causing a memory leak if `addEventListener` is called
there and not removed.
The `ElementView` only calls it once, but I'm making the change so that
it's not forgotten when we eventually move to using Lit elements for
modals.
2023-02-21 23:14:16 +01:00
JC Brand
15c10376b0
Rename all templates to camelCase
...
To conform with naming conventions regarding functions, which the
templates are.
2023-02-15 14:29:07 +01:00
JC Brand
5ea00b8008
Tweak modal tab style
2022-12-27 12:46:29 +01:00
JC Brand
f791169f47
Fixes #3030
...
* The `confirm` modal didn't show the `title`
* Refactor the new modal code to not automatically show a close button in the footer.
2022-09-30 09:29:49 +02:00
JC Brand
782de0165f
Add hover effect to tabs in modal
2022-09-29 14:26:54 +02:00
JC Brand
fbe86e5af8
Create an ElementView base modal and use it for all modals
...
Modals are now all web components and are opened by component name.
2022-09-16 10:33:47 +02:00
JC Brand
1c8085f00e
CSS: Set modal header color for error alerts
...
Also fix various element colors for Dracula theme
2022-02-19 21:32:25 +01:00
JC Brand
f6c524f760
Move MUC modals to the muc-views plugin
2022-02-14 12:59:49 +01:00
JC Brand
ac473fd297
Add dark theme Dracula
...
https://draculatheme.com
2022-01-28 20:28:48 +01:00
JC Brand
ed490fc202
Create directory for modal plugin
2021-09-20 11:13:26 +02:00