Cleanup events view header
This commit is contained in:
parent
9d5447aa6a
commit
e34b8abaca
|
@ -44,3 +44,13 @@
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header h2, #header div {
|
||||||
|
line-height: 1.1;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
|
@ -44,3 +44,13 @@
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header h2, #header div {
|
||||||
|
line-height: 1.1;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
|
@ -44,3 +44,13 @@
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header h2, #header div {
|
||||||
|
line-height: 1.1;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
|
@ -96,6 +96,14 @@ xhtmlHeaders(__FILE__, translate('Events') );
|
||||||
<body>
|
<body>
|
||||||
<div id="page">
|
<div id="page">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
<h2><?php echo sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2>
|
||||||
|
<?php
|
||||||
|
if ( $pagination ) {
|
||||||
|
?>
|
||||||
|
<h2 class="pagination"><?php echo $pagination ?></h3>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div id="headerButtons">
|
<div id="headerButtons">
|
||||||
<?php
|
<?php
|
||||||
if ( $pages > 1 ) {
|
if ( $pages > 1 ) {
|
||||||
|
@ -112,7 +120,6 @@ if ( $pages > 1 ) {
|
||||||
?>
|
?>
|
||||||
<a href="#" onclick="closeWindows();"><?php echo translate('Close') ?></a>
|
<a href="#" onclick="closeWindows();"><?php echo translate('Close') ?></a>
|
||||||
</div>
|
</div>
|
||||||
<h2><?php echo sprintf( $CLANG['EventCount'], $nEvents, zmVlang( $VLANG['Event'], $nEvents ) ) ?></h2>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<form name="contentForm" id="contentForm" method="post" action="">
|
<form name="contentForm" id="contentForm" method="post" action="">
|
||||||
|
@ -123,13 +130,6 @@ if ( $pages > 1 ) {
|
||||||
<input type="hidden" name="sort_field" value="<?php echo validHtmlStr($_REQUEST['sort_field']) ?>"/>
|
<input type="hidden" name="sort_field" value="<?php echo validHtmlStr($_REQUEST['sort_field']) ?>"/>
|
||||||
<input type="hidden" name="sort_asc" value="<?php echo validHtmlStr($_REQUEST['sort_asc']) ?>"/>
|
<input type="hidden" name="sort_asc" value="<?php echo validHtmlStr($_REQUEST['sort_asc']) ?>"/>
|
||||||
<input type="hidden" name="limit" value="<?php echo $limit ?>"/>
|
<input type="hidden" name="limit" value="<?php echo $limit ?>"/>
|
||||||
<?php
|
|
||||||
if ( $pagination ) {
|
|
||||||
?>
|
|
||||||
<h3 class="pagination"><?php echo $pagination ?></h3>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<p id="controls">
|
<p id="controls">
|
||||||
<a id="refreshLink" href="#" onclick="location.reload(true);"><?php echo translate('Refresh') ?></a>
|
<a id="refreshLink" href="#" onclick="location.reload(true);"><?php echo translate('Refresh') ?></a>
|
||||||
<a id="filterLink" href="#" onclick="createPopup( '?view=filter&page=<?php echo $page ?><?php echo $filterQuery ?>', 'zmFilter', 'filter' );"><?php echo translate('ShowFilterWindow') ?></a>
|
<a id="filterLink" href="#" onclick="createPopup( '?view=filter&page=<?php echo $page ?><?php echo $filterQuery ?>', 'zmFilter', 'filter' );"><?php echo translate('ShowFilterWindow') ?></a>
|
||||||
|
|
Loading…
Reference in New Issue