ajout class header_top

This commit is contained in:
Christophe 2024-12-12 14:01:17 +01:00
parent 348f1b2cf2
commit 486b2c637f

View file

@ -67,11 +67,10 @@
<table class="table table--zebra" v-if="quelleVue === 'tableau'"> <table class="table table--zebra" v-if="quelleVue === 'tableau'">
<thead> <thead>
<tr v-if="Object.keys(header_top).length"> <tr v-if="Object.keys(header_top).length" class="header_top">
<th v-for="(d, nom_colonne, i) in header_top" :key="'header_top_' + i" :colspan="d.colspan" :class="d.class"> <th v-for="(d, nom_colonne, i) in header_top" :key="'header_top_' + i" :colspan="d.colspan" :class="d.class">
<span v-html="nom_colonne"></span> <span v-html="nom_colonne"></span>
</th> </th>
</tr> </tr>
<tr> <tr>
<th v-for="(label, head, i) in header" :key="'head_' + i" :class="[head, classes[head]]"> <th v-for="(label, head, i) in header" :key="'head_' + i" :class="[head, classes[head]]">