Files
web/taillog.lp
RD WebDesignandAdam Warner 61f6c982b7 Use the new AdminLTE header structure
- remove old `.page-title` from all pages;
- add the the new header structure and place the title inside the new
  `.app-content-header` element;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2026-07-17 22:43:25 +01:00

56 lines
1.9 KiB
Lua

<? --[[
* 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')
?>
<!-- Title/Header -->
<div class="app-content-header">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<h1 class="mb-0">Tail Log</h1>
</div>
</div>
</div>
</div>
<div class="app-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card card-warning card-outline">
<div class="card-header">
<h3 class="card-title"><code>tail -F <span id="filename">...</span></code></h3>
<div class="float-end">
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">Live</span>&nbsp;&nbsp;
<i id="feed-icon" class="fa-solid fa-fw fa-play fa-fade"></i>
</button>
</div>
</div>
<div class="card-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>
</div><!-- /.container-fluid -->
</div><!-- /.app-content -->
<script src="<?=pihole.fileversion('scripts/js/taillog.js')?>"></script>
<? mg.include('scripts/lua/footer.lp','r')?>