Commit 365afd1b authored by Ad Schellevis's avatar Ad Schellevis

fix spacing in diag_logs_template.inc https://github.com/opnsense/core/issues/1003

parent 40ca0a8a
...@@ -64,7 +64,6 @@ if (isset($_POST['filtertext'])) { ...@@ -64,7 +64,6 @@ if (isset($_POST['filtertext'])) {
} }
include("head.inc"); include("head.inc");
?> ?>
<body> <body>
...@@ -83,39 +82,43 @@ include("head.inc"); ...@@ -83,39 +82,43 @@ include("head.inc");
</p> </p>
<div class="tab-content content-box col-xs-12"> <div class="tab-content content-box col-xs-12">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-sort"> <table class="table table-striped">
<tr> <thead>
<td class="col-md-2 col-sm-3 col-xs-4"><?= gettext('Date') ?></td> <tr>
<td class="col-md-10 col-sm-9 col-xs-8"><?= gettext('Message') ?></td> <th class="col-md-2 col-sm-3 col-xs-4"><?= gettext('Date') ?></th>
</tr> <th class="col-md-10 col-sm-9 col-xs-8"><?= gettext('Message') ?></th>
<?php if (isset($logpills)): ?> </tr>
<tr> </thead>
<td colspan="2"> <tbody>
<ul class="nav nav-pills" role="tablist"> <?php if (isset($logpills)): ?>
<?php foreach ($logpills as $pill): ?> <tr>
<li role="presentation" <?php if (str_replace('amp;','', $pill[2]) == $_SERVER['REQUEST_URI']):?>class="active"<?php endif; ?>><a href="<?=$pill[2];?>"><?=$pill[0];?></a></li> <td colspan="2">
<?php endforeach; ?> <ul class="nav nav-pills" role="tablist">
</ul> <?php foreach ($logpills as $pill): ?>
</td> <li role="presentation" <?php if (str_replace('amp;','', $pill[2]) == $_SERVER['REQUEST_URI']):?>class="active"<?php endif; ?>><a href="<?=$pill[2];?>"><?=$pill[0];?></a></li>
</tr> <?php endforeach; ?>
<?php endif; ?> </ul>
<?php </td>
if ($logclog) { </tr>
dump_clog($logfile, $nentries, $filtertext); <?php endif; ?>
} else { <?php
dump_log($logfile, $nentries, $filtertext); if ($logclog) {
} dump_clog($logfile, $nentries, $filtertext);
?> } else {
<tr> dump_log($logfile, $nentries, $filtertext);
<td colspan="2"> }
<form method="post"> ?>
<?php if (isset($mode)): ?> <tr>
<td colspan="2">
<form method="post">
<?php if (isset($mode)): ?>
<input type="hidden" name="mode" id="mode" value="<?= html_safe($mode) ?>"/> <input type="hidden" name="mode" id="mode" value="<?= html_safe($mode) ?>"/>
<?php endif ?> <?php endif; ?>
<input name="clear" type="submit" class="btn btn-primary" value="<?= html_safe(gettext('Clear log')) ?>"/> <input name="clear" type="submit" class="btn btn-primary" value="<?= html_safe(gettext('Clear log')) ?>"/>
</form> </form>
</td> </td>
</tr> </tr>
</tbody>
</table> </table>
</div> </div>
</div> </div>
......
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