-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCurrentGameControls.html
34 lines (29 loc) · 1.72 KB
/
CurrentGameControls.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
<require from="./CurrentGameControls.css"></require>
<require from="./InProcessIndicator"></require>
<div>
<div class="current-game-controls-container" >
<div class="current-game-controls-container-child">
<div class="current-game-controls-time">
<span>Time Elapsed: </span><span >${hours_minutes_seconds}</span>
</div>
</div>
<div class="current-game-controls-container-child">
<div if.bind="request_in_progress_count === 0" >
<div if.bind="!answers_panel_is_open" >
<button class="current-game-controls-button" type="button" title="or ENTER" click.delegate="userRequestedCheckAnswer()" >Score Word</button>
<button class="current-game-controls-button" type="button" click.delegate="userRequestedHint()" >Get a Hint</button>
<button class="current-game-controls-button" type="button" title="reset text, also by ESC key" class="reset-icon" click.delegate="resetText()" >🔄</button>
<button class="current-game-controls-button" type="button" click.delegate="showAnswersPanel()" >Show Scores...</button>
</div>
<div if.bind="answers_panel_is_open" >
<button class="current-game-controls-button" type="button" click.delegate="hideAnswersPanel()" >Back to word entry...</button>
</div>
</div>
<div if.bind="request_in_progress_count > 0" >
<in-process-indicator></in-process-indicator>
</div>
</div>
</div>
</div>
</template>