comparison client/src/components/Bottlenecks.vue @ 5449:d01c098562d9 uiimprovements

Bottleneckoverview: Put selector for older scans into date column
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 13 Jul 2021 16:17:01 +0200
parents 6b054b91d9b2
children 4046432ccc9d 62caee603217
comparison
equal deleted inserted replaced
5448:25d0d3159376 5449:d01c098562d9
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 />
40 </div> 46 </div>
41 <div class="table-cell" style="width: 135px"> 47 <div class="table-cell" style="width: 135px">
42 {{ 48 {{
43 displayCurrentChainage( 49 displayCurrentChainage(
44 bottleneck.properties.from, 50 bottleneck.properties.from,
45 bottleneck.properties.to 51 bottleneck.properties.to
46 ) 52 )
47 }} 53 }}
48 </div> 54 </div>
49 <div class="table-cell center" style="flex-grow: 1"> 55 <div class="table-cell center" style="flex-grow: 1"></div>
50 <UISpinnerButton
51 @click="loadSurveys(bottleneck)"
52 :loading="loading === bottleneck"
53 :state="bottleneck === openBottleneck"
54 v-if="bottleneck.properties.current"
55 />
56 </div>
57 </template> 56 </template>
58 <template v-slot:expand="{ item: bottleneck }"> 57 <template v-slot:expand="{ item: bottleneck }">
59 <a 58 <a
60 href="#" 59 href="#"
61 class="d-inline-block px-3 py-2" 60 class="d-inline-block px-3 py-2"