From e9cef72d9fac61b507845c75627495583795a27f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 27 Aug 2020 12:44:56 -0400 Subject: [PATCH 01/12] Use ViewWdith/ViewHeight to get rotated dimensions when calculating thumbnail size --- web/skins/classic/views/console.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 0a8ce2905..20be7eeeb 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -286,10 +286,10 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) { $imgHTML=''; if ( ZM_WEB_LIST_THUMBS && ($monitor['Status'] == 'Connected') && $running ) { $options = array(); - $ratio_factor = $Monitor->Height() / $Monitor->Width(); + $ratio_factor = $Monitor->ViewHeight() / $Monitor->ViewWidth(); $options['width'] = ZM_WEB_LIST_THUMB_WIDTH; $options['height'] = ZM_WEB_LIST_THUMB_HEIGHT ? ZM_WEB_LIST_THUMB_HEIGHT : ZM_WEB_LIST_THUMB_WIDTH*$ratio_factor; - $options['scale'] = intval(100*ZM_WEB_LIST_THUMB_WIDTH / $Monitor->Width()); + $options['scale'] = intval(100*ZM_WEB_LIST_THUMB_WIDTH / $Monitor->ViewWidth()); $options['mode'] = 'single'; $stillSrc = $Monitor->getStreamSrc($options); From 948836ed969d6c10ffe8266734988a8c6ca34b9f Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 27 Aug 2020 14:58:21 -0500 Subject: [PATCH 02/12] enable jump-to feature on frames --- web/skins/classic/views/frames.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/frames.php b/web/skins/classic/views/frames.php index ba1a3a229..3a6791f91 100644 --- a/web/skins/classic/views/frames.php +++ b/web/skins/classic/views/frames.php @@ -142,6 +142,7 @@ xhtmlHeaders(__FILE__, translate('Frames').' - '.$Event->Id()); data-detail-view="true" data-detail-formatter="detailFormatter" data-show-toggle="true" + data-show-jump-to="true" class="table-sm table-borderless"> From 1f5f964ae385b11856a9c6052b855fffa073b78c Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 27 Aug 2020 15:53:24 -0500 Subject: [PATCH 03/12] add navbar to monitor view --- web/skins/classic/views/monitor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index aa54fa926..e5572cf4f 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -381,6 +381,7 @@ $codecs = array( xhtmlHeaders(__FILE__, translate('Monitor').' - '.validHtmlStr($monitor->Name())); getBodyTopHTML(); +echo getNavBarHTML(); ?>