Eliminated bighead and smallhead classes

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2561 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2008-07-16 13:32:37 +00:00
parent 9e90f0971a
commit 1041bbc036
2 changed files with 14 additions and 8 deletions

View File

@ -51,6 +51,12 @@ h3 {
font-weight: bold; font-weight: bold;
} }
h4 {
font-family: inherit;
font-size: 10px;
color: #016A9D;
}
p { p {
font-family: inherit; font-family: inherit;
font-size: 10px; font-size: 10px;

View File

@ -183,20 +183,20 @@ xhtmlHeaders( __FILE__, $SLANG['Console'] );
<input type="hidden" name="view" value="<?= $_REQUEST['view'] ?>"/> <input type="hidden" name="view" value="<?= $_REQUEST['view'] ?>"/>
<input type="hidden" name="action" value=""/> <input type="hidden" name="action" value=""/>
<div id="header"> <div id="header">
<div id="systemTime" class="smallhead"><?= preg_match( '/%/', DATE_FMT_CONSOLE_LONG )?strftime( DATE_FMT_CONSOLE_LONG ):date( DATE_FMT_CONSOLE_LONG ) ?></div> <h3 id="systemTime"><?= preg_match( '/%/', DATE_FMT_CONSOLE_LONG )?strftime( DATE_FMT_CONSOLE_LONG ):date( DATE_FMT_CONSOLE_LONG ) ?></h3>
<div id="systemStats" class="smallhead"><?= $SLANG['Load'] ?>: <?= getLoad() ?> / <?= $SLANG['Disk'] ?>: <?= getDiskPercent() ?>%</div> <h3 id="systemStats"><?= $SLANG['Load'] ?>: <?= getLoad() ?> / <?= $SLANG['Disk'] ?>: <?= getDiskPercent() ?>%</h3>
<div id="title" class="bighead"><a href="http://www.zoneminder.com" target="ZoneMinder">ZoneMinder</a> <?= $SLANG['Console'] ?> - <?= makePopupLink( '?view=state', 'zmState', 'state', $status, canEdit( 'System' ) ) ?> - <?= makePopupLink( '?view=version', 'zmVersion', 'version', "v".ZM_VERSION, canEdit( 'System' ) ) ?></div> <h2 id="title"><a href="http://www.zoneminder.com" target="ZoneMinder">ZoneMinder</a> <?= $SLANG['Console'] ?> - <?= makePopupLink( '?view=state', 'zmState', 'state', $status, canEdit( 'System' ) ) ?> - <?= makePopupLink( '?view=version', 'zmVersion', 'version', "v".ZM_VERSION, canEdit( 'System' ) ) ?></h2>
<div class="clear"></div> <div class="clear"></div>
<div id="monitorSummary" class="smallhead"><?= makePopupLink( '?view=groups', 'zmGroups', 'groups', sprintf( $CLANG['MonitorCount'], count($monitors), zmVlang( $VLANG['Monitor'], count($monitors) ) ).($group?' ('.$group['Name'].')':''), canView( 'System' ) ); ?></div> <div id="monitorSummary"><?= makePopupLink( '?view=groups', 'zmGroups', 'groups', sprintf( $CLANG['MonitorCount'], count($monitors), zmVlang( $VLANG['Monitor'], count($monitors) ) ).($group?' ('.$group['Name'].')':''), canView( 'System' ) ); ?></div>
<?php <?php
if ( ZM_OPT_X10 && canView('Devices' ) ) if ( ZM_OPT_X10 && canView('Devices' ) )
{ {
?> ?>
<div id="devices" class="smallhead"><?= makePopupLink( '?view=devices', 'zmDevices', 'devices', $SLANG['Devices'] ) ?></div> <div id="devices"><?= makePopupLink( '?view=devices', 'zmDevices', 'devices', $SLANG['Devices'] ) ?></div>
<?php <?php
} }
?> ?>
<div id="options" class="smallhead"><?= makePopupLink( '?view=options', 'zmOptions', 'options', $SLANG['Options'] ) ?></div> <div id="options"><?= makePopupLink( '?view=options', 'zmOptions', 'options', $SLANG['Options'] ) ?></div>
<?php <?php
if ( canView( 'Stream' ) && $cycleCount > 1 ) if ( canView( 'Stream' ) && $cycleCount > 1 )
{ {
@ -211,7 +211,7 @@ else
<?php <?php
} }
?> ?>
<div id="loginBandwidth" class="smallhead"><?php <h4 id="loginBandwidth"><?php
if ( ZM_OPT_USE_AUTH ) if ( ZM_OPT_USE_AUTH )
{ {
?><?= $SLANG['LoggedInAs'] ?> <?= makePopupLink( '?view=logout', 'zmLogout', 'logout', $user['Username'], (ZM_AUTH_TYPE == "builtin") ) ?>, <?= strtolower( $SLANG['ConfiguredFor'] ) ?><?php ?><?= $SLANG['LoggedInAs'] ?> <?= makePopupLink( '?view=logout', 'zmLogout', 'logout', $user['Username'], (ZM_AUTH_TYPE == "builtin") ) ?>, <?= strtolower( $SLANG['ConfiguredFor'] ) ?><?php
@ -220,7 +220,7 @@ else
{ {
?><?= $SLANG['ConfiguredFor'] ?><?php ?><?= $SLANG['ConfiguredFor'] ?><?php
} }
?>&nbsp;<?= makePopupLink( '?view=bandwidth', 'zmBandwidth', 'bandwidth', $bwArray[$_COOKIE['zmBandwidth']], ($user && $user['MaxBandwidth'] != 'low' ) ) ?> <?= $SLANG['Bandwidth'] ?></div> ?>&nbsp;<?= makePopupLink( '?view=bandwidth', 'zmBandwidth', 'bandwidth', $bwArray[$_COOKIE['zmBandwidth']], ($user && $user['MaxBandwidth'] != 'low' ) ) ?> <?= $SLANG['Bandwidth'] ?></h4>
</div> </div>
<div id="content"> <div id="content">
<table id="consoleTable" cellspacing="0"> <table id="consoleTable" cellspacing="0">