diff --git a/bigbluebutton-html5/app/client/stylesheets/whiteboard.less b/bigbluebutton-html5/app/client/stylesheets/whiteboard.less index 938b262a4c..84fc219d4e 100755 --- a/bigbluebutton-html5/app/client/stylesheets/whiteboard.less +++ b/bigbluebutton-html5/app/client/stylesheets/whiteboard.less @@ -192,6 +192,28 @@ } } +.raiseHandButton { + position: absolute; + bottom: 0; + right: 0; + margin-bottom: 0; + padding: 0; + &, &:hover { + background-color: transparent; + } + i { + color: black; + } + @media @desktop-portrait, @landscape { + height: 50px; + width: 50px; + } + @media @mobile-portrait-with-keyboard, @mobile-portrait { + height: 100px; + width: 10%; + } +} + .exitFullscreenButton { position: absolute; top: 0; diff --git a/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee b/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee index a07c3cf596..7efadf877b 100755 --- a/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee +++ b/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.coffee @@ -40,3 +40,9 @@ Template.whiteboard.events document.mozCancelFullScreen() else if document.webkitExitFullscreen document.webkitExitFullscreen() + + 'click .raiseHand': (event) -> + BBB.raiseHand(BBB.getMeetingId(), getInSession('userId'), getInSession('userId'), getInSession('authToken')) + + 'click .lowerHand': (event) -> + BBB.lowerHand(BBB.getMeetingId(), getInSession('userId'), getInSession('userId'), getInSession('authToken')) diff --git a/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html b/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html index 8acdbb59b2..5999d80b12 100755 --- a/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html +++ b/bigbluebutton-html5/app/client/views/whiteboard/whiteboard.html @@ -6,6 +6,11 @@
+ {{#if isCurrentUserRaisingHand}} + {{> makeButton btn_class="lowerHand raiseHandButton" i_class="ion-android-hand"}} + {{else}} + {{> makeButton btn_class="raiseHand raiseHandButton" i_class="ion-android-hand"}} + {{/if}} {{#if isMobile}} {{> makeButton btn_class="fullscreenButton whiteboardFullscreenButton" i_class="ion-arrow-expand"}} {{/if}}