From: Giorgio Ravera Date: Sat, 24 Jan 2026 16:00:33 +0000 (+0100) Subject: Added two buttons for dhcp and dns reload X-Git-Tag: v0.0.1~24 X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=89741fbb3111a7d951b9d3387eb6c4835bf1a559;p=network-manager.git Added two buttons for dhcp and dns reload --- diff --git a/frontend/css/hosts.css b/frontend/css/hosts.css index 9435d17..cd997c0 100644 --- a/frontend/css/hosts.css +++ b/frontend/css/hosts.css @@ -1,5 +1,5 @@ /* ================================ - Action icons column (specific to hosts) + Action icons column ================================ */ td.actions { white-space: nowrap; @@ -21,7 +21,7 @@ td.actions { } /* ================================ - Search bar (specific to hosts) + Search bar ================================ */ .search-bar { width: 250px; @@ -32,7 +32,7 @@ td.actions { } /* ================================ - Sort arrows (specific to hosts) + Sort arrows ================================ */ .sort-arrow { display: inline-block; diff --git a/frontend/hosts.html b/frontend/hosts.html index c8350a6..aab6edc 100644 --- a/frontend/hosts.html +++ b/frontend/hosts.html @@ -42,10 +42,17 @@ class="search-bar" /> - + + + @@ -58,7 +65,7 @@ MAC Note SSL - Actions + Actions diff --git a/frontend/js/hosts.js b/frontend/js/hosts.js index 4c14165..aa757e0 100644 --- a/frontend/js/hosts.js +++ b/frontend/js/hosts.js @@ -548,6 +548,22 @@ function resetSorting() { lastSort = null; } +// ----------------------------- +// RELOAD DNS +// ----------------------------- +function reloadDNS() { + // Implement DNS reload logic here + showToast("DNS reloaded successfully"); +} + +// ----------------------------- +// RELOAD DHCP +// ----------------------------- +function reloadDHCP() { + // Implement DHCP reload logic here + showToast("DHCP reloaded successfully"); +} + // ----------------------------- // INITIAL TABLE LOAD // -----------------------------