Mercurial > gemma
comparison client/src/components/importoverview/ImportOverview.vue @ 2876:0e0cc65d3479
client: importoverview: fixed interval select
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 01 Apr 2019 13:06:46 +0200 |
parents | 84effca50751 |
children | 55a9c7965e25 |
comparison
equal
deleted
inserted
replaced
2875:84effca50751 | 2876:0e0cc65d3479 |
---|---|
53 <select | 53 <select |
54 class="my-auto btn btn-outline-light text-dark form-control interval-select" | 54 class="my-auto btn btn-outline-light text-dark form-control interval-select" |
55 v-model="selectedInterval" | 55 v-model="selectedInterval" |
56 > | 56 > |
57 <option | 57 <option |
58 :selected="selectedInterval === $options.LAST_HOUR" | 58 :selected="selectedInterval === LAST_HOUR" |
59 :value="$options.LAST_HOUR" | 59 :value="LAST_HOUR" |
60 ><translate>Hour</translate></option | 60 ><translate>Hour</translate></option |
61 > | 61 > |
62 <option | 62 <option :selected="selectedInterval === TODAY" :value="TODAY" |
63 :selected="selectedInterval === $options.TODAY" | |
64 :value="$options.TODAY" | |
65 ><translate>Day</translate></option | 63 ><translate>Day</translate></option |
66 > | 64 > |
67 <option | 65 <option |
68 :selected="selectedInterval === $options.LAST_7_DAYS" | 66 :selected="selectedInterval === LAST_7_DAYS" |
69 :value="$options.LAST_7_DAYS" | 67 :value="LAST_7_DAYS" |
70 ><translate>7 days</translate></option | 68 ><translate>7 days</translate></option |
71 > | 69 > |
72 <option | 70 <option |
73 :selected="selectedInterval === $options.LAST_30_DAYS" | 71 :selected="selectedInterval === LAST_30_DAYS" |
74 :value="$options.LAST_30_DAYS" | 72 :value="LAST_30_DAYS" |
75 ><translate>30 Days</translate></option | 73 ><translate>30 Days</translate></option |
76 > | 74 > |
77 </select> | 75 </select> |
78 </div> | 76 </div> |
79 </div> | 77 </div> |