Commit 9a2ce580 authored by Jérémie Passerat's avatar Jérémie Passerat

Sauvegarde du 04/06

parent 9ce98f17
......@@ -10376,6 +10376,11 @@
"integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
"dev": true
},
"tiny-cookie": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tiny-cookie/-/tiny-cookie-1.0.1.tgz",
"integrity": "sha1-dTeGB5xkKjw9CyrMrWAPjeEZrCo="
},
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
......@@ -10870,6 +10875,14 @@
"resolved": "https://registry.npmjs.org/vue/-/vue-2.6.12.tgz",
"integrity": "sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg=="
},
"vue-cookie": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/vue-cookie/-/vue-cookie-1.1.4.tgz",
"integrity": "sha1-uLRtESvan5Oi9HAXwu1SgtIGT9o=",
"requires": {
"tiny-cookie": "^1.0"
}
},
"vue-cookies": {
"version": "1.7.4",
"resolved": "https://registry.npmjs.org/vue-cookies/-/vue-cookies-1.7.4.tgz",
......
<template>
<div id="app">
<Volet_Base @choix_variante="choixVariante" @publication="publication"/>
<Volet_Base @choix_variante="choixVariante" v-bind:auteur="auteur" @publication="publication"/>
</div>
</template>
......@@ -22,7 +22,8 @@ export default {
this.$emit("publication", {document: event.document})
}
}
},
props: ['auteur']
}
</script>
......
......@@ -3,7 +3,7 @@
<Login v-show="etat === 'unlogged'" @user_logged="setLogged"></Login>
<Menu v-show="etat !== 'unlogged'" v-bind:auteur="auteur" v-bind:etat="etat" v-bind:isNotif="isNotif" v-bind:variante="variante" @menu_choisi="changerPage"></Menu>
<Contenu v-show="etat === 'Contenu'" @choix_variante="choixVariante" @publication="publication"></Contenu>
<Contenu v-show="etat === 'Contenu'" v-bind:auteur="auteur" @choix_variante="choixVariante" @publication="publication"></Contenu>
<Maj v-show="etat === 'Mises à jour'" v-bind:contenuEnPublication="contenuEnPublication" ></Maj>
<Profil v-show="etat === 'Profil'" ></Profil>
<Tags v-show="etat === 'Tags'" ></Tags>
......
<template>
<div id="loginForm">
<p>Trois comptes temporaires : Auteur 1, Auteur 2, Auteur 3</p>
<p>Deux comptes temporaires : Charles, Jacques</p>
<label for="identifiant">Identifiant</label>
<br>
<input type="text" id="identifiant" placeholder="identifiant" v-model="login" >
......
......@@ -3,7 +3,7 @@
<Choix_Mode_Variante class="menuVariante" v-show="variante"></Choix_Mode_Variante>
<div class="notif" v-on:click="choixIconeNotification" v-show="isNotif" v-bind:style="[!variante ? {'margin-left': '90%'} : {'margin-left': '31.78%'}]"></div>
<div class="circle" v-on:click="isAffiche = !isAffiche" v-bind:style="[!isNotif ? {'margin-left': '94.75%'} : {'margin-left': '3%'}]">
<div class="circle" id="menuAuteur" v-on:click="isAffiche = !isAffiche" v-bind:style="[!isNotif ? {'margin-left': '94.75%'} : {'margin-left': '3%'}]">
{{auteur}}
</div>
<div class="menu" v-show="isAffiche">
......@@ -23,7 +23,7 @@ export default {
name: "Menu",
data: function () {
return {
isAffiche: false
isAffiche: false,
}
},
props: ['etat', 'variante', 'isNotif', 'auteur'],
......
......@@ -85,7 +85,7 @@
<Consulter_Contenu @actionContenu="actionContenu" @retour_arriere="retourArriere" v-bind:contenuClique = "contenuClique" v-bind:contenuCliqueProvenance = "contenuCliqueProvenance" v-show="modeConsultation"/>
<div v-show="panierChoisi && !modeConsultation" class="circle" v-on:click="ajouterContenu" v-bind:style="{'margin-left': '95%'}">
<p> Kai Nishikori {{auteur}}</p>
</div>
</div>
......@@ -97,6 +97,7 @@ import 'jquery-ui-bundle'
import Volet_Menu from "@/components/Volet_Menu";
import Volet_Contenu from "@/components/Volet_Contenu";
import Consulter_Contenu from "@/components/Consulter_Contenu";
import Service from '../../src/service/Service'
export default {
name: "Volet_Base",
......@@ -105,6 +106,7 @@ export default {
Volet_Contenu,
Consulter_Contenu
},
props: ['auteur'],
data: function () {
return {
isActif: true,
......@@ -120,18 +122,22 @@ export default {
persoChecked: true,
tiersChecked: true,
enCoursChecked: true,
oui: 0,
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/lE8edjCq7RlcDFu4KeM+aPvg8KB88qbtgxeDDhXefvPgtkOFB+3D+QIOUmEqTIWpMBWmwlSYCj+Vm/bhfAE3HSqc9z2Yd6gwSZIkSbbm+HLQBZfHbgp/tPshn0J7SvKr+NmRwp9uCqcdKZy6Kew9dCLwwU9gb9GJwoWjwjcezu1osDeZzPe123s0OVsxOVJsD/vzyWRvMFLS6ReOCp94ONgVtNt7XmznlRul7F5PnevacMjDQTntXlGBAprW9HZfbPts8qxKTXg4CFNHOyocFdt3Nk0clAHlD46G9MGOClE667Opvcr6dSiLBlNKWaJVhSfFpkx8vwNfPfIx0u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RXJrP/38lcfowgPIWzA8R40mLBp+s0FuOwr+v8HP/J2Kssswa7R+PvJ94B776yv8PEKtosUZ7Sff7iZbDWKH8v5IPEM+l+ewjP96Br79m/v3EKlokSZIkSZIkX81/MjFrMKxwu60AAAAASUVORK5CYII="
}
},
beforeUpdate() {
this.contenus = Service.getPanierAuteur(this.auteur).then(function (response) {
console.log(response.data)
})
},
mounted() {
this.modeConsultation = false
$('#ensemble').draggable()
},
updated() {
alert('susumesusumemayi')
},
methods: {
desactiverVolet: function () {
this.isActif = !this.isActif
......
......@@ -12,5 +12,9 @@ export default {
reponse = response.data
})*/
return axios.get(urlBase + "checkUser?login=" + login + "&password=" + motDePasse)
},
getPanierAuteur(auteur){
return axios.get(urlBase + "getContenuPanier/" + auteur + "?perso=True&tiers=True&enCours=true")
}
}
\ No newline at end of file
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