cms/app-client/app/templates/application.hbs
author ymh <ymh.work@gmail.com>
Tue, 08 Nov 2016 01:22:56 +0100
changeset 394 48458e099b05
parent 344 70451a4dc9ae
child 404 0a5eef6ad2fe
permissions -rw-r--r--
make dynamic filters for all route and do some code pruning and cleaning
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
7550cb541901 Filter as a service
Chloe Laisne <chloe.laisne@gmail.com>
parents: 192
diff changeset
     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 }}
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
     9
        {{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
    10
            {{ transcript-component }}
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
    11
        {{/if}}
218
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    12
    {{else}}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    13
        {{ outlet }}
218
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    14
    {{/if}}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    15
    </div>
315
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
    16
    {{#if player.window}}
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
    17
    {{toolbar-component}}
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
    18
    {{/if}}
196
7550cb541901 Filter as a service
Chloe Laisne <chloe.laisne@gmail.com>
parents: 192
diff changeset
    19
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    20
    <div class="corpus-app-wrapper">
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    21
        {{ filter-component }}
394
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents: 344
diff changeset
    22
        {{ playlist-component model=model page=page limit=limit pageAction='setPageQueryparams' }}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    23
    </div>
196
7550cb541901 Filter as a service
Chloe Laisne <chloe.laisne@gmail.com>
parents: 192
diff changeset
    24
315
e3217b6adea3 Display footer toolbar only when transcript or notice is open
Chloe Laisne <chloe.laisne@gmail.com>
parents: 255
diff changeset
    25
</div>