ipa/freeipa-3.0.0.pre1-030-bigger-textarea-for-permission-type-subtree.patch
2012-08-06 18:17:49 +02:00

49 lines
1.5 KiB
Diff

From 3adebcf919e81ead95c68995db52f7c2da999792 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvoborni@redhat.com>
Date: Mon, 16 Jul 2012 13:40:52 +0200
Subject: [PATCH 30/79] Bigger textarea for permission type=subtree
Adder dialog and details facet for permission type=subtree have small textarea for defining subtree filter. It was unconfortable to define the filter. This difference was removed.
https://fedorahosted.org/freeipa/ticket/2832
---
install/ui/aci.js | 2 --
install/ui/ipa.css | 8 ++++++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/install/ui/aci.js b/install/ui/aci.js
index b2e5e19e54fe083093171d29fe894df321bb4c88..63181efac5f335d28a4c23bfa1ae2da95b9a0e75 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -688,8 +688,6 @@ IPA.permission_target_widget = function(spec) {
that.subtree_textarea = IPA.textarea_widget({
entity: that.entity,
name: 'subtree',
- cols: 30,
- rows: 1,
hidden: true
});
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index a3b93078b64fc057ba81271abbe093717d766149..76ce265f0f5c90404046726fe55bd54d73c9b365 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -1307,6 +1307,14 @@ table.scrollable tbody {
width: 250px;
}
+.textarea-widget textarea {
+ width: 250px;
+}
+
+.facet-content .textarea-widget textarea {
+ width: 400px;
+}
+
.combobox-widget-input {
display: inline-block;
position: relative;
--
1.7.11.2