From e4684ec47eda70cd5376c0dfd7ffd4624c30dc06 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Wed, 4 Aug 2021 12:48:58 +0200 Subject: [PATCH] security/acme-client: update tooltip style, closes #2188 --- security/acme-client/pkg-descr | 1 + .../OPNsense/AcmeClient/certificates.volt | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/security/acme-client/pkg-descr b/security/acme-client/pkg-descr index 337a667b3..cd81cf072 100644 --- a/security/acme-client/pkg-descr +++ b/security/acme-client/pkg-descr @@ -18,6 +18,7 @@ Changed: * rename "Let's Encrypt Environment" to "ACME CA" (#2361) * preserve old LE accounts/certs by adding a compatibility layer (#2361) * remove the legacy log file and only rely on syslog logging (#2366) +* update tooltip style for 21.7 (#2188) Removed: * remove obsolete account parameters: certificateAuthority, lastUpdate diff --git a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/certificates.volt b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/certificates.volt index c30891a76..fb90c8d15 100644 --- a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/certificates.volt +++ b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/certificates.volt @@ -59,13 +59,13 @@ POSSIBILITY OF SUCH DAMAGE. url: '/api/acmeclient/certificates/search', formatters: { "commands": function (column, row) { - return " " + - "" + - "" + - "" + - "" + - "" + - ""; + return " " + + "" + + "" + + "" + + "" + + "" + + ""; }, "rowtoggle": function (column, row) { if (parseInt(row[column.id], 2) == 1) { @@ -140,6 +140,9 @@ POSSIBILITY OF SUCH DAMAGE. */ var grid_certificates = $("#grid-certificates").bootgrid(gridopt).on("loaded.rs.jquery.bootgrid", function (e) { + // toggle all rendered tooltips (once for all) + $('.bootgrid-tooltip').tooltip(); + // scale footer on resize $(this).find("tfoot td:first-child").attr('colspan',$(this).find("th").length - 1); $(this).find('tr[data-row-id]').each(function(){ @@ -209,7 +212,6 @@ POSSIBILITY OF SUCH DAMAGE. * copy actions for items from opnsense_bootgrid_plugin.js */ grid_certificates.on("loaded.rs.jquery.bootgrid", function(){ - // edit dialog id to use var editDlg = $(this).attr('data-editDialog'); var gridId = $(this).attr('id');