diff --git a/app/static/js/contacts.js b/app/static/js/contacts.js index 59a1b92..5789b66 100644 --- a/app/static/js/contacts.js +++ b/app/static/js/contacts.js @@ -26,6 +26,12 @@ let contactToDelete = null; document.addEventListener('DOMContentLoaded', () => { console.log('Contact Management UI initialized'); + // Initialize Bootstrap tooltips + const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); + tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); + }); + // Attach event listeners attachEventListeners(); diff --git a/app/templates/contacts.html b/app/templates/contacts.html index e27cb76..d2f133f 100644 --- a/app/templates/contacts.html +++ b/app/templates/contacts.html @@ -5,11 +5,25 @@ {% block extra_head %} {% endblock %} @@ -179,59 +221,51 @@ - -
- When enabled, new contacts must be manually approved before they can communicate with your node. -
- -