zoneminder/web/skins/classic/css/base/views/timeline.css.php

78 lines
1.6 KiB
PHP
Raw Normal View History

2014-01-22 22:24:06 +08:00
.chartSize {
width: <?php echo $chart['width'] ?>px;
height: <?php echo $chart['height'] ?>px;
2014-01-22 22:24:06 +08:00
}
.graphSize {
width: <?php echo $chart['graph']['width'] ?>px;
height: <?php echo $chart['graph']['height'] ?>px;
2014-01-22 22:24:06 +08:00
}
.graphHeight {
height: <?php echo $chart['graph']['height'] ?>px;
2014-01-22 22:24:06 +08:00
}
.graphWidth {
width: <?php echo $chart['graph']['width'] ?>px;
2014-01-22 22:24:06 +08:00
}
.imageSize {
width: <?php echo $chart['image']['width'] ?>px;
height: <?php echo $chart['image']['height'] ?>px;
2014-01-22 22:24:06 +08:00
}
.imageHeight {
height: <?php echo $chart['image']['height'] ?>px;
2014-01-22 22:24:06 +08:00
}
.activitySize {
width: <?php echo $chart['graph']['width'] ?>px;
height: <?php echo $chart['graph']['activityHeight'] ?>px;
2014-01-22 22:24:06 +08:00
}
.eventsSize {
width: <?php echo $chart['graph']['width'] ?>px;
height: <?php echo $chart['graph']['eventBarHeight'] ?>px;
2014-01-22 22:24:06 +08:00
}
.eventsHeight {
height: <?php echo $chart['graph']['eventBarHeight'] ?>px;
2014-01-22 22:24:06 +08:00
}
<?php
if ( $mode == "overlay" )
{
foreach ( array_keys($monitorIds) as $monitorId )
{
?>
#chartPanel .eventsPos<?php echo $monitorId ?> {
top: <?php echo $chart['eventBars'][$monitorId]['top'] ?>px;
2014-01-22 22:24:06 +08:00
}
<?php
}
}
elseif ( $mode == "split" )
{
foreach ( array_keys($monitorIds) as $monitorId )
{
?>
#chartPanel .activityPos<?php echo $monitorId ?> {
top: <?php echo $char['activityBars'][$monitorId]['top'] ?>px;
2014-01-22 22:24:06 +08:00
}
#chartPanel .eventsPos<?php echo $monitorId ?> {
top: <?php echo $char['eventBars'][$monitorId]['top'] ?>px;
2014-01-22 22:24:06 +08:00
}
<?php
}
}
foreach( array_keys($monEventSlots) as $monitorId )
{
?>
.monitorColour<?php echo $monitorId ?> {
background-color: <?php echo $monitors[$monitorId]['WebColour'] ?>;
2014-01-22 22:24:06 +08:00
}
<?php
}
?>