parent
6d8199e7df
commit
8e7d1dd8f6
|
@ -63,7 +63,7 @@ class Monitoring_TimelineController extends ActionController
|
|||
)
|
||||
);
|
||||
$timeline->setMaximumCircleWidth('6em');
|
||||
$timeline->setMinimumCircleWidth('0.15em');
|
||||
$timeline->setMinimumCircleWidth('0.3em');
|
||||
$timeline->setDisplayRange($displayRange);
|
||||
$timeline->setForecastRange($forecastRange);
|
||||
$timeline->setSession($this->getWindowSession('timeline', $this->getRequest()->getParam('extend') != 1));
|
||||
|
|
|
@ -44,9 +44,10 @@ $extrapolatedCircleWidth = $timeline->getExtrapolatedCircleWidth($timeInfo[1][$g
|
|||
<?php if ($firstRow && $extrapolatedCircleWidth !== $circleWidth): ?>
|
||||
<?php
|
||||
$inlineStyle = sprintf(
|
||||
'width: %3$s; height: %3$s; background-color: %1$s; margin-top: -%2$s; margin-left: -%2$s;',
|
||||
Color::changeBrightness($timeInfo[1][$groupName]->getColor(), 0.25),
|
||||
'width: %4$s; height: %4$s; margin-top: -%2$s; margin-left: -%2$s; border-color: %3$s; background-color: %1$s;',
|
||||
Color::changeBrightness($timeInfo[1][$groupName]->getColor(), 0.7),
|
||||
((float) substr($extrapolatedCircleWidth, 0, -2) / 2) . 'em',
|
||||
$timeInfo[1][$groupName]->getColor(),
|
||||
$extrapolatedCircleWidth
|
||||
);
|
||||
?>
|
||||
|
|
|
@ -664,6 +664,7 @@ table.timeline {
|
|||
clear: left;
|
||||
|
||||
th {
|
||||
width: 8em;
|
||||
padding-right: 1.5em;
|
||||
|
||||
a {
|
||||
|
@ -694,11 +695,13 @@ table.timeline {
|
|||
&.extrapolated {
|
||||
// width: inline-style;
|
||||
// height: inline-style;
|
||||
top: 49%; // Compensate border
|
||||
left: 49%; // Compensate border
|
||||
top: 48%; // Compensate border
|
||||
left: 48%; // Compensate border
|
||||
// margin-top: inline-style;
|
||||
// margin-left: inline-style;
|
||||
border: 1px dashed #666;
|
||||
border-width: 2px;
|
||||
border-style: dotted;
|
||||
//border-color: inline-style;
|
||||
border-radius: 100%;
|
||||
// background-color: inline-style;
|
||||
}
|
||||
|
@ -708,11 +711,10 @@ table.timeline {
|
|||
// height: inline-style;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 49%; // Compensate border
|
||||
left: 49%; // Compensate border
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
// margin-top: inline-style;
|
||||
// margin-left: inline-style;
|
||||
border: 1px solid black;
|
||||
border-radius: 100%;
|
||||
// background-color: inline-style;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue