mirror of
https://github.com/pi-hole/web.git
synced 2026-08-23 06:39:09 +01:00
- 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>
56 lines
1.9 KiB
Lua
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: <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="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')?>
|