mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Tidied up eventlog on various pages to use bootstrap
This commit is contained in:
@@ -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">
|
||||
|
||||
</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>");
|
||||
|
Reference in New Issue
Block a user