mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add 2 css class graph - minigraph for bg color and other (#10318)
* Add 2 class for graph / mini graph (styles.css) Add 2 class for graph / mini graph (styles.css) for changing bg color and more (mini graph port / device) (graph port / general) * Update styles.css Add 2 class for graph / mini graph (styles.css) for changing bg color and more (mini graph port / device) (graph port / general) * Add class CSS for mini graph Add class CSS for mini graph * Update graph.inc.php Change graph.inc.php, add css class / overlib * restore original bg #f5f5f5 .graph-all-common restore original bg #f5f5f5 .graph-all-common * Update ports.inc.php correct extra \ * Update graph.inc.php * Update ports.inc.php * Update ports.inc.php * Update graph.inc.php * Comment line 88 URL.php, because description of location enlarge too much overlib devices's title * Update Url.php * Update Url.php Line 88 -> re ident to pass travis...
This commit is contained in:
@@ -55,7 +55,7 @@ foreach ($ports as $port) {
|
||||
$graph_array['height'] = 119;
|
||||
$graph = generate_lazy_graph_tag($graph_array);
|
||||
|
||||
echo "<div style='display: block; padding: 1px; margin: 2px; min-width: ".$width_div.'px; max-width:'.$width_div."px; min-height:180px; max-height:180px; text-align: center; float: left; background-color: #f5f5f5;'>";
|
||||
echo "<div class='graph-all-common' style='min-width: ".$width_div.'px;max-width:'.$width_div."px;'>";
|
||||
echo overlib_link($link, $graph, $overlib_content);
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user