This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDFLAGS="-L/usr/local/lib -L/sw/lib" | |
CPPFLAGS="-I/sw/include" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.test { | |
-moz-column-count: 3; | |
-moz-column-gap: 20px; | |
-webkit-column-count: 3; | |
-webkit-column-gap: 20px; | |
column-count: 3; | |
column-gap: 20px; | |
} | |
.col { | |
-moz-column-count: 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup lang="ts"> | |
import { supabase } from "../../supabase"; | |
const { data, error } = await supabase.from("quartiercommune").select("*"); | |
if (error) console.log("n'a pas pu charger la table quartiercommune :", error); | |
</script> | |
<template> | |
<section class="flex flex-col"> | |
<h3 class="text-2xl">Liste des quartiers</h3> | |
<ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup lang="ts"> | |
defineProps<{ | |
id?: string; | |
}>(); | |
// TODO | |
</script> | |
<template> | |
<FormKit type="form"> | |
<!-- TODO --> | |
</FormKit> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Charger les données des communes | |
const { data: listeCommune, error } = await supabase | |
.from("Commune") | |
.select("*"); | |
if (error) console.log("n'a pas pu charger la table Commune :", error); | |
// Les convertir par `map` en un tableau d'objets {value, label} pour FormKit | |
const optionsCommune = listeCommune?.map((commune) => ({ | |
value: commune.code_Commune, | |
label: commune.libelle_Commune, | |
})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function supprimerQuartier() { | |
const { data, error } = await supabase | |
.from("Quartier") | |
.delete() | |
.match({ code_Quartier: quartierObject.value.code_Quartier }); | |
if (error) { | |
console.error( | |
"Erreur à la suppression de ", | |
quartierObject.value, | |
"erreur :", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A placer dans le <script setup lang="ts"> de FormBasket.vue | |
const props = defineProps<{ | |
data?: Basket; | |
id?: string; | |
}>(); | |
const chaussure = ref<Basket>(props.data ?? {}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const colors = { | |
"#000000": "Noir", | |
"#FFFFFF": "Blanc", | |
"#FF0000": "Rouge", | |
"#00FF00": "Vert", | |
"#0000FF": "Bleu", | |
"#FFFF00": "Jaune", | |
"#FF00FF": "Magenta", | |
"#00FFFF": "Cyan", | |
"#C0C0C0": "Gris clair", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const materiaux = [ | |
{ | |
value: "http://url/image/cuir", | |
label: "Cuir", | |
}, | |
{ | |
value: "http://url/image/tissu", | |
label: "Tissu", | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup lang="ts"> | |
import { colors } from "@/types"; | |
defineProps<{ | |
name?: string; | |
label?: string; | |
}>(); | |
</script> | |
<template> | |
<FormKit | |
:name="name" |
OlderNewer