mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
History grid CSS
This commit is contained in:
parent
7a712c1f98
commit
7cb26a0d34
@ -188,9 +188,6 @@ class Monitoring_ListController extends MonitoringController
|
||||
'host_address' => 'Host Address',
|
||||
'host_last_check' => 'Last Host Check'
|
||||
));
|
||||
|
||||
$this->view->piechart =
|
||||
new PieChart(array(1,3,4,2));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -279,9 +276,9 @@ class Monitoring_ListController extends MonitoringController
|
||||
{
|
||||
$this->addTitleTab('statehistorysummary');
|
||||
$query = StateHistorySummary::fromRequest(
|
||||
$this->_request, array('day', 'cnt_critical')
|
||||
$this->_request, array('day', 'cnt_critical')
|
||||
)->getQuery()->order('day');
|
||||
$query->paginate(365);
|
||||
$query->limit(365);
|
||||
$this->view->summary = $query->fetchAll();
|
||||
$this->view->grid = new HistoryColorGrid();
|
||||
$this->handleFormatRequest($query);
|
||||
|
@ -1,6 +1,5 @@
|
||||
table.historycolorgrid {
|
||||
font-size: 1.5em;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
table.historycolorgrid th {
|
||||
@ -30,8 +29,12 @@ table.historycolorgrid td.weekday {
|
||||
|
||||
table.historycolorgrid a {
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
table.historycolorgrid a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user