cms/app-client/app/templates/application.hbs
author Chloe Laisne <chloe.laisne@gmail.com>
Sun, 17 Jul 2016 22:17:24 +0200
changeset 242 523ca6e73353
parent 228 a2497a2b6224
child 246 5b7ae96768be
permissions -rw-r--r--
Add video player Hide/show video player from toolbar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
242
523ca6e73353 Add video player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 228
diff changeset
     1
{{player-component action="changeDocument" 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">
228
a2497a2b6224 Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents: 227
diff changeset
     4
    {{#if notice}}
a2497a2b6224 Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents: 227
diff changeset
     5
    <div class="corpus-app-modal">
a2497a2b6224 Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents: 227
diff changeset
     6
        {{ notice-component class="overlay" model=noticeModel }}
a2497a2b6224 Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents: 227
diff changeset
     7
    </div>
a2497a2b6224 Notice display logic and design
Chloe Laisne <chloe.laisne@gmail.com>
parents: 227
diff changeset
     8
    {{/if}}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
     9
    <div class="corpus-app-container">
218
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    10
    {{#if player.window}}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    11
        {{#if (eq player.window 'notice')}}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    12
            {{ notice-component }}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    13
        {{/if}}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    14
        {{#if (eq player.window 'transcript')}}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    15
            {{ transcript-component }}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    16
        {{/if}}
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    17
    {{else}}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    18
        {{ outlet }}
218
38e1a1446319 Player toolbar actions and display logic
Chloe Laisne <chloe.laisne@gmail.com>
parents: 217
diff changeset
    19
    {{/if}}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    20
    </div>
196
7550cb541901 Filter as a service
Chloe Laisne <chloe.laisne@gmail.com>
parents: 192
diff changeset
    21
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    22
    <div class="corpus-app-wrapper">
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    23
        {{ filter-component }}
227
5c9250f55f4b Basic notice logic from query parameters
Chloe Laisne <chloe.laisne@gmail.com>
parents: 218
diff changeset
    24
        {{ playlist-component notice=notice model=model }}
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    25
    </div>
196
7550cb541901 Filter as a service
Chloe Laisne <chloe.laisne@gmail.com>
parents: 192
diff changeset
    26
16
70e9a764d6d7 add all tabs corresponding to each visualization, update name and structure and create a simple squeleton
nowmad@23.1.168.192.in-addr.arpa
parents: 10
diff changeset
    27
</div>
91
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    28
217
989b9c36b849 Toolbar and Notice component styles
Chloe Laisne <chloe.laisne@gmail.com>
parents: 200
diff changeset
    29
{{toolbar-component}}