Compare commits
No commits in common. "f9ee12ab6f274544145fd95f3dc353c6362b80f3" and "fa96bd2b0dad8ebdf1dca8931c4a9232e2955971" have entirely different histories.
f9ee12ab6f
...
fa96bd2b0d
@ -261,7 +261,6 @@ const startEditing = (index: number) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
//FOR LOCAL HOST
|
|
||||||
const saveEdit = async (index: number) => {
|
const saveEdit = async (index: number) => {
|
||||||
try {
|
try {
|
||||||
const id = index + 1; // À adapter selon l'ID réel des données
|
const id = index + 1; // À adapter selon l'ID réel des données
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import CanvasItem from "@/components/canvas/CanvasItem.vue";
|
import CanvasItem from "@/components/canvas/CanvasItem.vue";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
@ -87,7 +87,6 @@ const items = ref([
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/*
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const bootstrapCss = document.createElement("link");
|
const bootstrapCss = document.createElement("link");
|
||||||
bootstrapCss.rel = "stylesheet";
|
bootstrapCss.rel = "stylesheet";
|
||||||
@ -106,7 +105,6 @@ onMounted(() => {
|
|||||||
bootstrapJs.crossOrigin = "anonymous";
|
bootstrapJs.crossOrigin = "anonymous";
|
||||||
document.body.appendChild(bootstrapJs);
|
document.body.appendChild(bootstrapJs);
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<div v-if="choix === 'joindre'" class="message-indispo">
|
<div v-if="choix === 'joindre'" class="message-indispo">
|
||||||
<h2>Joindre un projet</h2>
|
<h2>Joindre un projet</h2>
|
||||||
<p>Cette fonctionnalité n'est pas encore disponible.</p>
|
<p>⚠️ Cette fonctionnalité n'est pas encore disponible.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -54,6 +54,7 @@ const validerCreation = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
alert(`Projet "${nomProjet.value}" créé avec succès !`);
|
alert(`Projet "${nomProjet.value}" créé avec succès !`);
|
||||||
|
// Tu peux ensuite naviguer ou faire un POST ici
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user