Add header to main views

This commit is contained in:
Kyle Johnson 2014-11-02 00:47:14 +00:00
parent 79e41dbb1b
commit 1436414ddc
5 changed files with 19 additions and 25 deletions

View File

@ -90,6 +90,9 @@ $focusWindow = true;
xhtmlHeaders(__FILE__, $SLANG['CycleWatch'] );
?>
<body>
<?php include("header.php"); ?>
<div id="page">
<div id="header">
<div id="headerButtons">
@ -98,9 +101,7 @@ xhtmlHeaders(__FILE__, $SLANG['CycleWatch'] );
<?php } else { ?>
<a href="?view=<?= $view ?>&amp;mode=stream&amp;group=<?= $group ?>&amp;mid=<?= $monitor['Id'] ?>"><?= $SLANG['Stream'] ?></a>
<?php } ?>
<a href="#" onclick="closeWindow(); return( false );"><?= $SLANG['Close'] ?></a>
</div>
<h2><?= $SLANG['Cycle'] ?> - <?= validHtmlStr($monitor['Name']) ?></h2>
</div>
<div id="content">
<div id="imageFeed">

View File

@ -137,13 +137,10 @@ $focusWindow = true;
xhtmlHeaders(__FILE__, $SLANG['EventFilter'] );
?>
<body>
<div id="page">
<div id="header">
<div id="headerButtons">
<a href="#" onclick="closeWindow();"><?= $SLANG['Close'] ?></a>
</div>
<h2><?= $SLANG['EventFilter'] ?></h2>
</div>
<?php include("header.php"); ?>
<div class="container-fluid">
<div id="content">
<form name="contentForm" id="contentForm" method="get" action="<?= $_SERVER['PHP_SELF'] ?>">
<input type="hidden" name="view" value="filter"/>

View File

@ -44,10 +44,10 @@ foreach( dbFetchAll( $sql ) as $row )
xhtmlHeaders(__FILE__, $SLANG['Groups'] );
?>
<body>
<?php include("header.php"); ?>
<div id="page">
<div id="header">
<h2><?= $SLANG['Groups'] ?></h2>
</div>
<div id="content">
<form name="groupsForm" method="get" action="<?= $_SERVER['PHP_SELF'] ?>">
<input type="hidden" name="view" value="none"/>

View File

@ -83,20 +83,16 @@ if ( isset($_COOKIE['zmMontageLayout']) )
xhtmlHeaders(__FILE__, $SLANG['Montage'] );
?>
<body>
<?php include("header.php"); ?>
<div id="page">
<div id="header">
<div id="headerButtons">
<?php
if ( $showControl )
{
?>
<?php if ( $showControl ) ?>
<a href="#" onclick="createPopup( '?view=control', 'zmControl', 'control' )"><?= $SLANG['Control'] ?></a>
<?php
}
?>
<a href="#" onclick="closeWindow()"><?= $SLANG['Close'] ?></a>
<?php ?>
</div>
<h2><?= $SLANG['Montage'] ?></h2>
<div id="headerControl">
<span id="scaleControl"><?= $SLANG['Scale'] ?>: <?= buildSelect( "scale", $scales, "changeScale( this );" ); ?></span>
<label for="layout"><?= $SLANG['Layout'] ?>:</label><?= buildSelect( "layout", $layouts, 'selectLayout( this )' )?>

View File

@ -55,10 +55,10 @@ $focusWindow = true;
xhtmlHeaders( __FILE__, $SLANG['Options'] );
?>
<body>
<div id="page">
<div id="header">
<h2><?= $SLANG['Options'] ?></h2>
</div>
<?php include("header.php"); ?>
<div class="container-fluid">
<div id="content">
<ul class="tabList">
<?php