mirror of
https://github.com/pi-hole/web.git
synced 2026-02-15 07:25:39 +00:00
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
|
require "header.php";
|
|
?>
|
|
<!-- Send PHP info to JS -->
|
|
<div id="token" hidden><?php echo $token ?></div>
|
|
|
|
<!-- Title -->
|
|
<div class="page-header">
|
|
<h1>Update list of ad-serving domains</h1>
|
|
</div>
|
|
|
|
<!-- Alerts -->
|
|
<div id="alInfo" class="alert alert-info alert-dismissible fade in" role="alert" hidden="true">
|
|
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
Updating...
|
|
</div>
|
|
<div id="alSuccess" class="alert alert-success alert-dismissible fade in" role="alert" hidden="true">
|
|
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
Success!
|
|
</div>
|
|
<div id="alFailure" class="alert alert-danger alert-dismissible fade in" role="alert" hidden="true">
|
|
<button type="button" class="close" data-hide="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
Failure! Something went wrong.
|
|
</div>
|
|
|
|
<pre id="output" style="width: 100%; height: 100%;"></pre>
|
|
|
|
<?php
|
|
require "footer.php";
|
|
?>
|
|
|
|
|
|
<script src="js/pihole/gravity.js"></script>
|