From f80928f47dbd35f9dfe8884769fa51fcebf64771 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Jul 02 2018 18:51:45 +0000 Subject: Ticket 49795 - UI - add "action" backend funtionality Description: Added the backend functionality for all the items in the "Action" dropdown list on the banner. Added ability to use the instance name in dsconf, previously only ldap URLs worked. Added more helper functions: popup_confirm() - this now accepts html tags so nicer output get_ldapurl_from_serverid(server_id) - take an instance name and generate a LDAP URL from its dse.ldif And of course did some code cleanup. https://pagure.io/389-ds-base/issue/49795 Reviewed by: ? --- diff --git a/src/cockpit/389-console/banner.html b/src/cockpit/389-console/banner.html index 14d866f..f919ed8 100644 --- a/src/cockpit/389-console/banner.html +++ b/src/cockpit/389-console/banner.html @@ -1,15 +1,16 @@ -389 Directory Server Management diff --git a/src/cockpit/389-console/css/ds.css b/src/cockpit/389-console/css/ds.css index e5d1adf..bf77a6b 100644 --- a/src/cockpit/389-console/css/ds.css +++ b/src/cockpit/389-console/css/ds.css @@ -683,14 +683,13 @@ Zbutton:focus { padding-bottom: 10px; } - .ds-modal { - width: 650px; + width: 450px; } .ds-modal-wide { width: 850px; - z-index: 10; + vertical-align: middle; } .modal-content { diff --git a/src/cockpit/389-console/index.html b/src/cockpit/389-console/index.html index 5f69103..2c13122 100644 --- a/src/cockpit/389-console/index.html +++ b/src/cockpit/389-console/index.html @@ -42,7 +42,7 @@