Added the ability to raise/lower hand.
This commit is contained in:
parent
d14c10bf42
commit
1a102ee864
@ -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;
|
||||
|
@ -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'))
|
||||
|
@ -6,6 +6,11 @@
|
||||
<div id="whiteboard-container" class="{{whiteboardSize}}">
|
||||
<div id="whiteboard-paper">
|
||||
</div>
|
||||
{{#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}}
|
||||
|
Loading…
Reference in New Issue
Block a user