Commit ba4f1f98 authored by David Foucher's avatar David Foucher

Merge branch 'beautify-rules' into 'vue-editor'

Fixing bugs

See merge request !26
parents 5b8924e8 c4e1a73d
Pipeline #2376 passed with stages
in 9 minutes and 21 seconds
......@@ -201,6 +201,19 @@
background-color : #384EAA;
color: white;
}
.main-button:hover:disabled {
border: 1px solid #384EAA;
background-color : #BDBADE;
color: black;
}
.main-button-primary {
background-color : #384EAA;
color: white;
}
.main-button-primary:hover {
background-color : #0D0850;
color: white;
}
.loading-gif {
padding-top: 8rem;
}
......
......@@ -12,15 +12,16 @@
</div>
</div>
<div class="row mt-3">
<div class="col-md-4">
<div class="col-md-4 col-sm-12">
<div id="chart-container">
<ModificationChart @on-receive="update" :values="modification_chart_datas.datasets" :labels="modification_chart_datas.labels"></ModificationChart>
</div>
</div>
<div class="col-md-8">
<div v-if="!isLoading">
<div class="col-md-8 col-sm-12">
<div id="modification_list">
<div v-if="selected_rule">
<h5> Modification(s) de la règle {{ selected_rule }} ({{ Object.keys(selected_modification_list).length }}) </h5>
<h5> Modification(s) de la règle en cours de validation {{ selected_rule }} ({{ Object.keys(selected_modification_list).length }}) </h5>
<ul v-for="modification in selected_modification_list" :key="modification.id" class="dash">
<li>
<a :href="'referentiel#'+selected_rule+'.rules#modified'"> {{ modification.title }} </a>
......@@ -28,14 +29,20 @@
</ul>
</div>
<div v-else>
<h5> Toutes les modifications ({{ Object.keys(modification_list).length }})</h5>
<h5> Toutes les modifications en cours de validation ({{ Object.keys(modification_list).length }})</h5>
<ul v-for="modification in modification_list" :key="modification.id" class="dash">
<li> {{ modification.title }} </li>
<li>
<a :href="'referentiel#'+modification.file.split('/').pop().split('.')[0]+'.rules#modified'"> {{ modification.title }} - ({{ modification.file.split('/').pop().split('.')[0] }})</a>
</li>
</ul>
</div>