Skip to content

Commit 3a0239e

Browse files
author
SamuelQuetin
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents c976d6c + 8f12014 commit 3a0239e

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.env.development

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VUE_APP_PERISCOPE_V2_API_URL=
2+
VUE_APP_TIMELINE_PERISCOPE_V1=
3+
VUE_APP_WS_APICOM=

.env.production

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VUE_APP_PERISCOPE_V2_API_URL=
2+
VUE_APP_TIMELINE_PERISCOPE_V1=
3+
VUE_APP_WS_APICOM=

.env.staging

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VUE_APP_PERISCOPE_V2_API_URL=
2+
VUE_APP_TIMELINE_PERISCOPE_V1=
3+
VUE_APP_WS_APICOM=

src/views/components/03-router-content/01-recherche-avancee/02-blocs-recherche/BlocPlanConservationRegions.vue

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,9 @@
3131
<v-row justify="center">
3232
<v-col sm="10">
3333
<!--Elements-->
34-
<v-row justify="center">
35-
<v-col xs="6" sm="3" class="margin-v-col-accueil">
36-
<v-checkbox @change="updateCheckboxes()" v-for="m in 5" :key="m" v-model="regions[m - 1].value" :label="regions[m - 1].text" hide-details class="margin-v-checkbox-accueil"></v-checkbox>
37-
</v-col>
38-
<v-col xs="6" sm="3" class="margin-v-col-accueil">
39-
<v-checkbox @change="updateCheckboxes()" v-for="m in 5" :key="m" v-model="regions[m + 4].value" :label="regions[m + 4].text" hide-details class="margin-v-checkbox-accueil"></v-checkbox>
40-
</v-col>
41-
<v-col xs="6" sm="3" class="margin-v-col-accueil">
42-
<v-checkbox @change="updateCheckboxes()" v-for="m in 5" :key="m" v-model="regions[m + 9].value" :label="regions[m + 9].text" hide-details class="margin-v-checkbox-accueil"></v-checkbox>
43-
</v-col>
44-
<v-col xs="6" sm="3" class="margin-v-col-accueil">
45-
<v-checkbox @change="updateCheckboxes()" v-for="m in 5" :key="m" v-model="regions[m + 14].value" :label="regions[m + 14].text" hide-details class="margin-v-checkbox-accueil"></v-checkbox>
34+
<v-row class='mb-5'>
35+
<v-col v-for="region in regions" :key="region.id" cols="3" class="d-flex justify-start align-center pa-0">
36+
<v-checkbox @change="updateCheckboxes()" v-model="region.value" :label="region.text" hide-details class="margin-v-checkbox-accueil"></v-checkbox>
4637
</v-col>
4738
</v-row>
4839
<!--Internal BlocOperator-->
@@ -353,3 +344,10 @@ export default class ComponentPlanConservationRegions extends Vue {
353344
}
354345
}
355346
</script>
347+
<style>
348+
.checkbox-grid {
349+
display: grid;
350+
grid-template-columns: repeat(4, 1fr); /* 4 colonnes de même taille */
351+
grid-gap: 10px; /* Espace entre les éléments */
352+
}
353+
</style>

0 commit comments

Comments
 (0)