mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +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_address' => 'Host Address',
|
||||||
'host_last_check' => 'Last Host Check'
|
'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');
|
$this->addTitleTab('statehistorysummary');
|
||||||
$query = StateHistorySummary::fromRequest(
|
$query = StateHistorySummary::fromRequest(
|
||||||
$this->_request, array('day', 'cnt_critical')
|
$this->_request, array('day', 'cnt_critical')
|
||||||
)->getQuery()->order('day');
|
)->getQuery()->order('day');
|
||||||
$query->paginate(365);
|
$query->limit(365);
|
||||||
$this->view->summary = $query->fetchAll();
|
$this->view->summary = $query->fetchAll();
|
||||||
$this->view->grid = new HistoryColorGrid();
|
$this->view->grid = new HistoryColorGrid();
|
||||||
$this->handleFormatRequest($query);
|
$this->handleFormatRequest($query);
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
table.historycolorgrid {
|
table.historycolorgrid {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
padding: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.historycolorgrid th {
|
table.historycolorgrid th {
|
||||||
@ -30,8 +29,12 @@ table.historycolorgrid td.weekday {
|
|||||||
|
|
||||||
table.historycolorgrid a {
|
table.historycolorgrid a {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.historycolorgrid a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user