mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-31 12:13:04 -04:00
Make controls scrollable when sticky navbar
This commit is contained in:
@@ -7,3 +7,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#controls {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -28,9 +28,9 @@ $controls = dbFetchAll('SELECT * FROM Controls ORDER BY Name');
|
||||
$focusWindow = true;
|
||||
|
||||
xhtmlHeaders(__FILE__, translate('ControlCaps'));
|
||||
getBodyTopHTML();
|
||||
echo getNavBarHTML();
|
||||
?>
|
||||
<body>
|
||||
<?php echo getNavBarHTML() ?>
|
||||
<div id="page">
|
||||
|
||||
<!-- Toolbar button placement and styling handled by bootstrap-tables -->
|
||||
@@ -43,6 +43,7 @@ xhtmlHeaders(__FILE__, translate('ControlCaps'));
|
||||
</div>
|
||||
|
||||
<div id="content" class="table-responsive-sm">
|
||||
<div id="controls">
|
||||
<table
|
||||
id="controlTable"
|
||||
data-locale="<?php echo i18n() ?>"
|
||||
@@ -95,6 +96,7 @@ foreach( $controls as $control ) {
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!--controls-->
|
||||
</div>
|
||||
</div>
|
||||
<?php xhtmlFooter() ?>
|
||||
|
||||
Reference in New Issue
Block a user