diff sat_templates/templates/bulma/call/call.html @ 400:140690a18b63

call: group call design: Design for group call (which is used for both group call and A/V conferences) has been improved to: - have a working fullscreen button; - have a better display of peer users in grid, with responsive design; - have a nicer design for peer user, and adding avatar/nickname as overlay on the bottom of the video stream; - add a way to (un)pin a peer user, which make is appear on the whole width on top of the grid. rel 448 HG<S-Insert>: changed sat_templates/templates/bulma/call/group_peer.html
author Goffi <goffi@goffi.org>
date Tue, 06 Aug 2024 23:50:17 +0200
parents 9847e6dbeefa
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/call/call.html	Thu Jun 06 15:22:22 2024 +0200
+++ b/sat_templates/templates/bulma/call/call.html	Tue Aug 06 23:50:17 2024 +0200
@@ -129,29 +129,26 @@
 
 
     {# Group Calls #}
-
     <div class="is-hidden is-flex is-flex-direction-column" id="group_call_container">
-        <!-- Status Bar (Header) with Fullscreen Button on the Right -->
-        <div class="columns">
+        <div class="columns is-mobile is-vcentered mb-0">
             <div class="column is-11" id="group_call_status_wrapper"></div>
             <div class="column">
-                <div class="buttons has-addons is-right">
-                    <button class="button is-light" id="group_full_screen_btn">
-                        {{ icon('resize-full', cls='image is-24x24 is-inline-block') }}
-                    </button>
-                </div>
+                <button class="button is-light" id="group_full_screen_btn" aria-label="{{ _('Enter full screen') }}">
+                    {{ icon('resize-full', cls='image is-24x24 is-inline-block') }}
+                </button>
+                <button class="button is-light is-hidden" id="group_exit_full_screen_btn" aria-label="{{ _('Exit full screen') }}">
+                    {{ icon('resize-small', cls='image is-24x24 is-inline-block') }}
+                </button>
             </div>
         </div>
 
-        <!-- Peer Video Grid - Adjusted for dynamic resizing -->
-        <div class="columns is-multiline mt-3 is-flex-grow-1 is-variable is-0" id="group_video_grid" style="flex-wrap: wrap;">
+        <div class="columns is-multiline mt-3 is-flex-grow-1 is-variable is-1" id="group_video_grid">
             <!-- Peer templates dynamically loaded here -->
         </div>
 
-        <!-- Call Control for Hangup -->
-        <div class="group-call-controls columns is-centered is-mobile">
+        <div class="group-call-controls columns is-centered is-mobile mt-3">
             <div class="column is-narrow">
-                <button class="button is-danger is-rotated-135" id="group_hangup_btn">
+                <button class="button is-danger is-rotated-135" id="group_hangup_btn" aria-label="{{ _('Hang up') }}">
                     {{ icon('phone', cls='image is-24x24 is-inline-block') }}
                 </button>
             </div>