Further timeline refinements.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1496 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-10-02 18:33:38 +00:00
parent 161282b74c
commit 7b72d64dd0
3 changed files with 13 additions and 5 deletions

View File

@ -180,7 +180,7 @@ $jws = array(
'settings' => array( 'w'=>200, 'h'=>225 ), 'settings' => array( 'w'=>200, 'h'=>225 ),
'state' => array( 'w'=>300, 'h'=>120 ), 'state' => array( 'w'=>300, 'h'=>120 ),
'stats' => array( 'w'=>680, 'h'=>200 ), 'stats' => array( 'w'=>680, 'h'=>200 ),
'timeline' => array( 'w'=>720, 'h'=>480 ), 'timeline' => array( 'w'=>760, 'h'=>500 ),
'user' => array( 'w'=>280, 'h'=>340 ), 'user' => array( 'w'=>280, 'h'=>340 ),
'version' => array( 'w'=>320, 'h'=>140 ), 'version' => array( 'w'=>320, 'h'=>140 ),
'video' => array( 'w'=>100, 'h'=>80 ), 'video' => array( 'w'=>100, 'h'=>80 ),

View File

@ -246,8 +246,8 @@ function viewEvents( form, name )
if ( $pages <= 1 ) if ( $pages <= 1 )
{ {
?> ?>
<td align="center" class="text" width="60%">&nbsp;</td> <td align="center" class="text" width="40%">&nbsp;</td>
<td align="center" class="text" width="10%">&nbsp;</td> <td align="center" class="text" width="25%">&nbsp;</td>
<?php <?php
} }
else else
@ -256,7 +256,7 @@ function viewEvents( form, name )
{ {
$max_shortcuts = 5; $max_shortcuts = 5;
?> ?>
<td align="center" class="text" width="34%"> <td align="center" class="text" width="40%">
<?php <?php
if ( $page < 0 ) if ( $page < 0 )
$page = 1; $page = 1;
@ -325,7 +325,7 @@ function viewEvents( form, name )
} }
?> ?>
</td> </td>
<td align="right" class="text" width="10%"><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=0<?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>"><?= $zmSlangViewAll ?></a></td> <td align="right" class="text" width="25%"><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=0<?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>"><?= $zmSlangViewAll ?></a></td>
<?php <?php
} }
else else

View File

@ -755,6 +755,13 @@ function loadEventImage( image_path, image_label, image_link, image_width, image
font-weight: bold; font-weight: bold;
line-height: 20px line-height: 20px
} }
#ChartBox #Close {
position: absolute;
top: 5px;
right: 20px;
margin: auto;
height: 15;
}
#ChartBox #TopPanel { #ChartBox #TopPanel {
position: relative; position: relative;
height: 220px; height: 220px;
@ -1097,6 +1104,7 @@ div.zoom {
<body> <body>
<div id="ChartBox"> <div id="ChartBox">
<div id="Title">Event Navigator</div> <div id="Title">Event Navigator</div>
<div id="Close" class="text"><a href="javascript: closeWindow();"><?= $zmSlangClose ?></a></div>
<div id="TopPanel"> <div id="TopPanel">
<div id="ImageNav"> <div id="ImageNav">
<div id="Image"><img id="ImageSrc" src="graphics/spacer.gif" height="<?= $chart['image']['height'] ?>"/></div> <div id="Image"><img id="ImageSrc" src="graphics/spacer.gif" height="<?= $chart['image']['height'] ?>"/></div>