Merge pull request #2977 from roddone/fix_events_table_responsive
make events table (events view) responsive
This commit is contained in:
parent
a7b76dfe41
commit
9d6e0fc3af
|
@ -106,7 +106,7 @@ xhtmlHeaders(__FILE__, translate('Events') );
|
||||||
<?php
|
<?php
|
||||||
if ( $pagination ) {
|
if ( $pagination ) {
|
||||||
?>
|
?>
|
||||||
<h2 class="pagination"><?php echo $pagination ?></h2>
|
<h2 class="pagination hidden-xs"><?php echo $pagination ?></h2>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -138,6 +138,7 @@ 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 ?>"/>
|
||||||
|
<div class="table-responsive">
|
||||||
<table id="contentTable" class="major">
|
<table id="contentTable" class="major">
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
|
@ -299,6 +300,7 @@ while ( $event_row = dbFetchNext($results) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if ( $pagination ) {
|
if ( $pagination ) {
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue