2014-06-24 03:51:54 +08:00
|
|
|
<template name="whiteboard">
|
2015-07-15 06:42:24 +08:00
|
|
|
<div id="{{id}}" {{visibility name}} class="component">
|
2015-05-19 23:35:12 +08:00
|
|
|
{{#each getCurrentSlide}}
|
|
|
|
{{> slide}}
|
|
|
|
{{/each}}
|
2015-05-28 01:29:59 +08:00
|
|
|
<div id="whiteboard-container" class="{{whiteboardSize}}">
|
2015-05-19 23:35:12 +08:00
|
|
|
<div id="whiteboard-paper">
|
|
|
|
</div>
|
2015-06-11 02:45:11 +08:00
|
|
|
{{#if isCurrentUserRaisingHand}}
|
2015-06-11 03:10:06 +08:00
|
|
|
{{> makeButton btn_class="lowerHand soaringButton raiseHandButton" i_class="ion-android-hand"}}
|
2015-06-11 02:45:11 +08:00
|
|
|
{{else}}
|
2015-06-11 03:10:06 +08:00
|
|
|
{{> makeButton btn_class="raiseHand soaringButton raiseHandButton" i_class="ion-android-hand"}}
|
2015-06-11 02:45:11 +08:00
|
|
|
{{/if}}
|
2015-06-04 05:26:52 +08:00
|
|
|
{{#if isMobile}}
|
2015-06-11 03:10:06 +08:00
|
|
|
{{> makeButton btn_class="soaringButton fullscreenButton whiteboardFullscreenButton" i_class="ion-arrow-expand"}}
|
2015-06-04 05:26:52 +08:00
|
|
|
{{/if}}
|
2015-02-24 04:56:10 +08:00
|
|
|
</div>
|
2015-07-21 09:23:42 +08:00
|
|
|
{{#if isPollStarted}}
|
2015-09-09 07:57:39 +08:00
|
|
|
{{> polling}}
|
2015-07-21 09:23:42 +08:00
|
|
|
{{/if}}
|
2015-05-26 05:36:43 +08:00
|
|
|
{{#if isCurrentUserPresenter}}
|
2015-09-09 07:57:39 +08:00
|
|
|
{{> presenterBottomControllers}}
|
2015-05-26 05:36:43 +08:00
|
|
|
{{/if}}
|
2015-05-19 23:35:12 +08:00
|
|
|
</div>
|
2014-06-24 03:51:54 +08:00
|
|
|
</template>
|
2015-09-09 07:57:39 +08:00
|
|
|
|
|
|
|
<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>
|