Skip to content
Snippets Groups Projects
Commit c84f6059 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix style table & import button

parent 5248dd01
No related branches found
No related tags found
4 merge requests!295Version 3.0.0,!247REDMINE_ISSUE-12787,!245REDMINE_ISSUE-12786,!233REDMINE_ISSUE-12378
...@@ -216,12 +216,12 @@ h1 { ...@@ -216,12 +216,12 @@ h1 {
} }
.table .row { .table .row {
display: flex; display: flex;
transition: background-color ease-out 0.2s; transition: all ease-out 0.2s;
} }
.table .row:not(:first-of-type).selected { .table .row:not(.header).selected {
background-color: #8bddd9; background-color: #8bddd9;
} }
.table .row:not(:first-of-type):hover { .table .row:not(.header):hover {
background-color: #009c95; background-color: #009c95;
color: #ffffff; color: #ffffff;
cursor: pointer; cursor: pointer;
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
class="ui icon button import-catalog" class="ui icon button import-catalog"
>Créer un nouveau type de signalement à partir du catalogue Datasud >Créer un nouveau type de signalement à partir du catalogue Datasud
</router-link> </router-link>
<div v-if="$route.params.geojson" class="ui button import-catalog"> <div v-if="$route.params.geojson" class="ui button import-catalog basic active teal">
Ressource {{$route.params.geojson.name}} Ressource {{$route.params.geojson.name}}
</div> </div>
<ul v-if="importError" class="errorlist"> <ul v-if="importError" class="errorlist">
...@@ -337,15 +337,11 @@ export default { ...@@ -337,15 +337,11 @@ export default {
if (!this.project) { if (!this.project) {
this.GET_PROJECT_INFO(this.$route.params.slug); this.GET_PROJECT_INFO(this.$route.params.slug);
} }
this.$store.commit("feature/SET_FEATURES", []); //* empty features remaining in case they were in geojson format and will be fetch anyway this.$store.commit("feature/SET_FEATURES", []); //* empty remaining features in case they were in geojson format and will be fetch anyway
this.getFeatures(); this.getFeatures();
// .then(res => resolve(res))
// .catch(err => reject(err));
this.SET_CURRENT_FEATURE_TYPE_SLUG( this.SET_CURRENT_FEATURE_TYPE_SLUG(
this.$route.params.feature_type_slug this.$route.params.feature_type_slug
); );
console.log(this.$route.params)
console.log(this.$route.params.type)
if (this.$route.params.type === "external-geojson") { if (this.$route.params.type === "external-geojson") {
this.showImport = true; this.showImport = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment