cms/app-client/app/templates/results.hbs
author nowmad@nowmads-macbook-pro.local
Thu, 07 Jan 2016 17:47:22 +0100
changeset 82 d489885d116d
parent 78 08765d161e96
child 84 36f84e8f1ad5
permissions -rw-r--r--
add fontawesome and improve results and tags interface
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
     1
<div class="result-header">
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
     2
  <h2>This is the results</h2>
52
87b6a104de8e add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents: 41
diff changeset
     3
  <p>
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
     4
    Filtres:
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
     5
    {{#if location}}
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
     6
      <span class="filters location">{{location}}<span class="fa fa-times" {{action 'deleteTag' 'location'}}></span></span>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
     7
    {{/if}}
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
     8
    {{#if langue}}
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
     9
      <span class="filters langue">{{langue}}<span class="fa fa-times" {{action 'deleteTag' 'langue'}}></span></span>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    10
    {{/if}}
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    11
    {{#if discours}}
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    12
      <span class="filters discours">{{discours}}<span class="fa fa-times" {{action 'deleteTag' 'discours'}}></span></span>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    13
    {{/if}}
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    14
    {{#if date}}
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    15
      {{#each date as |item| }}
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    16
        <span class="filters date">{{item}}<span class="fa fa-times" {{action 'deleteTag' 'date' item }}></span></span>
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    17
      {{/each}}
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    18
    {{/if}}
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    19
    {{#if thematique}}
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    20
      <span class="filters thematique">{{thematique}}<span class="fa fa-times" {{action 'deleteTag' 'thematique'}}></span></span>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    21
    {{/if}}
52
87b6a104de8e add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents: 41
diff changeset
    22
  </p>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    23
</div>
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    24
<div class='result-list'>
52
87b6a104de8e add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents: 41
diff changeset
    25
  {{#each filteredSounds as |item| }}
66
b7e750ed3ef5 show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents: 56
diff changeset
    26
    <div id="{{item.id}}" {{action "details" item}} class='result-item'>
82
d489885d116d add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents: 78
diff changeset
    27
      <span class="fa fa-play-circle fa-lg fa-fw pull-right" {{action 'play' item}}></span>
66
b7e750ed3ef5 show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents: 56
diff changeset
    28
      <strong>{{ item.title }}</strong> - {{item.interviewer}}
b7e750ed3ef5 show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents: 56
diff changeset
    29
      <div class="description">
b7e750ed3ef5 show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents: 56
diff changeset
    30
        {{item.description}}
b7e750ed3ef5 show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents: 56
diff changeset
    31
      </div>
56
c4a022ba3fc3 improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents: 52
diff changeset
    32
    </div>
41
b6815b3d46bd pass arguments to results components
nowmad@nowmads-macbook-pro.local
parents: 16
diff changeset
    33
  {{/each}}
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:
diff changeset
    34
</div>