mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Device overview: all headers are now bold and elements within are not.
This commit is contained in:
		@@ -6,7 +6,7 @@ echo '<div class="container-fluid">
 | 
			
		||||
        <div class="panel panel-default panel-condensed">
 | 
			
		||||
          <div class="panel-heading">';
 | 
			
		||||
echo '<a href="device/device='.$device['device_id'].'/tab=health/metric=mempool/">';
 | 
			
		||||
echo "<img src='images/16/arrow_switch.png'> Catalyst 6k Crossbar</a>";
 | 
			
		||||
echo "<img src='images/16/arrow_switch.png'> <strong>Catalyst 6k Crossbar</strong></a>";
 | 
			
		||||
echo '          </div>
 | 
			
		||||
    <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-heading">';
 | 
			
		||||
echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=eventlog/">';
 | 
			
		||||
echo "<img src='images/16/report.png'> Recent Events</a>";
 | 
			
		||||
echo "<img src='images/16/report.png'> <strong>Recent Events</strong></a>";
 | 
			
		||||
echo '        </div>
 | 
			
		||||
              <table class="table table-hover table-condensed table-striped">';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,7 @@ if (count($sensors)) {
 | 
			
		||||
        $sensor['sensor_descr'] = truncate($sensor['sensor_descr'], 48, '');
 | 
			
		||||
 | 
			
		||||
        echo '<tr>
 | 
			
		||||
            <td><strong>'.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content).'</strong></td>
 | 
			
		||||
            <td>'.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content).'</td>
 | 
			
		||||
            <td>'.overlib_link($link, $sensor_minigraph, $overlib_content).'</td>
 | 
			
		||||
            <td>'.overlib_link($link, '<span '.($sensor['sensor_current'] < $sensor['sensor_limit_low'] || $sensor['sensor_current'] > $sensor['sensor_limit'] ? "style='color: red'" : '').'>'.$sensor['sensor_current'].$sensor_unit.'</span>', $overlib_content).'</td>
 | 
			
		||||
            </tr>';
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ if (count($drives)) {
 | 
			
		||||
              <div class="panel panel-default panel-condensed">
 | 
			
		||||
                <div class="panel-heading">';
 | 
			
		||||
    echo '<a href="device/device='.$device['device_id'].'/tab=health/metric=storage/">';
 | 
			
		||||
    echo "<img src='images/icons/storage.png'> Storage</a>";
 | 
			
		||||
    echo "<img src='images/icons/storage.png'> <strong>Storage</strong></a>";
 | 
			
		||||
    echo '    </div>
 | 
			
		||||
            <table class="table table-hover table-condensed table-striped">';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ if ($config['enable_syslog']) {
 | 
			
		||||
          <div class="col-md-12">
 | 
			
		||||
            <div class="panel panel-default panel-condensed">
 | 
			
		||||
              <div class="panel-heading">';
 | 
			
		||||
        echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=syslog/"><img src="images/16/printer.png" /> Recent Syslog</a>';
 | 
			
		||||
        echo '<a href="device/device='.$device['device_id'].'/tab=logs/section=syslog/"><img src="images/16/printer.png" /> <strong>Recent Syslog</strong></a>';
 | 
			
		||||
        echo '        </div>
 | 
			
		||||
              <table class="table table-hover table-condensed table-striped">';
 | 
			
		||||
        foreach ($syslog as $entry) {
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ if (count($toners)) {
 | 
			
		||||
            <div class="panel panel-default panel-condensed">
 | 
			
		||||
              <div class="panel-heading">';
 | 
			
		||||
    echo '<a href="device/device='.$device['device_id'].'/tab=toner/">';
 | 
			
		||||
    echo "<img src='images/icons/toner.png'> Toner</a>";
 | 
			
		||||
    echo "<img src='images/icons/toner.png'> <strong>Toner</strong></a>";
 | 
			
		||||
    echo '</div>
 | 
			
		||||
        <table class="table table-hover table-condensed table-striped">';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user