Compare commits

...

9 Commits

Author SHA1 Message Date
echarp
3fd0a25c70 Integrity management for external js 2023-05-07 17:51:04 +02:00
www-data
6cc1d97fec -title: Hello world 2023-05-07 17:44:08 +02:00
www-data
ca08bc9d8c -title: Nouveau chapitre
+title: Hello world
2023-05-07 17:01:18 +02:00
www-data
765ca9a111 +title: Nouveau chapitre 2023-05-07 17:01:07 +02:00
www-data
046a92a618 M bin/acoeur.conf
M  content/pages/1er-quiz/start.md
 M themes/acoeur/assets/ananke/css/custom.css
 M themes/acoeur/assets/js/misc.js
 M themes/acoeur/assets/js/notes.js
 M themes/acoeur/assets/js/prop.js
 M themes/acoeur/assets/js/setup.js
 M themes/acoeur/layouts/partials/head-additions.html
2023-05-04 18:17:35 +02:00
www-data
a05ee351bc -title: Ne te décourage pas
+title: Chapitre 01
2023-05-04 18:07:19 +02:00
www-data
d50d4f76b5 title: 1er quiz
+title: Ne te décourage pas
-title: Chapitre 01
2023-05-04 18:07:17 +02:00
www-data
7403ca09a7 -title: Ne te décourage pas
+title: Chapitre 01
2023-05-04 18:07:06 +02:00
www-data
44a8f5b7a0 title: 1er quiz
title: 1er quiz
+title: Ne te décourage pas
-title: Chapitre 01
2023-05-04 18:07:04 +02:00
6 changed files with 18 additions and 10 deletions

View File

@ -7,7 +7,7 @@
<Directory /var/simpleWeb/apps/acoeur/*>
AuthUserFile /home/manu/Adata/.htaccessPasswords
AuthName "Quiz d'A Livr'Ouvert"
AuthName "Moteur acoeur"
AuthType Basic
Require user mag manu amelie tiffany
</Directory>
@ -32,7 +32,8 @@
CustomLog /var/simpleWeb/log/apache/acoeur.log combined
Header always set Access-Control-Allow-Origin "cdnjs.cloudflare.com"
# Some level of protection against attacks
Header always set Access-Control-Allow-Origin "https://cdn.jsdelivr.net"
</VirtualHost>
<VirtualHost *:80>

View File

@ -1,5 +1,6 @@
---
title: 1er quiz
featured_image: /../../../../../assets/Swallow_flying_drinking.jpg
ac_create:
- /pages/1er-quiz/start
---

View File

@ -6,5 +6,6 @@ ac_choices:
- "[Un crin de la licorne retrouvée morte dans la forêt interdite plus loin dans l'histoire](/pages/1er-quiz/erreur)"
- "[Une plume d'un phénix dont on ne connait pas le nom ni l'histoire](/pages/1er-quiz/erreur)"
- "[Une écaille de Nagini, le serpent de Voldemort](/pages/1er-quiz/erreur)"
---
Qu'y a-t-il à l'intérieur de la baguette d'Harry?

View File

@ -2,6 +2,6 @@
title: 1er quiz
ac_create:
- /pages/1er-quiz/start
ac_errors: 24
ac_errors: 26
ac_total: 31
---

View File

@ -1,14 +1,14 @@
<script>const file = '{{ .File }}'</script>
<script defer
src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.4.2/tinymce.min.js"
integrity="sha512-sWydClczl0KPyMWlARx1JaxJo2upoMYb9oh5IHwudGfICJ/8qaCyqhNTP5aa9Xx0aCRBwh71eZchgz0a4unoyQ==">
</script>
src="https://cdn.jsdelivr.net/npm/tinymce@6.4.2/tinymce.min.js"
integrity="sha256-IkzPrE0TvQ1UKCWBCCRVNpDBU3CxMyQE6yLepGnV1sA="
crossorigin="anonymous"></script>
<script defer
src="https://cdn.jsdelivr.net/npm/easyqrcodejs@4.4.13/dist/easy.qrcode.min.js"
integrity="sha256-ysnj5Mp9adRzpXyhbGW2YTdUSpdapignH3Z57bMq6G8=">
</script>
src="https://cdn.jsdelivr.net/npm/easyqrcodejs@4.4.13/dist/easy.qrcode.min.js"
integrity="sha256-ysnj5Mp9adRzpXyhbGW2YTdUSpdapignH3Z57bMq6G8="
crossorigin="anonymous"></script>
{{ with resources.Get "js/misc.js" | minify | fingerprint }}
<script defer src="{{ .Permalink }}"></script>
@ -41,3 +41,8 @@
{{ with resources.Get "js/prettify.js" | minify | fingerprint }}
<script defer src="{{ .Permalink }}"></script>
{{ end }}
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/tinymce@6.4.2/skins/ui/oxide/content.min.css"
integrity="sha256-ml3zmaOLzm/5Si2U6xuyLoBd9Vb+ltL2pBwZuz3hBxU="
crossorigin="anonymous">