From e2feb5e5b858c2366d69e26de0209c1e2a79af1a Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Fri, 5 Mar 2021 00:05:23 +0100 Subject: [PATCH] net/haproxy: add inline command help, shorten tooltips --- .../views/OPNsense/HAProxy/maintenance.volt | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/maintenance.volt b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/maintenance.volt index 159a67159..3ab54d181 100644 --- a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/maintenance.volt +++ b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/maintenance.volt @@ -51,7 +51,7 @@ POSSIBILITY OF SUCH DAMAGE. content_id = "[id=\"haproxy.maintenance.cronjobs." + key + "\"]"; $(content_id).each(function(){ // Finally add the link to the cron job edit page. - cron_link = "
{{ lang._('Configure cron job') }}"; + cron_link = "
{{ lang._('Configure cron job') }}"; $(this).closest("td").append(cron_link); }); }; @@ -190,8 +190,8 @@ POSSIBILITY OF SUCH DAMAGE. formatters: { "commands": function (column, row) { buttons = "" - buttons += "" - buttons += " " + buttons += "" + buttons += " " return buttons; }, }, @@ -300,10 +300,10 @@ POSSIBILITY OF SUCH DAMAGE. formatters: { "commands": function (column, row) { buttons = "" - buttons += "" - buttons += " " - buttons += " " - buttons += " " + buttons += "" + buttons += " " + buttons += " " + buttons += " " return buttons; }, }, @@ -539,14 +539,24 @@ POSSIBILITY OF SUCH DAMAGE. - - - - + + + + +
+

{{ lang._("%sChoose a command to change a server's state in runtime:%s") | format('', '') }}

+ +

{{ lang._('%sNOTE:%s These changes will not be persisted across restarts of HAProxy.') | format('', '') }}

+
@@ -568,8 +578,8 @@ POSSIBILITY OF SUCH DAMAGE. - - + + @@ -580,6 +590,14 @@ POSSIBILITY OF SUCH DAMAGE.

+
+

{{ lang._("%sApply SSL certificate changes in runtime:%s") | format('', '') }}

+ +

{{ lang._('%sNOTE:%s Changes can only be applied for Public Services that already exist in the running HAProxy service. When adding or removing Public Services HAProxy must be reloaded or restarted.') | format('', '') }}

+