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

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

parent 2aaa7192
...@@ -66,9 +66,15 @@ include("head.inc"); ...@@ -66,9 +66,15 @@ include("head.inc");
<div class="tab-content content-box col-xs-12"> <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> <div class="container-fluid">
<pre> <?php echo trim(implode("", array_slice(file($dhcpd_logfile), -$nentries)));?></pre>
<form action="diag_logs_dhcp.php" method="post"> <form action="diag_logs_dhcp.php" method="post">
<input name="clear" type="submit" class="btn" value="<?= gettext("Clear log");?>" /> <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