Expanable box + renamed

This commit is contained in:
DL6ER
2017-01-27 22:08:55 +01:00
parent 2f80018f51
commit cd5f5bb936
2 changed files with 6 additions and 5 deletions
@@ -92,13 +92,13 @@ if($_POST["action"] == "in")
if(isset($_POST["whitelist"]))
{
$whitelist = process_zip("whitelist.txt");
echo exec("sudo pihole -w -q ".implode(" ", $whitelist));
exec("sudo pihole -w -q ".implode(" ", $whitelist));
}
if(isset($_POST["wildlist"]))
{
$wildlist = process_zip("wildcardblocking.txt");
echo exec("sudo pihole -wild -q ".implode(" ", $wildlist));
exec("sudo pihole -wild -q ".implode(" ", $wildlist));
}
echo "OK";
+4 -3
View File
@@ -752,12 +752,13 @@
</form>
</div>
</div>
<div class="box box-danger">
<div class="box box-danger collapsed-box">
<div class="box-header with-border">
<h3 class="box-title">Pi-hole Takeout</h3>
<h3 class="box-title">Pi-hole Teleporter</h3>
<div class="box-tools pull-right"><button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button></div>
</div>
<div class="box-body">
<form role="form" method="post" id="takeoutform" action="scripts/pi-hole/php/takeout.php" target="_blank" enctype="multipart/form-data">
<form role="form" method="post" id="takeoutform" action="scripts/pi-hole/php/teleporter.php" target="_blank" enctype="multipart/form-data">
<div class="col-lg-12">
<p>Export your Pi-hole lists as downloadable ZIP file</p>
<button type="submit" class="btn btn-default" name="action" value="out">Export</button>