cms/app-client/app/templates/components/visu-chrono.hbs
author ymh <ymh.work@gmail.com>
Tue, 11 Jul 2017 09:49:26 +0200
changeset 540 07239de796bb
parent 424 feb0d3e0fef9
permissions -rw-r--r--
When building the rpm, ignore folder with transient content
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
424
feb0d3e0fef9 add dynamic date range calculation for dates, and add color gradient component, add color gradient for language and chrono
ymh <ymh.work@gmail.com>
parents: 393
diff changeset
     1
<div>{{ color-gradient domainStart=minCount domainEnd=maxCount scale=colorScale }}</div>
393
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
     2
{{#each decades as |decade| }}
195
9d083636bd99 Layout and style of the /chronologie endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 98
diff changeset
     3
<div class="interval">
393
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
     4
    {{input type="checkbox" checked=(is-checked date decade) indeterminate=(is-indeterminate date decade) click=(action 'selectDecade' decade)}}
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
     5
    <ul class="{{ decade }}">
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
     6
    {{#each (range decade 10) as |year| }}
424
feb0d3e0fef9 add dynamic date range calculation for dates, and add color gradient component, add color gradient for language and chrono
ymh <ymh.work@gmail.com>
parents: 393
diff changeset
     7
        {{ visu-chrono-year datestats=datestats year=year range=rangeArray scale=colorScale }}
393
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
     8
    {{/each}}
195
9d083636bd99 Layout and style of the /chronologie endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents: 98
diff changeset
     9
    </ul>
48
9ef0952033e0 add example of visualisation for "chonologie"
nowmad@nowmads-macbook-pro.local
parents:
diff changeset
    10
</div>
393
5ef3bfef0bff add colors to visu chrono
ymh <ymh.work@gmail.com>
parents: 392
diff changeset
    11
{{/each}}