Commit 7f2e0e54 authored by Jérémie Passerat's avatar Jérémie Passerat

Sauvegarde avant tests des filtres du tableau

parent 6ba0074e
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
<div> <div>
<button id="changerVariante" v-show="!modeConsultation" v-on:click="changerVariante">changer</button> <button id="changerVariante" v-show="!modeConsultation" v-on:click="changerVariante">changer</button>
<!-- <div class="choixPanier"> <div class="choixPanier" v-show="panierChoisi">
<label>Perso</label> <label>Perso</label>
<input type="checkbox" v-on:click="filtrerTableau" name="perso"/> <input type="checkbox" class="filtreTableau" v-model="persoChecked" v-on:click="persoChecked = !persoChecked" name="perso" value="tiers"/>
<label>Tiers</label> <label>Tiers</label>
<input type="checkbox" v-on:click="filtrerTableau" name="tiers"/> <input type="checkbox" class="filtreTableau" v-model="tiersChecked" v-on:click="tiersChecked = !tiersChecked" name="tiers" value="tiers"/>
<label>En Cours</label> <label>En Cours</label>
<input type="checkbox" v-on:click="filtrerTableau" name="en-cours"/> <input type="checkbox" class="filtreTableau" v-model="enCoursChecked" v-on:click="enCoursChecked = !enCoursChecked" name="en-cours" value="en-cours"/>
</div>--> </div>
<div id="principal" v-show="!modeConsultation"> <div id="principal" v-show="!modeConsultation">
<div id="ensemble"> <div id="ensemble">
<button id="boutonVolet" v-on:click="desactiverVolet"></button> <button id="boutonVolet" v-on:click="desactiverVolet" v-bind:style="panierChoisi ? {'margin-top': '0%'} : {'margin-top': '20px'}"></button>
<div class="full" id="volet" v-show="isActif"> <div class="full" id="volet" v-show="isActif">
<Volet_Menu v-bind:panierChoisi = "panierChoisi" @filtre_choisi="passerFiltre"/> <Volet_Menu v-bind:panierChoisi = "panierChoisi" @filtre_choisi="passerFiltre"/>
<Volet_Contenu @mode_choisi="ajusterMode" v-bind:filtre_choisi="filtre_choisi" v-bind:variante="variante"/> <Volet_Contenu @mode_choisi="ajusterMode" v-bind:filtre_choisi="filtre_choisi" v-bind:variante="variante"/>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</div> </div>
<div id="tableau"> <div id="tableau">
<table> <table v-bind:style="panierChoisi ? {'margin-top': '0%'} : {'margin-top': '20px'}">
<thead> <thead>
<tr> <tr>
<th colspan="8 ">Contenus</th> <th colspan="8 ">Contenus</th>
...@@ -116,6 +116,9 @@ export default { ...@@ -116,6 +116,9 @@ export default {
contenuCliqueProvenance: "", contenuCliqueProvenance: "",
modalOn: false, modalOn: false,
modeConsultation: false, modeConsultation: false,
persoChecked: true,
tiersChecked: true,
enCoursChecked: true,
imgEtoile: "https://previews.123rf.com/images/ylivdesign/ylivdesign1612/ylivdesign161208906/67933171-ic%C3%B4ne-%C3%A9toile-%C3%A0-cinq-branches-jaunes-illustration-de-dessin-anim%C3%A9-d-ic%C3%B4ne-de-vecteur-%C3%A9toile-jaune-%C3%A0-cinq-branches-.jpg", imgEtoile: "https://previews.123rf.com/images/ylivdesign/ylivdesign1612/ylivdesign161208906/67933171-ic%C3%B4ne-%C3%A9toile-%C3%A0-cinq-branches-jaunes-illustration-de-dessin-anim%C3%A9-d-ic%C3%B4ne-de-vecteur-%C3%A9toile-jaune-%C3%A0-cinq-branches-.jpg",
imgPoubelle: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAflBMVEX///8AAACampq4uLh5eXlcXFxlZWXr6+vFxcVFRUWurq6ioqL39/doaGju7u7Z2dmIiIjX19eoqKicnJxZWVlvb28qKirDw8Pl5eU6Ojq5ublAQEDOzs7f398dHR1OTk4xMTGRkZERERGLi4sbGxt+fn4kJCQLCwt0dHRSUlJ5VCwrAAAIRUlEQVR4nO2d6VYbSwyEHbyBMWbHEBKwCev7v+C9jruOMyqpx2YZKTn6fiLj6WJ60TZDr5ckSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkyd9PfzjajWHfe8g7svdtV/a8h7wjqTAVxicVpsL4QGF/Nq4z6//lCvdbP7mfCoOSCjekwqikwg2pMCqpcEMqjMq/r/CwjPtH6yd/lE8ed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ljja1QuVIWoWlh/oyhYc6zR86YqtF4+G+vA79E+AUel4YqpCuHgyeDJQUMdcV7DnW4EF6pC4+Wzvu/01BA+F0rwy1aFCENEM0CX/7ByO0QhTQ1r1fd568FyoD4MsGwO8KI3m41P5/3GuJez8YpZ47OX/fnpeDaTOX3vF2AxonTxwm82qfMs+vQjFS3WKO/5/BDRXJrP/38lcfowgPIWzA8R40mLBp+s0FuOwr+v8HP/J2Kssswa7R+PvJ94B776yv8PEKtosUZ7Sff7iZbDWKH8v5IPEM+l+ewjP96Br79m/v3EKlokSZIkSZIkX81/MjFrMKxwu60AAAAASUVORK5CYII="
} }
...@@ -150,7 +153,7 @@ export default { ...@@ -150,7 +153,7 @@ export default {
let inputs = document.querySelectorAll("input[type='checkbox']") let inputs = document.querySelectorAll("input[type='checkbox'], #horns")
// alert(inputs.length) // alert(inputs.length)
for(let i = 0; i < inputs.length; i++) { for(let i = 0; i < inputs.length; i++) {
...@@ -227,9 +230,6 @@ export default { ...@@ -227,9 +230,6 @@ export default {
} }
},
filtrerTableau: function () {
alert ('prout')
} }
} }
} }
...@@ -249,7 +249,7 @@ export default { ...@@ -249,7 +249,7 @@ export default {
} }
table { table {
margin-top: 5px;
margin-left: 20px; margin-left: 20px;
width: 1550px; width: 1550px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment