From 219ddd830fdd618eab2f7edbd84b58b65d62ae48 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Oct 22 2018 19:22:41 +0000 Subject: Ticket 49926 - Fix various issues with replication UI Description: Fixed some minor issues found in the JS. Also improved the replication enabling/disabling design/flow. https://pagure.io/389-ds-base/issue/49926 Reviewed by: ? --- diff --git a/src/cockpit/389-console/css/ds.css b/src/cockpit/389-console/css/ds.css index a6d1f88..fd1e239 100644 --- a/src/cockpit/389-console/css/ds.css +++ b/src/cockpit/389-console/css/ds.css @@ -677,6 +677,7 @@ td { position: absolute; max-height: 750px; max-width: 550px; + min-width: 400px; overflow: auto; } @@ -776,6 +777,13 @@ td { margin-right: 5px !important; } +.ds-mgr-checkbox { + margin-left: 10px !important; + margin-top: 10px !important; + margin-bottom: 10px !important; + margin-right: 5px !important; +} + .ds-server-checkbox { margin-top: 15px !important; margin-right: 12px !important; @@ -1243,6 +1251,10 @@ option { margin-right: 15px !important; } +.ds-left-indent { + margin-left: 15px !important; +} + .ds-gap { margin-bottom: 40px !important: } @@ -1397,4 +1409,17 @@ option { min-width: 350px !important; } +.ds-disable-repl-btn { + margin-left: 15px !important; + max-height: 25px !important; +} + +.ds-repl-form { + max-width: 350px !important; +} + +.ds-input-auto { + width: 100%; + margin-right: 10px; +} diff --git a/src/cockpit/389-console/js/ds.js b/src/cockpit/389-console/js/ds.js index eb6ade5..ca360ce 100644 --- a/src/cockpit/389-console/js/ds.js +++ b/src/cockpit/389-console/js/ds.js @@ -34,7 +34,7 @@ var ENV = ""; var DSCONF = '/home/mareynol/source/ds389/389-ds-base/src/lib389/cli/dsconf'; var DSCTL = '/home/mareynol/source/ds389/389-ds-base/src/lib389/cli/dsctl'; var DSCREATE = '/home/mareynol/source/ds389/389-ds-base/src/lib389/cli/dscreate'; -var ENV = "PYTHONPATH=/home/mareynol/source/ds389/389-ds-base/src/lib389"; +var ENV = 'PYTHONPATH=/home/mareynol/source/ds389/389-ds-base/src/lib389'; */ /* diff --git a/src/cockpit/389-console/js/replication.js b/src/cockpit/389-console/js/replication.js index 7581138..eb378ff 100644 --- a/src/cockpit/389-console/js/replication.js +++ b/src/cockpit/389-console/js/replication.js @@ -8,7 +8,6 @@ var current_rid = ""; var repl_agmt_table; var repl_winsync_agmt_table; var repl_clean_table; -var mgr_dn; var repl_agmt_values = {}; var repl_winsync_agmt_values = {}; var frac_prefix = "(objectclass=*) $ EXCLUDE"; @@ -37,7 +36,7 @@ var agmt_action_html = var winsync_agmt_action_html = '
- +
@@ -136,9 +132,9 @@ -

+
@@ -207,7 +204,8 @@ Winsync Agreements - +

@@ -269,31 +267,31 @@ CleanAllRUV Tasks
- +
- +
- +
- +
- +
- +
- @@ -301,7 +299,7 @@ CleanAllRUV Tasks
- @@ -545,38 +543,7 @@ CleanAllRUV Tasks
- - - - - -