mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Exchanged <textarea> by <pre> to have word wraping control + added some text to the Help Center
This commit is contained in:
@@ -91,6 +91,16 @@
|
||||
Disables/enables Pi-Hole blocking completely. You may have to wait a few minutes for the changes to reach all of your devices. The change will be reflected by a changed status (top left)
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2>Setings</h2>
|
||||
Change settings for the Pi-Hole
|
||||
<h4>Networking</h4>
|
||||
Displays information about the interfaces of the Pi-Hole. No changes possible
|
||||
<h4>Pi-Hole DHCP Server</h4>
|
||||
Using this setting you can enable/disable the DHCP server of the Pi-Hole. Note that you should disable any other DHCP server on your network to avoid IP addresses being used more than once. You have to give the range of IPs that DHCP will serve and the IP of the local router (gateway). If the DHCP server is active, the current leases are shown on the settings page.
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2>Donate</h2>
|
||||
|
||||
+2
-3
@@ -125,9 +125,8 @@
|
||||
<?php if($DHCP) { ?>
|
||||
<label>DHCP leases</label>
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<textarea name="clients" class="form-control" rows="4" placeholder="DHCP leases will be shown here" disabled><?php echo file_get_contents("/etc/pihole/dhcp.leases"); ?></textarea>
|
||||
</div>
|
||||
<pre style=" height: 10em; overflow-y: scroll;"><?php echo file_get_contents("/etc/pihole/dhcp.leases"); ?></pre>
|
||||
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user