cms/app-client/app/templates/application.hbs
author nowmad@23.1.168.192.in-addr.arpa
Thu, 21 Jan 2016 21:07:02 +0100
changeset 94 62984937a062
parent 91 acfeddc7821d
child 95 f7ab931581af
permissions -rw-r--r--
- add params when modal appear so we can come back right on this document modal - load the complete document info when modal is called or when played
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
84
36f84e8f1ad5 add d3js for langue visu
nowmad@nowmads-macbook-pro.local
parents: 73
diff changeset
     1
<div id="info-modal"></div>
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
     2
<div class="corpus-app-container">
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     3
  {{outlet}}
47
aca69a9db743 add specific outlet for carto template
nowmad@nowmads-macbook-pro.local
parents: 35
diff changeset
     4
  <div class="carto">{{outlet "carto"}}</div>
5
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
     5
</div>
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
     6
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
     7
<div class="corpus-app-wrapper">
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
     8
  <div class="corpus-app-player">
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
     9
    {{partial "player"}}
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
    10
  </div>
55
484c02a0e590 reorganize html of application
nowmad@nowmads-macbook-pro.local
parents: 47
diff changeset
    11
  {{partial "results"}}
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
    12
</div>
91
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    13
94
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    14
{{#if detail}}
91
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    15
  {{#ember-wormhole to='info-modal'}}
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    16
    <div class="overlay" {{action 'toggleModal'}}></div>
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    17
    <div class="dialog">
94
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    18
      <div class="dialog-header">
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    19
        <h2>Document details</h2>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    20
      </div>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    21
      <h3>{{modalItem.title}}</h3>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    22
      <p><b>Description: </b>{{modalItem.description}}</p>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    23
      <p><b>Interviewer: </b>{{modalItem.interviewer}}</p>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    24
      <p><b>Type de Discours: </b>{{modalItem.type}}</p>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    25
      <p><b>Localisation: </b>{{modalItem.spatial}}</p>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    26
      <p><b>Langue: </b>{{modalItem.language}}</p>
62984937a062 - add params when modal appear so we can come back right on this document modal
nowmad@23.1.168.192.in-addr.arpa
parents: 91
diff changeset
    27
      <p><b>Date de Creation: </b>{{modalItem.created}}</p>
91
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    28
      <button class="pull-right" {{action 'toggleModal'}}>Close</button>
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    29
    </div>
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    30
  {{/ember-wormhole}}
acfeddc7821d rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents: 84
diff changeset
    31
{{/if}}