Skip to content

Commit

Permalink
Removed debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER committed Dec 12, 2016
1 parent 581ef88 commit 7d4234b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion js/pihole/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ $(".confirm-flushlogs").confirm({

$("#DHCPchk").click(function() {
$("input.DHCPgroup").prop("disabled", !this.checked);
console.log(this.checked);
});
12 changes: 4 additions & 8 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@
<div class="form-group">
<div class="checkbox"><label><input type="checkbox" name="active" <?php if($DHCP){ ?>checked<?php } ?> id="DHCPchk"> DHCP server enabled</label></div>
</div>
<label>Range of IP addresses to hand out</label>
<div class="form-group">
<div class="col-md-12">
<label>Range of IP addresses to hand out</label>
</div>
<div class="col-md-6">
<div class="input-group">
<div class="input-group-addon">From</div>
Expand All @@ -117,19 +115,17 @@
<input type="text" class="form-control DHCPgroup" name="to" value="<?php echo $DHCPend; ?>" data-inputmask="'alias': 'ip'" data-mask>
</div>
</div>
<div class="col-md-12">
<label>Router IP address</label>
</div>
<label>Router IP address</label>
<div class="col-md-12">
<div class="input-group">
<div class="input-group-addon">Router</div>
<input type="text" class="form-control DHCPgroup" name="router" value="<?php echo $DHCProuter; ?>" data-inputmask="'alias': 'ip'" data-mask>
</div>
</div>
</div><br/>
<?php if($DHCP) { ?>
<label>DHCP leases</label>
<div class="col-md-12">
<div class="form-group">
<label>DHCP leases</label>
<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>
</div>
Expand Down

0 comments on commit 7d4234b

Please sign in to comment.