Commit 317a77c2 authored by Franco Fichtner's avatar Franco Fichtner

logs: fix DHCP reverse log show and update style for #213

parent 2aaa7192
......@@ -65,10 +65,16 @@ include("head.inc");
<div class="tab-content content-box col-xs-12">
<div class="container-fluid">
<div class="container-fluid">
<?php printf(gettext('Last %s DHCP service log entries'), $nentries); ?>
</div>
<div class="table-responsive">
<table class="table table-striped table-sort">
<?php dump_clog($dhcpd_logfile, $nentries, true); ?>
</table>
</div>
<p> <?php printf(gettext("Last %s DHCP service log entries"), $nentries);?></p>
<pre> <?php echo trim(implode("", array_slice(file($dhcpd_logfile), -$nentries)));?></pre>
<div class="container-fluid">
<form action="diag_logs_dhcp.php" method="post">
<input name="clear" type="submit" class="btn" value="<?= gettext("Clear log");?>" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment