From 05cdf24191b7d8cd6dea578b5e8211193bbdeb4d Mon Sep 17 00:00:00 2001 From: Renzo Bauen Date: Sun, 15 Dec 2024 19:06:18 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=BCdenliste=20fertiggestellt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Licensdoglist/assets/frontend.css | 44 +++++++++++++++++-- .../Licensdoglist/templates/frontend.html | 43 +++++++++++++++--- Resources/Private/Language/de.locallang.xlf | 32 ++++++++++++++ .../Private/Language/de.locallang_db.xlf | 2 +- Resources/Private/Language/fr.locallang.xlf | 31 +++++++++++++ .../Private/Language/fr.locallang_db.xlf | 23 ++++++++++ Resources/Private/Language/it.locallang.xlf | 31 +++++++++++++ .../Private/Language/it.locallang_db.xlf | 23 ++++++++++ Resources/Private/Language/locallang.xlf | 26 +++++++++++ Resources/Private/Language/locallang_db.xlf | 2 +- 10 files changed, 247 insertions(+), 10 deletions(-) create mode 100644 Resources/Private/Language/de.locallang.xlf create mode 100644 Resources/Private/Language/fr.locallang.xlf create mode 100644 Resources/Private/Language/fr.locallang_db.xlf create mode 100644 Resources/Private/Language/it.locallang.xlf create mode 100644 Resources/Private/Language/it.locallang_db.xlf create mode 100644 Resources/Private/Language/locallang.xlf diff --git a/ContentBlocks/ContentElements/Licensdoglist/assets/frontend.css b/ContentBlocks/ContentElements/Licensdoglist/assets/frontend.css index d51d211..4f87527 100644 --- a/ContentBlocks/ContentElements/Licensdoglist/assets/frontend.css +++ b/ContentBlocks/ContentElements/Licensdoglist/assets/frontend.css @@ -1,6 +1,44 @@ /* Created by Content Blocks */ -.cptextblock { - border: 1px solid red; - background-color: firebrick; +.licdogslist { + --_clr-accent: var(--clr-brand--primary); + --_clr-header: var(--clr-bw-090); + container: licdogslist / inline-size; + + .licdogs { + display: grid; + gap: var(--gutter); + } + + .licdogcard--devider { + grid-column: 1 / -1; + } + + .licdogcard { + display: grid; + gap: var(--gutter); + grid-template-columns: 1fr; + @container licdogslist (width > 480px) { + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + } + border: 1px solid var(--_clr-accent); + } + + .licdogcard > * { + padding: calc(var(--gutter)/2); + } + + .licdogcard--header { + grid-column: 1 / -1; + color: var(--_clr-header); + } + + .licdogcard--variety-1 { + background-color: var(--_clr-accent); + } + + .licdogcard--variety-2 { + background-color: var(--_clr-accent); + } + } diff --git a/ContentBlocks/ContentElements/Licensdoglist/templates/frontend.html b/ContentBlocks/ContentElements/Licensdoglist/templates/frontend.html index b44373c..7ff4212 100644 --- a/ContentBlocks/ContentElements/Licensdoglist/templates/frontend.html +++ b/ContentBlocks/ContentElements/Licensdoglist/templates/frontend.html @@ -4,7 +4,7 @@ -
+

Museau Normale

-

Face Rase

+

Face Rase

{dog.data.p_variety}
-
-

{dog.data.p_name}

-

{dog.data.p_birth_date}

+
+

{dog.data.p_name} {dog.kennels.0.data.k_name}

+
+

+
+ : {dog.data.p_color}
+ : {dog.data.p_size}
+ :
+ + PDF-{idocs.cycle}
+
+
+
+

+ {dog.data.p_first_name} {dog.data.p_last_name}
+ {dog.data.p_address -> f:format.nl2br()}
+ {dog.data.p_mobile}
+ {dog.data.p_email}
+ {dog.data.p_web}
+
+
+

+ {dog.kennels.0.data.k_name}
+ {dog.kennels.0.data.k_first_name} {dog.kennels.0.data.k_last_name}
+ {dog.kennels.0.data.k_web} +
+
+ + + +
diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf new file mode 100644 index 0000000..b0d2bf3 --- /dev/null +++ b/Resources/Private/Language/de.locallang.xlf @@ -0,0 +1,32 @@ + + + +
+ + + Breeder + Züchter + + + Dog + Hund + + + Color + Farbe + + + Result of the approval + Resultat der Ankörung + + + Size + Grösse + + + Owner + Besitzer + + +
+
diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf index c15df35..f13c3ad 100644 --- a/Resources/Private/Language/de.locallang_db.xlf +++ b/Resources/Private/Language/de.locallang_db.xlf @@ -1,6 +1,6 @@ - +
diff --git a/Resources/Private/Language/fr.locallang.xlf b/Resources/Private/Language/fr.locallang.xlf new file mode 100644 index 0000000..69b427d --- /dev/null +++ b/Resources/Private/Language/fr.locallang.xlf @@ -0,0 +1,31 @@ + + + + + + Breeder + Éleveur + + + Dog + Ètalon + + + Color + Couleur + + + Result of the approval + Résultat de la sélection + + + Size + Taille + + + Owner + Propriétaire + + + + diff --git a/Resources/Private/Language/fr.locallang_db.xlf b/Resources/Private/Language/fr.locallang_db.xlf new file mode 100644 index 0000000..9b75857 --- /dev/null +++ b/Resources/Private/Language/fr.locallang_db.xlf @@ -0,0 +1,23 @@ + + + + + + Kennel Management + Gestion de l'élevage + + + Kennel + Centre d'élevage + + + Litter + Annonce de saillie et de portée + + + Pedigree + Pedigree + + + + diff --git a/Resources/Private/Language/it.locallang.xlf b/Resources/Private/Language/it.locallang.xlf new file mode 100644 index 0000000..0fe95ba --- /dev/null +++ b/Resources/Private/Language/it.locallang.xlf @@ -0,0 +1,31 @@ + + + + + + Breeder + Allevatore + + + Dog + Cane + + + Color + Colore + + + Result of the approval + Risultato dell'approvazione + + + Size + Altezza + + + Owner + Proprietario + + + + diff --git a/Resources/Private/Language/it.locallang_db.xlf b/Resources/Private/Language/it.locallang_db.xlf new file mode 100644 index 0000000..d2f3640 --- /dev/null +++ b/Resources/Private/Language/it.locallang_db.xlf @@ -0,0 +1,23 @@ + + + + + + Kennel Management + Amministrazione dell'allevamento + + + Kennel + Centro di allevamento + + + Litter + Rapporto sugli stalloni e sulla cucciolata + + + Pedigree + Albero genealogico + + + + diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf new file mode 100644 index 0000000..c9a927d --- /dev/null +++ b/Resources/Private/Language/locallang.xlf @@ -0,0 +1,26 @@ + + + +
+ + + Breeder + + + Dog + + + Color + + + Result of the approval + + + Size + + + Owner + + +
+
diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index 4436832..c139507 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -1,6 +1,6 @@ - +