diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-11 21:45:47 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-11 21:45:47 +0545 |
commit | c53fc00e27be98b9aafabaa4f549239e936c6d08 (patch) | |
tree | 8442d445c039714ccca0d1285b342472fe8ae00a | |
parent | 4a6272bea5a2ec265b642c3ddc96280a03d07f45 (diff) | |
download | pfsense-c53fc00e27be98b9aafabaa4f549239e936c6d08.zip pfsense-c53fc00e27be98b9aafabaa4f549239e936c6d08.tar.gz |
services_dnsmasq put info in infoblock
There are 3 sets of info. But when I put each in an infoblock then:
1) Only the first "i" icon works to open and close, and it opens and closes all 3 blocks of text.
2) The first 2 text boxes still have an "x" and they can be dismissed.
Do we want to enhance the supporting code for infoblock so that it can work with multiple infoblocks on the same page?
Or do we have a policy that there is only to be 1 infoblock on a page, and other 'info' text just has to not be in an infoblock?
-rw-r--r-- | src/usr/local/www/services_dnsmasq.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dnsmasq.php b/src/usr/local/www/services_dnsmasq.php index cb5ad12..f909808 100644 --- a/src/usr/local/www/services_dnsmasq.php +++ b/src/usr/local/www/services_dnsmasq.php @@ -341,7 +341,9 @@ $section->addInput(new Form_Textarea( $form->add($section); print($form); - +?> +<div class="infoblock_open"> +<?php print_info_box(sprintf("If the DNS forwarder is enabled, the DHCP". " service (if enabled) will automatically serve the LAN IP". " address as a DNS server to DHCP clients so they will use". @@ -354,6 +356,7 @@ print_info_box(sprintf("If the DNS forwarder is enabled, the DHCP". " least one DNS server on the %sSystem:". "General setup%s page.",'<a href="system.php">','</a>','<a href="system.php">','</a>'), 'info'); ?> +</div> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Host Overrides")?></h2></div> @@ -430,10 +433,12 @@ endforeach; </a> </nav> +<div class="infoblock_open"> <?php print_info_box(gettext("Entries in this section override individual results from the forwarders.") . gettext("Use these for changing DNS results or for adding custom DNS records."), 'info'); ?> +</div> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Domain Overrides")?></h2></div> @@ -494,8 +499,11 @@ events.push(function() { // }); //]]> </script> +<div class="infoblock_open"> <?php print_info_box(gettext("Entries in this area override an entire domain, and subdomains, by specifying an". " authoritative DNS server to be queried for that domain."), 'info'); - +?> +</div> +<?php include("foot.inc"); |