-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaillog.lp
38 lines (35 loc) · 1.44 KB
/
taillog.lp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<? --[[
* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license.
*/ ]]--
mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
?>
<div class="row">
<div class="col-md-12">
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"><code>tail -F <span id="filename">...</span></code></h3>
<div class="pull-right">
Autoscroll: <i class="fa fa-fw fa-check" id="autoscrolling"></i>
<button class="btn btn-success" id="live-feed">
<span id="title">Live</span>
<i id="feed-icon" class="fa-solid fa-fw fa-play fa-fade"></i>
</button>
</div>
</div>
<div class="box-body">
<div class="row">
<div class="col-md-12">
<pre id="output" class="pre pre-scrollable pre-taillog"></pre>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="<?=pihole.fileversion('scripts/pi-hole/js/taillog.js')?>"></script>
<? mg.include('scripts/pi-hole/lua/footer.lp','r')?>