author | nowmad@nowmads-macbook-pro.local |
Wed, 20 Jan 2016 00:15:46 +0100 | |
changeset 87 | 24fef043ea0b |
parent 84 | 36f84e8f1ad5 |
child 91 | acfeddc7821d |
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"> |
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'> |
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> |
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> |
84 | 32 |
<button class="pull-right" {{action 'toggleModal' item}}>Details</button> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
33 |
</div> |
41
b6815b3d46bd
pass arguments to results components
nowmad@nowmads-macbook-pro.local
parents:
16
diff
changeset
|
34 |
{{/each}} |
84 | 35 |
{{#if isShowingModal}} |
36 |
{{#ember-wormhole to='info-modal'}} |
|
37 |
<div class="overlay" {{action 'toggleModal'}}></div> |
|
38 |
<div class="dialog"> |
|
39 |
<h1>{{currentDetails.title}}</h1> |
|
40 |
<p><b>Description: </b>{{currentDetails.description}}</p> |
|
41 |
<p><b>Interviewer: </b>{{currentDetails.interviewer}}</p> |
|
42 |
<p><b>Type de Discours: </b>{{currentDetails.type}}</p> |
|
43 |
<p><b>Localisation: </b>{{currentDetails.spatial}}</p> |
|
44 |
<p><b>Langue: </b>{{currentDetails.language}}</p> |
|
45 |
<p><b>Date de Creation: </b>{{currentDetails.created}}</p> |
|
46 |
<button class="pull-right" {{action 'toggleModal'}}>Close</button> |
|
47 |
</div> |
|
48 |
{{/ember-wormhole}} |
|
49 |
{{/if}} |
|
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
|
50 |
</div> |