author | ymh <ymh.work@gmail.com> |
Tue, 20 Mar 2018 15:02:24 +0100 | |
changeset 572 | 190ae1dee68d |
parent 462 | ebd8269781fa |
permissions | -rw-r--r-- |
394
48458e099b05
make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
344
diff
changeset
|
1 |
{{player-component document=currentItem}} |
196 | 2 |
|
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
3 |
<div class="corpus-window"> |
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
4 |
|
246
5b7ae96768be
Bsic transcript-component design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
5 |
<div class="corpus-app-container{{if player.window ' window'}}"> |
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
6 |
{{#if player.window}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
7 |
{{#if (eq player.window 'notice')}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
8 |
{{ notice-component }} |
462 | 9 |
{{else if (if-and (eq player.window 'transcript') player.transcriptIframe)}} |
10 |
<div class="transcript-container"> |
|
11 |
<iframe class="transcript-iframe" src="{{player.transcript}}"></iframe> |
|
12 |
</div> |
|
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
13 |
{{else if (if-and (eq player.window 'transcript') player.transcript)}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
14 |
{{ transcript-component }} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
15 |
{{/if}} |
218
38e1a1446319
Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
217
diff
changeset
|
16 |
{{else}} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
17 |
{{ outlet }} |
218
38e1a1446319
Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
217
diff
changeset
|
18 |
{{/if}} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
19 |
</div> |
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
20 |
{{#if player.window}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
21 |
{{toolbar-component}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
22 |
{{/if}} |
196 | 23 |
|
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
24 |
<div class="corpus-app-wrapper"> |
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
25 |
{{ filter-component }} |
415 | 26 |
{{ playlist-component model=model page=page limit=limit pageAction='setPageQueryparams' isLoading=isLoading currentUrl=currentUrl }} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
27 |
</div> |
196 | 28 |
|
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
29 |
</div> |