Mercurial > gemma
comparison client/src/components/Bottlenecks.vue @ 5443:4046432ccc9d marking-single-beam
Backout Bottleneckoverview: Put selector for older scans into date column
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 13 Jul 2021 18:30:07 +0200 |
parents | 7d7b1bf53189 |
children | 2ad3a29e0e14 |
comparison
equal
deleted
inserted
replaced
5442:8097ad2319f5 | 5443:4046432ccc9d |
---|---|
35 <div class="table-cell text-center" style="width: 100px"> | 35 <div class="table-cell text-center" style="width: 100px"> |
36 {{ bottleneck.properties.responsible_country }} | 36 {{ bottleneck.properties.responsible_country }} |
37 </div> | 37 </div> |
38 <div class="table-cell" style="width: 150px"> | 38 <div class="table-cell" style="width: 150px"> |
39 {{ bottleneck.properties.current | surveyDate }} | 39 {{ bottleneck.properties.current | surveyDate }} |
40 <UISpinnerButton | |
41 @click="loadSurveys(bottleneck)" | |
42 :loading="loading === bottleneck" | |
43 :state="bottleneck === openBottleneck" | |
44 v-if="bottleneck.properties.current" | |
45 /> | |
46 </div> | 40 </div> |
47 <div class="table-cell" style="width: 135px"> | 41 <div class="table-cell" style="width: 135px"> |
48 {{ | 42 {{ |
49 displayCurrentChainage( | 43 displayCurrentChainage( |
50 bottleneck.properties.from, | 44 bottleneck.properties.from, |
51 bottleneck.properties.to | 45 bottleneck.properties.to |
52 ) | 46 ) |
53 }} | 47 }} |
54 </div> | 48 </div> |
55 <div class="table-cell center" style="flex-grow: 1"></div> | 49 <div class="table-cell center" style="flex-grow: 1"> |
50 <UISpinnerButton | |
51 @click="loadSurveys(bottleneck)" | |
52 :loading="loading === bottleneck" | |
53 :state="bottleneck === openBottleneck" | |
54 v-if="bottleneck.properties.current" | |
55 /> | |
56 </div> | |
56 </template> | 57 </template> |
57 <template v-slot:expand="{ item: bottleneck }"> | 58 <template v-slot:expand="{ item: bottleneck }"> |
58 <a | 59 <a |
59 href="#" | 60 href="#" |
60 class="d-inline-block px-3 py-2" | 61 class="d-inline-block px-3 py-2" |