Changed triggered monitors to be italicised.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@647 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-10-08 14:48:35 +00:00
parent 7138ec829d
commit 973bbf45de
2 changed files with 28 additions and 13 deletions

View File

@ -207,10 +207,6 @@ window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", <?= ($start||$
{ {
$fclass = "redtext"; $fclass = "redtext";
} }
elseif ( $monitor['RunMode'] == 'Triggered' )
{
$fclass = "blutext";
}
elseif ( $monitor['Function'] == 'Monitor' ) elseif ( $monitor['Function'] == 'Monitor' )
{ {
$fclass = "ambtext"; $fclass = "ambtext";
@ -219,6 +215,10 @@ window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", <?= ($start||$
{ {
$fclass = "gretext"; $fclass = "gretext";
} }
if ( $monitor['RunMode'] == 'Triggered' )
{
$fclass .= "em";
}
?> ?>
<td align="left" class="text"><?= makeLink( "javascript: newWindow( '$PHP_SELF?view=watch&mid=$monitor[Id]', 'zmWatch$monitor[Name]', ".($monitor[Width]+$jws['watch']['w']).", ".($monitor[Height]+$jws['watch']['h'])." );", $monitor[Name], canView( 'Stream' ) ) ?></td> <td align="left" class="text"><?= makeLink( "javascript: newWindow( '$PHP_SELF?view=watch&mid=$monitor[Id]', 'zmWatch$monitor[Name]', ".($monitor[Width]+$jws['watch']['w']).", ".($monitor[Height]+$jws['watch']['h'])." );", $monitor[Name], canView( 'Stream' ) ) ?></td>
<td align="left" class="text"><?= makeLink( "javascript: newWindow( '$PHP_SELF?view=function&mid=$monitor[Id]', 'zmFunction', ".$jws['function']['w'].", ".$jws['function']['h']." );", "<span class=\"$fclass\">$monitor[Function]</span>", canEdit( 'Monitors' ) ) ?></td> <td align="left" class="text"><?= makeLink( "javascript: newWindow( '$PHP_SELF?view=function&mid=$monitor[Id]', 'zmFunction', ".$jws['function']['w'].", ".$jws['function']['h']." );", "<span class=\"$fclass\">$monitor[Function]</span>", canEdit( 'Monitors' ) ) ?></td>

View File

@ -27,25 +27,40 @@
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px; font-size:10px;
color: #DC143C; color: #DC143C;
font-weight: bold font-weight: bold;
} }
.ambtext { .ambtext {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px; font-size:10px;
color: #FF8C00; color: #FF8C00;
font-weight: bold font-weight: bold;
}
.blutext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color: #48D1CC;
font-weight: bold
} }
.gretext { .gretext {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px; font-size:10px;
color: #688E23; color: #688E23;
font-weight: bold font-weight: bold;
}
.redtextem {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color: #DC143C;
font-weight: bold;
font-style: italic;
}
.ambtextem {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color: #FF8C00;
font-weight: bold;
font-style: italic;
}
.gretextem {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color: #688E23;
font-weight: bold;
font-style: italic;
} }
.smallhead { .smallhead {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;