diff --git a/src/assets/styles/openlayers-custom.css b/src/assets/styles/openlayers-custom.css index 13cc34418542081af11ac9c3c3a4fed1e13f6de3..b73eac42fd961037c9e5721833f6880af22b0b37 100644 --- a/src/assets/styles/openlayers-custom.css +++ b/src/assets/styles/openlayers-custom.css @@ -67,4 +67,9 @@ border-top: none !important; left: -2px; width: calc(100% + 4px) !important; +} + +/* hide the popup before the map get loaded */ +.map-container > #popup.ol-popup { + display: none; } \ No newline at end of file diff --git a/src/components/Project/Detail/ProjectFeatureTypes.vue b/src/components/Project/Detail/ProjectFeatureTypes.vue index 5cce295500d533837581acdbc0c18327de1355a8..4ba419bd064c23f4bdd2c64cd97a0e26ff38fd9f 100644 --- a/src/components/Project/Detail/ProjectFeatureTypes.vue +++ b/src/components/Project/Detail/ProjectFeatureTypes.vue @@ -3,7 +3,10 @@ <h3 class="ui header"> Types de signalements </h3> - <div class="ui middle aligned divided list"> + <div + id="feature_type-list" + class="ui middle aligned divided list" + > <div :class="{ active: loading }" class="ui inverted dimmer" diff --git a/src/components/Project/Detail/ProjectModal.vue b/src/components/Project/Detail/ProjectModal.vue index 2a1914416a124c13601bbb2f1a0f26e2b3e1c9f4..7081e80ef2b2f9f07b1f4ee4127977aaeb2b2912 100644 --- a/src/components/Project/Detail/ProjectModal.vue +++ b/src/components/Project/Detail/ProjectModal.vue @@ -6,7 +6,7 @@ > <div :class="[ - 'ui mini modal subscription', + 'ui mini modal', { 'transition visible active': projectModalType }, ]" > @@ -40,6 +40,7 @@ </p> </div> <button + id="validate-modal" :class="['ui compact fluid button', projectModalType === 'subscribe' && !isSubscriber ? 'green' : 'red']" @click="handleModalAction" > diff --git a/src/components/Projects/ProjectsMenu.vue b/src/components/Projects/ProjectsMenu.vue index 8801c51768548d98fce0e6bf6430d07ffec187e7..442ab3a5a7e68e24e0c26a5a4ec8cad38f6d0a64 100644 --- a/src/components/Projects/ProjectsMenu.vue +++ b/src/components/Projects/ProjectsMenu.vue @@ -2,6 +2,7 @@ <div class="filters-container"> <div class="ui styled accordion"> <div + id="filters" class="title collapsible-filters" > FILTRES @@ -197,7 +198,6 @@ export default { .accordion { width: fit-content; .collapsible-filters { - cursor: pointer; font-size: 1.25em; padding-right: 0; } diff --git a/src/views/FeatureType/FeatureTypeEdit.vue b/src/views/FeatureType/FeatureTypeEdit.vue index 303f3d2f59107f7d8e031dae3e24aa8308d13d28..e7d18185d3cc5d7a0cc98cf5f7d66a7fe7bc2e22 100644 --- a/src/views/FeatureType/FeatureTypeEdit.vue +++ b/src/views/FeatureType/FeatureTypeEdit.vue @@ -81,6 +81,7 @@ form.geom_type.label }}</label> <Dropdown + id="geometry-type" :options="geomTypeChoices" :selected="selectedGeomType" :selection.sync="selectedGeomType" @@ -130,6 +131,7 @@ <div class="ui divider" /> <button + id="send-feature_type" class="ui teal icon button margin-25" type="button" @click="sendFeatureType" diff --git a/src/views/Project/ProjectDetail.vue b/src/views/Project/ProjectDetail.vue index 58ff359a5d337ebc6dc58fcbfdb815f183517a25..3a9f4f75f222ac54c9581bde85e326cdcbf5c5b5 100644 --- a/src/views/Project/ProjectDetail.vue +++ b/src/views/Project/ProjectDetail.vue @@ -265,6 +265,7 @@ export default { destroyed() { this.CLEAR_RELOAD_INTERVAL_ID(); + this.CLOSE_PROJECT_MODAL(); }, methods: { diff --git a/src/views/Project/ProjectEdit.vue b/src/views/Project/ProjectEdit.vue index 1e058bf778604310a349b387eea71e4af1224b48..af04aa4ef62b4042fbe21c56145a823a604fd1b3 100644 --- a/src/views/Project/ProjectEdit.vue +++ b/src/views/Project/ProjectEdit.vue @@ -159,6 +159,7 @@ for="access_level_pub_feature" >Visibilité des signalements publiés</label> <Dropdown + id="published-visibility" :options="levelPermissionsPub" :selected="form.access_level_pub_feature.name" :selection.sync="form.access_level_pub_feature" @@ -180,6 +181,7 @@ Visibilité des signalements archivés </label> <Dropdown + id="archived-visibility" :options="levelPermissions" :selected="form.access_level_arch_feature.name" :selection.sync="form.access_level_arch_feature" @@ -240,6 +242,7 @@ <div class="ui divider" /> <button + id="send-project" type="button" class="ui teal icon button" @click="postForm"