diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-09-14 13:01:25 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-09-29 16:58:53 +0000 |
commit | 1e2c0562834d0ee3c3a7a815f5449befa4797a5a (patch) | |
tree | e395edfa7099efc1fd9cb1fed84db35b723de734 /install/ui/ipa.css | |
parent | a60ee8b7810ed2dbe0affe91112c4d7c95394018 (diff) | |
download | freeipa-1e2c0562834d0ee3c3a7a815f5449befa4797a5a.tar.gz freeipa-1e2c0562834d0ee3c3a7a815f5449befa4797a5a.tar.xz freeipa-1e2c0562834d0ee3c3a7a815f5449befa4797a5a.zip |
Fixed: Some widgets do not have space for validation error message
https://fedorahosted.org/freeipa/ticket/1454
The following widgets should call create_error_link() to create a space to show validation error messages:
IPA.checkbox_widget
IPA.checkboxes_widget
IPA.radio_widget
IPA.select_widget
IPA.table_widget
IPA.attributes_widget
IPA.rights_widget
IPA.target_section (it's a widget)
Solution:
* added call to checkbox, checkboxes, radio, select, table, attributes widget
* rights_widget inherits it from checkboxes_widget.
* target_section IS NOT a widget as it doesn't inherit from widget. It's still a section, which shows different widgets based on its state.
* table_widget displays error_link between pagination and summary.
Additional:
* added padding and unified font-weight for error message
Diffstat (limited to 'install/ui/ipa.css')
-rw-r--r-- | install/ui/ipa.css | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css index 5befe499f..a59df0b3d 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -193,6 +193,13 @@ body { padding-right: 0.3em; } +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + font-weight: bold; + padding: 0.2em; +} + /* ---- Header ---- */ #header { position: absolute; @@ -698,12 +705,13 @@ span.main-nav-off > a:visited { padding: 0.5em 0 0 1em; border-top: 1px solid #dfdfdf; height: 25px; + line-height: 25px; margin-top: 1em; } .search-table span[name=summary] { float: left; - line-height: 25px; + margin-right: 4em; } .search-table span[name=pagination] { @@ -846,6 +854,7 @@ hr { .undo { cursor:pointer; + padding: 0.2em; } span.attrhint { |