45 lines
1.6 KiB
HTML
Executable File
45 lines
1.6 KiB
HTML
Executable File
<template name="whiteboard">
|
|
<div id="{{id}}" {{visibility name}} class="component">
|
|
{{#each getCurrentSlide}}
|
|
{{> slide}}
|
|
{{/each}}
|
|
<div id="whiteboard-container" class="{{whiteboardSize}}">
|
|
<div id="whiteboard-paper">
|
|
</div>
|
|
{{#if isCurrentUserRaisingHand}}
|
|
{{> makeButton btn_class="lowerHand soaringButton raiseHandButton" i_class="ion-android-hand"}}
|
|
{{else}}
|
|
{{> makeButton btn_class="raiseHand soaringButton raiseHandButton" i_class="ion-android-hand"}}
|
|
{{/if}}
|
|
{{#if isMobile}}
|
|
{{> makeButton btn_class="soaringButton fullscreenButton whiteboardFullscreenButton" i_class="ion-arrow-expand"}}
|
|
{{/if}}
|
|
</div>
|
|
{{#if isPollStarted}}
|
|
{{> polling}}
|
|
{{/if}}
|
|
{{#if isCurrentUserPresenter}}
|
|
{{> presenterBottomControllers}}
|
|
{{/if}}
|
|
</div>
|
|
</template>
|
|
|
|
<template name="presenterBottomControllers">
|
|
<div id="controllers">
|
|
<div id="switchSlideSection">
|
|
{{> makeButton btn_class="switchSlideButton previousSlide" i_class="ion-arrow-left-a" rel="tooltip" data_placement="top" title="Previous"}}
|
|
<span id="presentationProgress">
|
|
{{presentationProgress}}
|
|
</span>
|
|
{{> makeButton btn_class="switchSlideButton nextSlide" i_class="ion-arrow-right-a" rel="tooltip" data_placement="top" title="Next"}}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<template name="polling">
|
|
<div class="polling">
|
|
{{#each getPollQuestions}}
|
|
{{> makeButton btn_class="pollButtons" rel="tooltip" data_placement="top" label=key answer=id style=style }}
|
|
{{/each}}
|
|
</div>
|
|
</template> |