From bd493d47a736fab4e74efbe9b603dcc8f1986512 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 2 Feb 2011 16:18:35 -0600 Subject: Added multi-valued text widget. A multi-valued text widget has been created to replace the old IPA.details_field. The old code was designed to handle all data types, and it uses one
tag for each value, so the code is still incomplete and complex. The new code was designed to handle only multi-valued text attributes, and it uses one
tag for all values, so it's easier to maintain. There are already other widgets that can be used to handle other data types. The new code supports line-level undo and line-out for removal like the old code, but there are some changes: - Undoing a newly added line will remove the entire line. - Editing the value of a removed line will cancel the removal. - It provides 'undo all' link to reset the entire attribute. The old code will be cleaned up in a subsequent patch. --- install/ui/ipa.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/ipa.css') diff --git a/install/ui/ipa.css b/install/ui/ipa.css index 1f34b3ce4..c851a400e 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -246,7 +246,7 @@ dl.entryattrs dd { dl.entryattrs dd.first { margin-left: 0; margin-top: 0.5em; - font-weight: bold; + font-weight: bold; } dl.entryattrs dd.other { @@ -256,7 +256,7 @@ dl.entryattrs dd.other { dl.entryattrs input { margin-right: 0.5em; - margin-top: -1.2em; + margin-bottom: 1em; } dl.entryattrs input.otp { -- cgit