author | Chloe Laisne <chloe.laisne@gmail.com> |
Sun, 02 Oct 2016 21:38:09 +0200 | |
changeset 316 | fb11295ef666 |
parent 315 | e3217b6adea3 |
child 333 | 400719e1e9a8 |
permissions | -rw-r--r-- |
242 | 1 |
{{player-component action="changeDocument" 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 |
|
228
a2497a2b6224
Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
227
diff
changeset
|
5 |
{{#if notice}} |
a2497a2b6224
Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
227
diff
changeset
|
6 |
<div class="corpus-app-modal"> |
a2497a2b6224
Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
227
diff
changeset
|
7 |
{{ notice-component class="overlay" model=noticeModel }} |
a2497a2b6224
Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
227
diff
changeset
|
8 |
</div> |
a2497a2b6224
Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
227
diff
changeset
|
9 |
{{/if}} |
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
10 |
|
246
5b7ae96768be
Bsic transcript-component design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
242
diff
changeset
|
11 |
<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
|
12 |
{{#if player.window}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
13 |
{{#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
|
14 |
{{ notice-component }} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
15 |
{{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
|
16 |
{{ transcript-component }} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
17 |
{{/if}} |
218
38e1a1446319
Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
217
diff
changeset
|
18 |
{{else}} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
19 |
{{ outlet }} |
218
38e1a1446319
Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents:
217
diff
changeset
|
20 |
{{/if}} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
21 |
</div> |
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
22 |
{{#if player.window}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
23 |
{{toolbar-component}} |
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
24 |
{{/if}} |
196 | 25 |
|
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
26 |
<div class="corpus-app-wrapper"> |
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
27 |
{{ filter-component }} |
227
5c9250f55f4b
Basic notice logic from query parameters
Chloe Laisne <chloe.laisne@gmail.com>
parents:
218
diff
changeset
|
28 |
{{ playlist-component notice=notice model=model }} |
217
989b9c36b849
Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents:
200
diff
changeset
|
29 |
</div> |
196 | 30 |
|
315
e3217b6adea3
Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents:
255
diff
changeset
|
31 |
</div> |