summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-09-13 09:38:36 -0300
committerRenato Botelho <renato@netgate.com>2016-09-13 09:38:36 -0300
commita9a60118866b29083499e107082319abf74aec4c (patch)
tree1e65f683582378c05792e0fc208e73d9026923d6
parent0417767d0565a15744bad993cc38cf920b3ef345 (diff)
parent57625777c88603f1d2ca55cc981c5ec538c3770f (diff)
downloadpfsense-a9a60118866b29083499e107082319abf74aec4c.zip
pfsense-a9a60118866b29083499e107082319abf74aec4c.tar.gz
Merge pull request #3104 from PiBa-NL/resizable-selectionbox
-rw-r--r--src/usr/local/www/css/pfSense.css6
-rw-r--r--src/usr/local/www/js/pfSense.js5
-rw-r--r--src/usr/local/www/services_unbound.php4
3 files changed, 13 insertions, 2 deletions
diff --git a/src/usr/local/www/css/pfSense.css b/src/usr/local/www/css/pfSense.css
index 3314346..a2cb099 100644
--- a/src/usr/local/www/css/pfSense.css
+++ b/src/usr/local/www/css/pfSense.css
@@ -235,6 +235,12 @@ tr.disabled th {
padding: inherit;
}
+/* location of bottom right drag icon on resizable elements */
+.ui-resizable-se {
+ bottom: 2px;
+ right: 46px;
+}
+
#login .form-control {
height: 34px;
}
diff --git a/src/usr/local/www/js/pfSense.js b/src/usr/local/www/js/pfSense.js
index 6d35134..8047d51 100644
--- a/src/usr/local/www/js/pfSense.js
+++ b/src/usr/local/www/js/pfSense.js
@@ -234,6 +234,11 @@ $(function() {
// Focus first input
$(':input:enabled:visible:first').focus();
+ $(".resizable").each(function() {
+ $(this).css('height', 80).resizable({minHeight: 80, minWidth: 200}).parent().css('padding-bottom', 0);
+ $(this).css('height', 78);
+ });
+
// Run in-page defined events
while (func = window.events.shift())
func();
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index b96e33a..b79548c 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -285,7 +285,7 @@ $section->addInput(new Form_Select(
$activeiflist['selected'],
$activeiflist['options'],
true
-))->addClass('general')->setHelp('Interface IPs used by the DNS Resolver for responding to queries from clients. If an interface has both IPv4 and IPv6 IPs, both are used. Queries to other interface IPs not selected below are discarded. ' .
+))->addClass('general', 'resizable')->setHelp('Interface IPs used by the DNS Resolver for responding to queries from clients. If an interface has both IPv4 and IPv6 IPs, both are used. Queries to other interface IPs not selected below are discarded. ' .
'The default behavior is to respond to queries on every available IPv4 and IPv6 address.');
$outiflist = build_if_list($pconfig['outgoing_interface']);
@@ -296,7 +296,7 @@ $section->addInput(new Form_Select(
$outiflist['selected'],
$outiflist['options'],
true
-))->addClass('general')->setHelp('Utilize different network interface(s) that the DNS Resolver will use to send queries to authoritative servers and receive their replies. By default all interfaces are used.');
+))->addClass('general', 'resizable')->setHelp('Utilize different network interface(s) that the DNS Resolver will use to send queries to authoritative servers and receive their replies. By default all interfaces are used.');
$section->addInput(new Form_Select(
'system_domain_local_zone_type',
OpenPOWER on IntegriCloud