netzbeere-web/taillog.lp

39 lines
1.5 KiB
Plaintext

<? --[[
* 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/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">
<?= i18n('taillog.autoscroll') ?>&nbsp;<i class="fa fa-fw fa-check" id="autoscrolling"></i>&nbsp;&nbsp;
<button class="btn btn-success" id="live-feed">
<span id="title"><?= i18n('taillog.live') ?></span>&nbsp;&nbsp;
<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/js/taillog.js')?>"></script>
<? mg.include('scripts/lua/footer.lp','r')?>