Skip to content

Commit 5bf7b28

Browse files
committed
Add Tools -> Interfaces page
Signed-off-by: DL6ER <dl6er@dl6er.de>
1 parent b732092 commit 5bf7b28

File tree

9 files changed

+442
-2
lines changed

9 files changed

+442
-2
lines changed

.codespellignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ede
22
EDE
3+
prefered

interfaces.lp

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<? --[[
2+
* Pi-hole: A black hole for Internet advertisements
3+
* (c) 2024 Pi-hole, LLC (https://pi-hole.net)
4+
* Network-wide ad blocking via your own hardware.
5+
*
6+
* This file is copyright under the latest version of the EUPL.
7+
* Please see LICENSE file for your rights under this license.
8+
--]]
9+
10+
mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
11+
?>
12+
<!-- Title -->
13+
<div class="page-header">
14+
<h1>Pi-hole interface overview</h1>
15+
</div>
16+
<div class="row">
17+
<div class="col-md-12">
18+
<div class="box">
19+
<div class="box-body">
20+
<div class="row">
21+
<div class="col-md-12">
22+
<div class="text-center">
23+
<i id="spinner" class="fas fa-spinner fa-pulse fa-5x"></i>
24+
</div>
25+
<div id="tree"></div>
26+
</div>
27+
</div>
28+
</div>
29+
</div>
30+
</div>
31+
</div>
32+
33+
<pre id="output" style="width: 100%; height: 100%;" hidden></pre>
34+
35+
<script src="<?=pihole.fileversion('scripts/pi-hole/js/interfaces.js')?>"></script>
36+
<? mg.include('scripts/pi-hole/lua/footer.lp','r')?>

0 commit comments

Comments
 (0)