author | Chloe Laisne <chloe.laisne@gmail.com> |
Tue, 14 Jun 2016 18:15:26 +0200 | |
changeset 189 | 21b30ee23191 |
parent 134 | c06d08c8a1b8 |
child 190 | 226ae8f2e8e9 |
permissions | -rw-r--r-- |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
1 |
<div class="result-header"> |
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
|
2 |
<p> |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
3 |
Filtres: |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
4 |
{{#if location}} |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
5 |
<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
|
6 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
7 |
{{#if langue}} |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
8 |
<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
|
9 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
10 |
{{#if discours}} |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
11 |
<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
|
12 |
{{/if}} |
189
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
134
diff
changeset
|
13 |
{{#if dateIntervals}} |
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
134
diff
changeset
|
14 |
{{#each dateIntervals as |item| }} |
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
134
diff
changeset
|
15 |
<span class="filters date" data-dates="{{item}}">{{interval item}}<span class="fa fa-times" {{action 'deleteTag' 'date' item }}></span></span> |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
16 |
{{/each}} |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
17 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
18 |
{{#if thematique}} |
82
d489885d116d
add fontawesome and improve results and tags interface
nowmad@nowmads-macbook-pro.local
parents:
78
diff
changeset
|
19 |
<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
|
20 |
{{/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
|
21 |
</p> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
22 |
</div> |
189
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
134
diff
changeset
|
23 |
|
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
24 |
<div class='result-list'> |
91
acfeddc7821d
rename "sound" to "document"
nowmad@nowmads-macbook-pro.local
parents:
87
diff
changeset
|
25 |
{{#each filteredDocuments as |item| }} |
95 | 26 |
<div id="{{item.id}}" {{action "showMore" item}} class='result-item'> |
87
24fef043ea0b
add control to go next/previous sound
nowmad@nowmads-macbook-pro.local
parents:
84
diff
changeset
|
27 |
<span class="playing-indicator fa fa-play-circle fa-lg fa-fw pull-right" {{action 'play' item}}></span> |
95 | 28 |
<strong>{{ item.title }}</strong> |
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
|
29 |
<div class="description"> |
134
c06d08c8a1b8
add bnf resolver in common addon + applications
ymh <ymh.work@gmail.com>
parents:
127
diff
changeset
|
30 |
{{doc-language url=item.language}} |
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
|
31 |
</div> |
95 | 32 |
<div class="hidden-elt"> |
33 |
<button class="pull-right" {{action 'toggleModal' item}}>Details</button> |
|
34 |
</div> |
|
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
35 |
</div> |
41
b6815b3d46bd
pass arguments to results components
nowmad@nowmads-macbook-pro.local
parents:
16
diff
changeset
|
36 |
{{/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
|
37 |
</div> |