commit ed32022d7e09287655b6741f68b838f0d45f674b Author: Florian Schmitt Date: Thu Jan 30 11:10:44 2025 +0300 initial commit diff --git a/css-presets/PIMP.css b/css-presets/PIMP.css new file mode 100644 index 0000000..5251f3c --- /dev/null +++ b/css-presets/PIMP.css @@ -0,0 +1,61 @@ +:root { + --primary-color: #99da2a; + --secondary-color-1: #759440; + --secondary-color-2: #737a66; + --neutral-color: #414737; + --neutral-soft-color: #b2e060; + --neutral-light-color: #f2f2f2; + --main-text-fontsize: 17px; + --main-text-fontfamily: 'Cabin', sans-serif; + --main-title-fontfamily: 'Cabin Sketch', sans-serif; +} + + +@font-face { + font-family: 'Cabin'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../../custom/fonts/cabin/cabin-normal-400-.woff2') format('woff2'), + url('../../custom/fonts/cabin/cabin-normal-400-.woff') format('woff'), + url('../../custom/fonts/cabin/cabin-normal-400-.ttf') format('truetype'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin */ +@font-face { + font-family: 'Cabin'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../../custom/fonts/cabin/cabin-normal-400-latin.woff2') format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* latin-ext */ +@font-face { + font-family: 'Cabin'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../../custom/fonts/cabin/cabin-normal-400-latin-ext.woff2') format('woff2'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { + font-family: 'Cabin Sketch'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../../custom/fonts/cabin-sketch/cabin-sketch-normal-400-.woff2') format('woff2'), + url('../../custom/fonts/cabin-sketch/cabin-sketch-normal-400-.woff') format('woff'), + url('../../custom/fonts/cabin-sketch/cabin-sketch-normal-400-.ttf') format('truetype'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* latin */ +@font-face { + font-family: 'Cabin Sketch'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../../custom/fonts/cabin-sketch/cabin-sketch-normal-400-latin.woff2') format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/fonts/cabin-sketch/cabin-sketch-normal-400-.ttf b/fonts/cabin-sketch/cabin-sketch-normal-400-.ttf new file mode 100644 index 0000000..3b1943d Binary files /dev/null and b/fonts/cabin-sketch/cabin-sketch-normal-400-.ttf differ diff --git a/fonts/cabin-sketch/cabin-sketch-normal-400-.woff b/fonts/cabin-sketch/cabin-sketch-normal-400-.woff new file mode 100644 index 0000000..fecd3af Binary files /dev/null and b/fonts/cabin-sketch/cabin-sketch-normal-400-.woff differ diff --git a/fonts/cabin-sketch/cabin-sketch-normal-400-.woff2 b/fonts/cabin-sketch/cabin-sketch-normal-400-.woff2 new file mode 100644 index 0000000..5b052bb Binary files /dev/null and b/fonts/cabin-sketch/cabin-sketch-normal-400-.woff2 differ diff --git a/fonts/cabin-sketch/cabin-sketch-normal-400-latin.woff2 b/fonts/cabin-sketch/cabin-sketch-normal-400-latin.woff2 new file mode 100644 index 0000000..5b052bb Binary files /dev/null and b/fonts/cabin-sketch/cabin-sketch-normal-400-latin.woff2 differ diff --git a/fonts/cabin/cabin-normal-400-.ttf b/fonts/cabin/cabin-normal-400-.ttf new file mode 100644 index 0000000..68d6c36 Binary files /dev/null and b/fonts/cabin/cabin-normal-400-.ttf differ diff --git a/fonts/cabin/cabin-normal-400-.woff b/fonts/cabin/cabin-normal-400-.woff new file mode 100644 index 0000000..fed1e63 Binary files /dev/null and b/fonts/cabin/cabin-normal-400-.woff differ diff --git a/fonts/cabin/cabin-normal-400-.woff2 b/fonts/cabin/cabin-normal-400-.woff2 new file mode 100644 index 0000000..42d9471 Binary files /dev/null and b/fonts/cabin/cabin-normal-400-.woff2 differ diff --git a/fonts/cabin/cabin-normal-400-latin-ext.woff2 b/fonts/cabin/cabin-normal-400-latin-ext.woff2 new file mode 100644 index 0000000..73092a9 Binary files /dev/null and b/fonts/cabin/cabin-normal-400-latin-ext.woff2 differ diff --git a/fonts/cabin/cabin-normal-400-latin.woff2 b/fonts/cabin/cabin-normal-400-latin.woff2 new file mode 100644 index 0000000..3f60464 Binary files /dev/null and b/fonts/cabin/cabin-normal-400-latin.woff2 differ diff --git a/templates/bazar/assets/Instructions_pliage_recto.jpg b/templates/bazar/assets/Instructions_pliage_recto.jpg new file mode 100644 index 0000000..6a10bd6 Binary files /dev/null and b/templates/bazar/assets/Instructions_pliage_recto.jpg differ diff --git a/templates/bazar/assets/Instructions_pliage_verso.jpg b/templates/bazar/assets/Instructions_pliage_verso.jpg new file mode 100644 index 0000000..a67477f Binary files /dev/null and b/templates/bazar/assets/Instructions_pliage_verso.jpg differ diff --git a/templates/bazar/assets/PIMP_TA_BALADE_vert.svg b/templates/bazar/assets/PIMP_TA_BALADE_vert.svg new file mode 100644 index 0000000..c4e8e6c --- /dev/null +++ b/templates/bazar/assets/PIMP_TA_BALADE_vert.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/bazar/assets/PIMP_vert.svg b/templates/bazar/assets/PIMP_vert.svg new file mode 100644 index 0000000..68a23b7 --- /dev/null +++ b/templates/bazar/assets/PIMP_vert.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/templates/bazar/assets/coq_wallonie_soutien.svg b/templates/bazar/assets/coq_wallonie_soutien.svg new file mode 100644 index 0000000..afef3d3 --- /dev/null +++ b/templates/bazar/assets/coq_wallonie_soutien.svg @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/bazar/assets/instructions.png b/templates/bazar/assets/instructions.png new file mode 100644 index 0000000..044a978 Binary files /dev/null and b/templates/bazar/assets/instructions.png differ diff --git a/templates/bazar/assets/petits_pas.svg b/templates/bazar/assets/petits_pas.svg new file mode 100644 index 0000000..bb629c9 --- /dev/null +++ b/templates/bazar/assets/petits_pas.svg @@ -0,0 +1,1205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/bazar/fiche-20.tpl.html b/templates/bazar/fiche-20.tpl.html new file mode 100644 index 0000000..cc7801a --- /dev/null +++ b/templates/bazar/fiche-20.tpl.html @@ -0,0 +1,309 @@ +renderStaticIfPermitted($fiche, $GLOBALS['wiki']->GetUsername()); + } + echo $renderedEntry; + echo ' Imprimer cette fiche'; +} else { + $imgwidth = $imgheight = 600; + $imgCarree = ''; +if (isset($fiche['imagebf_image']) && $fiche['imagebf_image']!='') { + $imgCarree = ''.$fiche['bf_titre'].''; +} + +$imgCarree2 = ''; +if (isset($fiche['imagebf_image1']) && $fiche['imagebf_image1']!='') { + $imgCarree2 = ''.$fiche['bf_titre'].''; +} else { + $imgCarree2 = $imgCarree; + $fiche['bf_credit2'] = $fiche['bf_credit']; +} + +$qrcode = 'vers fiche'.$GLOBALS['wiki']->format('{{qrcode text="' . $GLOBALS['wiki']->href('', $fiche['id_fiche']) . '"}}').''; +$qrcodeurl = ''; +if (!empty($fiche['bf_url'])) { +$qrcodeurl = 'l\'info en +'.$GLOBALS['wiki']->format('{{qrcode text="'.$fiche['bf_url'].'"}}').''; +} else { + $qrcodeurl = $qrcode; +} + +$structure = !empty($fiche['bf_structure']) ? $fiche['bf_structure'] : $fiche['bf_nom_contributeur']; + +echo <<