Tidied up eventlog on various pages to use bootstrap

This commit is contained in:
laf
2014-02-28 22:02:39 +00:00
parent 997dc3dad3
commit 5a995022dc
4 changed files with 34 additions and 11 deletions

View File

@@ -152,9 +152,6 @@ if ($config['enable_syslog'])
echo("</div>");
} else {
echo("<div class=front-eventlog>
<h3>Recent Eventlog Entries</h3>
");
if ($_SESSION['userlevel'] == '10')
{
@@ -166,7 +163,19 @@ if ($config['enable_syslog'])
$data = mysql_query($query);
echo('<table class="table table-bordered">');
echo('<div class="container-fluid">
<div class="row">
<div class="col-md-12">
&nbsp;
</div>
</row>
<row>
<div class="col-md-12">
<div class="panel panel-default panel-condensed">
<div class="panel-heading">
<strong>Eventlog entries</strong>
</div>
<table class="table table-hover table-condensed table-striped">');
while ($entry = mysql_fetch_assoc($data)) {
include("includes/print-event.inc.php");
@@ -174,6 +183,9 @@ if ($config['enable_syslog'])
echo("</table>");
echo("</div>");
echo("</div>");
echo("</div>");
echo("</div>");
}
echo("</div>");