mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Made the 2 tool icons more appropriate in the menu bar (#5701)
* Made the 2 tool icons more appropiate in the menu bar * updated eventlog and syslog icons so they are the same * Try #2 * Changed syslog to fa-tag instead of fa-archive which is used for packages already * Changed Syslog icon to fa-clone
This commit is contained in:
committed by
Neil Lathwood
parent
d4ef6bad92
commit
389cf5414c
@@ -88,25 +88,25 @@ if ($config['title_image']) {
|
|||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="<?php echo(generate_url(array('page'=>'overview'))); ?>"><i class="fa fa-wrench fa-fw fa-lg" aria-hidden="true"></i> Tools</a>
|
<a href="<?php echo(generate_url(array('page'=>'overview'))); ?>"><i class="fa fa-wrench fa-fw fa-lg" aria-hidden="true"></i> Tools</a>
|
||||||
<ul class="dropdown-menu scrollable-menu">
|
<ul class="dropdown-menu scrollable-menu">
|
||||||
<li><a href="<?php echo(generate_url(array('page'=>'ripenccapi'))); ?>"><i class="fa fa-chevron-right fa-fw fa-lg" aria-hidden="true"></i> RIPE NCC API</a></li>
|
<li><a href="<?php echo(generate_url(array('page'=>'ripenccapi'))); ?>"><i class="fa fa-star fa-fw fa-lg" aria-hidden="true"></i> RIPE NCC API</a></li>
|
||||||
<?php
|
<?php
|
||||||
if ($config['oxidized']['enabled'] === true && isset($config['oxidized']['url'])) {
|
if ($config['oxidized']['enabled'] === true && isset($config['oxidized']['url'])) {
|
||||||
echo '<li><a href="'.generate_url(array('page'=>'oxidized')).'"><i class="fa fa-arrow-circle-up fa-fw fa-lg" aria-hidden="true"></i> Oxidized</a></li>';
|
echo '<li><a href="'.generate_url(array('page'=>'oxidized')).'"><i class="fa fa-stack-overflow fa-fw fa-lg" aria-hidden="true"></i> Oxidized</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation" class="divider"></li>
|
<li role="presentation" class="divider"></li>
|
||||||
<li><a href="<?php echo(generate_url(array('page'=>'eventlog'))); ?>"><i class="fa fa-book fa-fw fa-lg" aria-hidden="true"></i> Eventlog</a></li>
|
<li><a href="<?php echo(generate_url(array('page'=>'eventlog'))); ?>"><i class="fa fa-bookmark fa-fw fa-lg" aria-hidden="true"></i> Eventlog</a></li>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (isset($config['enable_syslog']) && $config['enable_syslog']) {
|
if (isset($config['enable_syslog']) && $config['enable_syslog']) {
|
||||||
echo ' <li><a href="'.generate_url(array('page'=>'syslog')).'"><i class="fa fa-book fa-fw fa-lg" aria-hidden="true"></i> Syslog</a></li>';
|
echo ' <li><a href="'.generate_url(array('page'=>'syslog')).'"><i class="fa fa-clone fa-fw fa-lg" aria-hidden="true"></i> Syslog</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($config['graylog']['server']) && isset($config['graylog']['port'])) {
|
if (isset($config['graylog']['server']) && isset($config['graylog']['port'])) {
|
||||||
echo ' <li><a href="'.generate_url(array('page'=>'graylog')).'"><i class="fa fa-book fa-fw fa-lg" aria-hidden="true"></i> Graylog</a></li>';
|
echo ' <li><a href="'.generate_url(array('page'=>'graylog')).'"><i class="fa fa-clone fa-fw fa-lg" aria-hidden="true"></i> Graylog</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -126,8 +126,8 @@ echo "
|
|||||||
<td><i class='fa fa-fw fa-cube fa-lg icon-theme' aria-hidden='true'></i> <b>Entity-MIB</b></td><td class='text-right'>$stat_entphys</td>
|
<td><i class='fa fa-fw fa-cube fa-lg icon-theme' aria-hidden='true'></i> <b>Entity-MIB</b></td><td class='text-right'>$stat_entphys</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><i class='fa fa-fw fa-calendar-o fa-lg icon-theme' aria-hidden='true'></i> <b>Syslog Entries</b></td><td class='text-right'>$stat_syslog</td>
|
<td><i class='fa fa-fw fa-clone fa-lg icon-theme' aria-hidden='true'></i> <b>Syslog Entries</b></td><td class='text-right'>$stat_syslog</td>
|
||||||
<td><i class='fa fa-fw fa-calendar fa-lg icon-theme' aria-hidden='true'></i> <b>Eventlog Entries</b></td><td class='text-right'>$stat_events</td>
|
<td><i class='fa fa-fw fa-bookmark fa-lg icon-theme' aria-hidden='true'></i> <b>Eventlog Entries</b></td><td class='text-right'>$stat_events</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><i class='fa fa-fw fa-dashboard fa-lg icon-theme' aria-hidden='true'></i> <b>Sensors</b></td><td class='text-right'>$stat_sensors</td>
|
<td><i class='fa fa-fw fa-dashboard fa-lg icon-theme' aria-hidden='true'></i> <b>Sensors</b></td><td class='text-right'>$stat_sensors</td>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ $entries = dbFetchRows("SELECT *,DATE_FORMAT(datetime, '".$config['dateformat'][
|
|||||||
|
|
||||||
echo ' <div class="panel panel-default panel-condensed">
|
echo ' <div class="panel panel-default panel-condensed">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<strong>Eventlog entries</strong>
|
<i class="fa fa-bookmark fa-lg icon-theme" aria-hidden="true"></i> <strong>Eventlog entries</strong>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-hover table-condensed table-striped">';
|
<table class="table table-hover table-condensed table-striped">';
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ echo ' <div class="row">
|
|||||||
<div class="panel panel-default panel-condensed">
|
<div class="panel panel-default panel-condensed">
|
||||||
<div class="panel-heading">';
|
<div class="panel-heading">';
|
||||||
echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=eventlog/">';
|
echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=eventlog/">';
|
||||||
echo '<i class="fa fa-calendar fa-lg icon-theme" aria-hidden="true"></i> <strong>Recent Events</strong></a>';
|
echo '<i class="fa fa-bookmark fa-lg icon-theme" aria-hidden="true"></i> <strong>Recent Events</strong></a>';
|
||||||
echo ' </div>
|
echo ' </div>
|
||||||
<table class="table table-hover table-condensed table-striped">';
|
<table class="table table-hover table-condensed table-striped">';
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if ($config['enable_syslog']) {
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="panel panel-default panel-condensed">
|
<div class="panel panel-default panel-condensed">
|
||||||
<div class="panel-heading">';
|
<div class="panel-heading">';
|
||||||
echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=syslog/"><i class="fa fa-calendar-o fa-lg icon-theme" aria-hidden="true"></i> <strong>Recent Syslog</strong></a>';
|
echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=syslog/"><i class="fa fa-clone fa-lg icon-theme" aria-hidden="true"></i> <strong>Recent Syslog</strong></a>';
|
||||||
echo ' </div>
|
echo ' </div>
|
||||||
<table class="table table-hover table-condensed table-striped">';
|
<table class="table table-hover table-condensed table-striped">';
|
||||||
foreach ($syslog as $entry) {
|
foreach ($syslog as $entry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user