From f60167ad6ba4ef8d759c6434a49dc2b4387b4faa Mon Sep 17 00:00:00 2001 From: Sergiusz Warga Date: Mon, 23 Nov 2020 08:43:39 +0100 Subject: [PATCH] Added fourth Pensum --- app/templates/LLPSI/LLPSI.html | 3 +++ app/templates/LLPSI/Pensum_cloze.html | 4 ++-- app/templates/Pensa/04_Dominus_et_Servi_Pensum_A | 1 + app/templates/Pensa/04_Dominus_et_Servi_Pensum_A.html | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 app/templates/Pensa/04_Dominus_et_Servi_Pensum_A create mode 100644 app/templates/Pensa/04_Dominus_et_Servi_Pensum_A.html diff --git a/app/templates/LLPSI/LLPSI.html b/app/templates/LLPSI/LLPSI.html index 124b425..6f6660b 100644 --- a/app/templates/LLPSI/LLPSI.html +++ b/app/templates/LLPSI/LLPSI.html @@ -6,6 +6,9 @@

Lingua Latina Per Se Illustrata


+

Imperium Romanum


Pensum A +

Dominus et servi


+ Pensum A \ No newline at end of file diff --git a/app/templates/LLPSI/Pensum_cloze.html b/app/templates/LLPSI/Pensum_cloze.html index 3328954..45d3613 100644 --- a/app/templates/LLPSI/Pensum_cloze.html +++ b/app/templates/LLPSI/Pensum_cloze.html @@ -8,10 +8,10 @@ const forms = document.querySelectorAll('form'); const form = forms[0]; - + console.log('dupa'); Array.from(form.elements).forEach((input) => { if (input.type=="text") { - input.setAttribute("size", input.dataset.expected.length); + input.setAttribute("size", input.dataset.expected.length + 1); } }); } diff --git a/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A b/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A new file mode 100644 index 0000000..6fa8d1c --- /dev/null +++ b/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A @@ -0,0 +1 @@ +Me-edus ad_est_. Da-avus ab_est_. Iu-ulius imper_at_: "Voc_a-a_ Da-avum, Me-ed_e_!" Me-edus Da-avum voc_at_: "Da-av_e_! Ven_i-i_!" Da-avus ven_it_ neque Iu-ulium vid_et_. Me-edus: "Salu-ut_a-a_ dominum!" Da-avus dominum salu-ut_at_: "Salve-e, domine-e! Quid est?" Dominus: "Tac_e-e_, serv_e_! Nummi-i mei-i ubi sunt?" Servus tac_et_ neque respond_et_. Iu-ulius: "Respond_e-e_!" Da-avus: "Interrog_a-a_ Me-edum!" Iu-ulius Me-edum interrog_at_: "Ubi est " \ No newline at end of file diff --git a/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A.html b/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A.html new file mode 100644 index 0000000..b31929b --- /dev/null +++ b/app/templates/Pensa/04_Dominus_et_Servi_Pensum_A.html @@ -0,0 +1 @@ +Mēdus ad. Dāvus ab. Iūlius imper: "Voc Dāvum, Mēd!" Mēdus Dāvum voc: "Dāv! Ven!" Dāvus ven neque Iūlium vid. Mēdus: "Salūt dominum!" Dāvus dominum salūt: "Salvē, dominē! Quid est?" Dominus: "Tac, serv! Nummī meī ubi sunt?" Servus tac neque respond. Iūlius: "Respond!" Dāvus: "Interrog Mēdum!" Iūlius Mēdum interrog: "Ubi est " \ No newline at end of file