Added online debug log creator

This commit is contained in:
DL6ER
2017-02-10 12:22:59 +01:00
parent ee41dbdc70
commit 9765b38ec2
4 changed files with 107 additions and 1 deletions

17
debug.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
require "scripts/pi-hole/php/header.php";
?>
<!-- Title -->
<div class="page-header">
<h1>Generate debug log</h1>
</div>
<button class="btn btn-lg btn-primary btn-block" id="debugBtn">Generate debug log</button>
<pre id="output" style="width: 100%; height: 100%;" hidden="true"></pre>
<?php
require "scripts/pi-hole/php/footer.php";
?>
<script src="scripts/pi-hole/js/debug.js"></script>