commit 1abc92aa1e7540776690d91527f3b84fa63b634a Author: erreur401 Date: Fri Sep 15 10:32:32 2023 +0200 fisrt commit diff --git a/app.py b/app.py new file mode 100644 index 0000000..62b2595 --- /dev/null +++ b/app.py @@ -0,0 +1,73 @@ +from flask import Flask +from flask import render_template, request +from flaskext.markdown import Markdown +from flask_flatpages import FlatPages +import markdown2, os + +app = Flask(__name__) +application = app + +FLATPAGES_EXTENSION = '.md' +FLATPAGES_MARKDOWN_EXTENSIONS = ['extra'] +FLATPAGES_AUTO_RELOAD = True + +BASE_DIR = os.path.abspath(os.path.dirname(__file__)) +app.config.from_object(__name__) + +Markdown(app) +pages = FlatPages(app) +pages.get('foo') + +def Liste_cat(): + articles = (p for p in pages if 'date' in p.meta and 'type' in p.meta and p.meta['type']=='blog') + catList = [] + for a in articles: + catList.append(a.meta['category']) + catList = list(dict.fromkeys(catList)) + return catList + +def imagelist(articlename): + dir_path = os.path.dirname(os.path.realpath(articlename))+'/pages/blog/' + gallery_path = os.path.join(dir_path, articlename) + if os.path.exists(gallery_path): + images = [f for f in os.listdir(gallery_path) if f.endswith('.jpg') or f.endswith('.jpeg') or f.endswith('.png') or f.endswith('.gif')] + return gallery_path ,images + else: + return None, None + +@app.route('/') +@app.route('/home/') +def index(): + infobox = pages.get('info-box') + page = pages.get_or_404('home') + return render_template('home.html' , page=page , infobox=infobox ) + +@app.route('//') +def pageStat(path): + page = pages.get_or_404(path) + return render_template('home.html' , page=page ) + + +@app.route('/pages/') +def serve_pages(path): + return send_from_directory('pages', path) + +@app.route('/blog/') +def blog(): + articles = (p for p in pages if 'date' in p.meta and 'type' in p.meta and p.meta['type']=='blog') + latest = sorted(articles, reverse=True, + key=lambda p: p.meta['date']) + catList = Liste_cat() + return render_template('archive.html', articles=latest , catList=catList ) + +@app.route('/actu/') +def actu(): + articles = (p for p in pages if 'date' in p.meta and 'type' in p.meta and p.meta['type']=='actu') + latest = sorted(articles, reverse=True, + key=lambda p: p.meta['date']) + catList = Liste_cat() + return render_template('archive.html', articles=latest , catList=catList ) + +if __name__ == '__main__': + app.run(host='0.0.0.0') + diff --git a/pages/a-propos.md b/pages/a-propos.md new file mode 100644 index 0000000..aec8236 --- /dev/null +++ b/pages/a-propos.md @@ -0,0 +1,48 @@ +--- +title: a-propos +date: 2020-04-13 +author: l'aile +--- + + + +# Qui nous sommes? + +L'Aile est une maison de quartier située à Etterbeek, entre le métro Thieffry et la place Saint Pierre. Elle est implantée dans les logements sociaux de la Plaine de Boncelles et est ouverte à tous les enfants et les familles du quartier. L'Aile se concentre sur le soutien scolaire : pour les enfants entre 6 et 16 ans et leurs parents. + +![image](/static/md_files/image/DSC01492.JPG){.filter} + +# Ce que nous faisons + +L’Aile est un espace d’accueil chaleureux où l’enfant peut trouver de l’aide, une écoute, des conseils, de la bienveillance, des activités culturelles et émancipatrices qui le soutiendront dans sa scolarité. Accueillir et soutenir l’enfant et sa famille de façon plurielle, serait une des manières de résumer la mission de notre maison de quartier. +L'Aile organise des séances de soutien scolaire les jours de la semaine, après l’école. Les week-ends et pendant les vacances, nous organisons aussi des activités, des excursions, des ateliers, des stages. +Vous pouvez consulter notre projet pédagogique et notre page Facebook pour en savoir plus sur notre travail. + +# Notre philosophie + +L’Aile veut donner une place à chaque enfant : avec ses spécificités, son histoire. Nous voulons que chacun et chacune puisse évoluer à son rythme, s’appuyer sur ses spécificités. En même temps, nous voulons encourager l’entraide, l’approche collective, le souci du partage, de la solidarité entre enfants, famille et habitant.e.s du quartier. +Le rôle de l'Aile est, avec les écoles, de soutenir les enfants et les familles à tirer le meilleur de leur cursus scolaire, et ce malgré toutes les difficultés actuelles. Ce faisant, nous ne pouvons que nous faire écho des problèmes sociaux et des injustices qui frappent les enfants et les écoles. Nous voulons promouvoir une société plus égalitaire et plus solidaire. + +![image](/static/md_files/image/DSC01622.JPG){.filter} + +# Notre équipe + +L’Aile est sous la responsabilité de Camille. +L’Aile c’est aussi une équipe de bénévoles pour encadrer les enfants après l’école, pour accompagner les excursions, pour aider aux tâches administratives.
+Enfin, l’Aile est sous la responsabilité de son Conseil d’administration. + + +# Partenaires : + +![Etterbeek](/static/md_files/image/logo_partenaire-laile_etterbeek.svg){.img-logo} + +![Fondation Roi Baudouin](/static/md_files/image/logo_partenaire-laile-fondation.svg){.img-logo} + +![ONE](/static/md_files/image/logo_partenaires.png){.img-logo} + +![Bruxelles Francophones](/static/md_files/image/Logo_Francophones_Bruxelles_GRIS.png){.img-logo} + +![Cocof](/static/md_files/image/logo-cocof.png){.img-logo} + +![Arc en ciel](/static/md_files/image/logo_arc_en_ciel.png){.img-logo} + diff --git a/pages/actu/vimavim.md b/pages/actu/vimavim.md new file mode 100644 index 0000000..69d068d --- /dev/null +++ b/pages/actu/vimavim.md @@ -0,0 +1,71 @@ +--- +title: VIM basics +author: zvevqx +date: 2025-11-22 +category: linux +desc: ws +type: actu +--- + + +# Vim Editor + +Vim is a powerful and popular text editor that runs in the command-line interface. It is known for its efficient and customizable editing features that allow users to edit text with speed and precision. + +## Basic Vim Commands + +Here are some of the basic Vim commands you should know: + +* `i`: Enters insert mode, allowing you to insert text. +* `Esc`: Exits insert mode and returns to command mode. +* `:w`: Writes the file to disk. +* `:q`: Quits Vim. +* `:q!`: Quits Vim without saving changes. +* `:wq`: Writes the file to disk and quits Vim. +* `yy`: Copies the current line to the clipboard. +* `dd`: Deletes the current line. +* `p`: Pastes the clipboard contents after the cursor. +* `/`: Searches for a pattern in the text. +* `n`: Jumps to the next occurrence of the pattern. +* `N`: Jumps to the previous occurrence of the pattern. + +## Advanced Vim Commands + +Here are some of the advanced Vim commands you can use to improve your editing workflow: + +* `u`: Undoes the last change. +* `Ctrl + r`: Redoes the last change. +* `o`: Inserts a new line below the cursor and enters insert mode. +* `O`: Inserts a new line above the cursor and enters insert mode. +* `:s/pattern/replacement/g`: Replaces all occurrences of a pattern with a replacement string. +* `:%s/pattern/replacement/g`: Replaces all occurrences of a pattern with a replacement string in the entire file. +* `:w !sudo tee %`: Writes the current file with sudo privileges. + +## Vim Cheat Sheet + +Here's a cheat sheet of common Vim commands: + +| Command | Description | +| --- | --- | +| `i` | Enter insert mode | +| `Esc` | Exit insert mode | +| `:w` | Write file | +| `:q` | Quit Vim | +| `:q!` | Quit Vim without saving | +| `:wq` | Write file and quit | +| `yy` | Copy current line | +| `dd` | Delete current line | +| `p` | Paste clipboard contents after cursor | +| `/pattern` | Search for pattern | +| `n` | Jump to next occurrence of pattern | +| `N` | Jump to previous occurrence of pattern | +| `u` | Undo last change | +| `Ctrl + r` | Redo last change | +| `o` | Insert new line below cursor | +| `O` | Insert new line above cursor | +| `:s/pattern/replacement/g` | Replace all occurrences of pattern with replacement | +| `:%s/pattern/replacement/g` | Replace all occurrences of pattern with replacement in entire file | +| `:w !sudo tee %` | Write file with sudo privileges | + +Use this cheat sheet as a reference as you become more familiar with Vim. With practice, you'll be able to use Vim to edit text with speed and efficiency. + diff --git a/pages/aider.md b/pages/aider.md new file mode 100644 index 0000000..b9d03fe --- /dev/null +++ b/pages/aider.md @@ -0,0 +1,39 @@ +--- +title: aider +date: 2020-12-04 +author: l'aile +--- + + + + +# Devenir bénévole + +L’Aile invite les habitant.e.s du quartier à s’impliquer de manière bénévole. Elles et ils soutiennent les enfants de leur quartier via notre programme de soutien scolaire ou pour d’autres tâches (administration, organisations d’ateliers, accompagnement lors d’excursions). Nous sommes convaincu.e.s que l’engagement volontaire et citoyen constitue une plus-value pour les enfants et les habitant.e.s. C’est pourquoi l’Aile travaille avec des bénévoles du quartier, de toutes les générations, tous les genres, toutes les cultures. + +[Devenir bénévole !](mailto:asb_aile@hotmail.com) + +![image](/static/md_files/image/DSC01445.JPG){.filter} + +# Nous soutenir financièrement + +Pour soutenir notre projet, vous pouvez aussi contribuer financièrement.
+ +Ces dons serviront à :

+ • Acheter du matériel scolaire
+ • Faire appel aux services de psychologues et/ou logopède pour les enfants qui en ont besoin et n’ont pas trouvé de professionnel.le.s disponibles et conventionné.e.s.
+ • Organiser des séjours et des camps pour les enfants.
+ • Acheter des manuels scolaires récents.
+ • Organiser des ateliers scientifiques et pédagogiques animés par des professionnel.le.s.
+ +![image](/static/md_files/image/DSC01580.jpg){.filter} + +# Comment faire un don ? + +Verser votre contribution sur le compte de l’asbl arc-en-ciel (notre partenaire facilitant la récolte de fonds),
+au n° BE41 6300 1180 0010. +En communication libre, écrire : *Votre Nom et Prénom, votre adresse et Projet 66* + +N’oubliez pas de mentionner qu’il s’agit du projet 66. + +Dès 40€, l’asbl Arc-En-Ciel enverra, à votre adresse, une attestation fiscale, et ce dans le courant de l’année suivant le versement. diff --git a/pages/blog/test01.md b/pages/blog/test01.md new file mode 100644 index 0000000..bb75b1e --- /dev/null +++ b/pages/blog/test01.md @@ -0,0 +1,20 @@ +--- +title: test2 +date: 2020-11-04 +author: marie +type: blog +category: life +--- + + + +# Comment s’inscrire, comment nous contacter ? + +L'inscription annuelle est de 10€, une rencontre avec les parents est organisée au moment de l’inscription. +
Notre adresse :
Rue Jean Massart 1, 1040 Etterbeek (Metro Thieffry) +
Téléphone : 0473/18.27.06 + +[asb_aile@hotmail.com](mailto:asb_aile@hotmail.com) + + + diff --git a/pages/blog/test01/tumblr_bf2e21a4e9ab509bdd33db950cc67a54_c8e5c0ef_1280.jpg b/pages/blog/test01/tumblr_bf2e21a4e9ab509bdd33db950cc67a54_c8e5c0ef_1280.jpg new file mode 100644 index 0000000..7fb1b71 Binary files /dev/null and b/pages/blog/test01/tumblr_bf2e21a4e9ab509bdd33db950cc67a54_c8e5c0ef_1280.jpg differ diff --git a/pages/blog/test01/tumblr_ce161bba895492c13226e845dd41e864_17a08d91_1280.png b/pages/blog/test01/tumblr_ce161bba895492c13226e845dd41e864_17a08d91_1280.png new file mode 100644 index 0000000..36a2eb2 Binary files /dev/null and b/pages/blog/test01/tumblr_ce161bba895492c13226e845dd41e864_17a08d91_1280.png differ diff --git a/pages/blog/test01/tumblr_d89a2dad1a0a6fe7f0dcd89e8508d277_fc085122_1280.jpg b/pages/blog/test01/tumblr_d89a2dad1a0a6fe7f0dcd89e8508d277_fc085122_1280.jpg new file mode 100644 index 0000000..f153a06 Binary files /dev/null and b/pages/blog/test01/tumblr_d89a2dad1a0a6fe7f0dcd89e8508d277_fc085122_1280.jpg differ diff --git a/pages/blog/test02.md b/pages/blog/test02.md new file mode 100644 index 0000000..044e814 --- /dev/null +++ b/pages/blog/test02.md @@ -0,0 +1,20 @@ +--- +title: test3 +date: 2020-11-04 +author: marie +type: blog +category: life +--- + + + +# Comment s’inscrire, comment nous contacter ? + +L'inscription annuelle est de 10€, une rencontre avec les parents est organisée au moment de l’inscription. +
Notre adresse :
Rue Jean Massart 1, 1040 Etterbeek (Metro Thieffry) +
Téléphone : 0473/18.27.06 + +[asb_aile@hotmail.com](mailto:asb_aile@hotmail.com) + + + diff --git a/pages/contact.md b/pages/contact.md new file mode 100644 index 0000000..b9cd79b --- /dev/null +++ b/pages/contact.md @@ -0,0 +1,16 @@ +--- +title: contact +date: 2020-11-04 +author: l'aile +--- + +# Comment s’inscrire, comment nous contacter ? + +L'inscription annuelle est de 10€, une rencontre avec les parents est organisée au moment de l’inscription. +
Notre adresse :
Rue Jean Massart 1, 1040 Etterbeek (Metro Thieffry) +
Téléphone : 0473/18.27.06 + +[asb_aile@hotmail.com](mailto:asb_aile@hotmail.com) + + + diff --git a/pages/home.md b/pages/home.md new file mode 100644 index 0000000..5ab77a8 --- /dev/null +++ b/pages/home.md @@ -0,0 +1,17 @@ +--- +title: home +date: 2020-11-04 +author: l'aile +--- + + + +# Qui sommes-nous? + +La Petite École est un dispositif pédagogique et thérapeutique de pré-scolarisation unique en Fédération Wallonie Bruxelles, fondée par deux enseignantes en 2016. + +La Petite École est un lieu de transition vers l’école pour des enfants de l’exil, jamais ou peu scolarisés. + +Située dans une ancienne boutique des Marolles, elle offre un espace discret et accueillant. Elle propose une première expérience de l’école et de ses codes. + +Ce dispositif, à la fois souple et structuré, permet aux enfants d’être disponibles aux apprentissages et de s’inscrire dans un projet scolaire. diff --git a/pages/image/DSC01445.JPG b/pages/image/DSC01445.JPG new file mode 100644 index 0000000..6e4e33c Binary files /dev/null and b/pages/image/DSC01445.JPG differ diff --git a/pages/image/DSC01449.JPG b/pages/image/DSC01449.JPG new file mode 100644 index 0000000..b9aa7eb Binary files /dev/null and b/pages/image/DSC01449.JPG differ diff --git a/pages/image/DSC01492.JPG b/pages/image/DSC01492.JPG new file mode 100644 index 0000000..6c4e3c2 Binary files /dev/null and b/pages/image/DSC01492.JPG differ diff --git a/pages/image/DSC01580.jpg b/pages/image/DSC01580.jpg new file mode 100644 index 0000000..e3c61a9 Binary files /dev/null and b/pages/image/DSC01580.jpg differ diff --git a/pages/image/DSC01622.JPG b/pages/image/DSC01622.JPG new file mode 100644 index 0000000..f190265 Binary files /dev/null and b/pages/image/DSC01622.JPG differ diff --git a/pages/image/Logo_Francophones_Bruxelles_GRIS.png b/pages/image/Logo_Francophones_Bruxelles_GRIS.png new file mode 100644 index 0000000..cdd4308 Binary files /dev/null and b/pages/image/Logo_Francophones_Bruxelles_GRIS.png differ diff --git a/pages/image/logo-cocof.png b/pages/image/logo-cocof.png new file mode 100644 index 0000000..54775c8 Binary files /dev/null and b/pages/image/logo-cocof.png differ diff --git a/pages/image/logo_arc_en_ciel.png b/pages/image/logo_arc_en_ciel.png new file mode 100644 index 0000000..00739bb Binary files /dev/null and b/pages/image/logo_arc_en_ciel.png differ diff --git a/pages/image/logo_partenaire-laile-fondation.svg b/pages/image/logo_partenaire-laile-fondation.svg new file mode 100644 index 0000000..6042b29 --- /dev/null +++ b/pages/image/logo_partenaire-laile-fondation.svg @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pages/image/logo_partenaire-laile_etterbeek.svg b/pages/image/logo_partenaire-laile_etterbeek.svg new file mode 100644 index 0000000..c8311fb --- /dev/null +++ b/pages/image/logo_partenaire-laile_etterbeek.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pages/image/logo_partenaire_laile.png b/pages/image/logo_partenaire_laile.png new file mode 100644 index 0000000..8ec4ee3 Binary files /dev/null and b/pages/image/logo_partenaire_laile.png differ diff --git a/pages/image/logo_partenaires.png b/pages/image/logo_partenaires.png new file mode 100644 index 0000000..dbf9755 Binary files /dev/null and b/pages/image/logo_partenaires.png differ diff --git a/pages/info-box.txt b/pages/info-box.txt new file mode 100644 index 0000000..695568c --- /dev/null +++ b/pages/info-box.txt @@ -0,0 +1,8 @@ +--- +title: info-box +date: 2020-12-04 +author: l'aile +--- + + +L'Aile recherche activement des bénévoles pour le soutien scolaire. Si vous avez du temps libre, que vous habitez à Etterbeek et que vous avez envie de soutenir des enfants dans leur scolarité, contactez nous ! \ No newline at end of file diff --git a/pages/template.md b/pages/template.md new file mode 100644 index 0000000..9824895 --- /dev/null +++ b/pages/template.md @@ -0,0 +1,81 @@ +--- +title: template +date: 2020-12-04 +author: l'aile +--- + + + +# Comment se connecter au FTP +
+[Client FTP (Clique droit enregistré sous)](http://asbl-aile.be/static/md_files/client-ftp-laile.xml) +

+–Ouvrir FileZilla
+–Cliquer en haut a gauche (trois petits ordinateurs)
+–Si première connection, télécharger le client FTP et l'importer dans FileZilla
+–Cliquer sur "L'aile - content" ensuite sur "Connexion"
+
+ +# Faire un nouvel événement pour la page Activités + +[Template d'un fichier .MD pour l'agenda](http://asbl-aile.be/static/md_files/2001-01-01_titre.md) +

+Les fichiers (.MD) pour les événements sont dans le dossier "Agenda". +Le nom du fichier doit toujouts avoir la même nomenclature. +exemple: 2021-06-21_concert.md

+Un fichier .MD pour une activité est composé de:
+title: Concert de l'atelier de création sonore
+category: agenda (ne pas modifier)
+date: 2021-06-21 (date de l'événement)
+author: l'aile (ne pas modifier)
+link: www.facebook.com (le lien vers l'événement facebook par exemple)
+lieu: Atelier (lieu de l'activité)
+
+Description de l'activité

+ +# Pour modifier le contenu du site +Il y a un .MD par page du site internet.
+L'école de devoirs = horaire.md
+À propos = a-propos.md
+Contact = contact.md
+Nous aider = aider.md

+Pour activer l'infobox (info-box.md), il faut enlever le tiret au début du nom du fichier .MD. Ou le rajouter pour la désactiver. + + +# Base du markdown + +Pour avoir un titre utiliser le markup suivant + + +dans l'éditeur de texte :
+`#Titre`
+ +dans le naviguateur : +# Titre + +

+ +Pour faire un saut de ligne inserer un
`
` +

+ +Pour les liens +[text link](https://duckduckgo.com) +`[text link](https://duckduckgo.com)` +

+ +Pour ajouter une image inline dans le texte +![laika](https://upload.wikimedia.org/wikipedia/en/thumb/7/71/Laika_%28Soviet_dog%29.jpg/220px-Laika_%28Soviet_dog%29.jpg) +`![image](/static/md_files/image/nom-de-limage.JPG){.filter} +` +

+ + + + + + + + +--- +[Les références complète pour le markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) + diff --git a/rek.txt b/rek.txt new file mode 100644 index 0000000..7ef571d --- /dev/null +++ b/rek.txt @@ -0,0 +1,23 @@ +CairoSVG==2.4.2 +cffi==1.14.0 +Click==7.0 +cssselect2==0.2.2 +defusedxml==0.6.0 +Flask==1.1.1 +Flask-FlatPages==0.7.1 +Flask-Markdown==0.3 +html5lib==1.0.1 +itsdangerous==1.1.0 +Jinja2==2.11.1 +Markdown==3.1.1 +markdown2==2.4.0 +MarkupSafe==1.1.1 +Pillow==7.0.0 +pycparser==2.19 +Pygments==2.9.0 +Pyphen==0.9.5 +PyYAML==5.3 +six==1.14.0 +tinycss2==1.0.2 +webencodings==0.5.1 +Werkzeug==0.16.1 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c9e8372 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,24 @@ +CairoSVG==2.4.2 +cffi==1.14.0 +Click==7.0 +cssselect2==0.2.2 +defusedxml==0.6.0 +Flask==1.1.1 +Flask-FlatPages==0.7.1 +Flask-Markdown==0.3 +html5lib==1.0.1 +itsdangerous==1.1.0 +Jinja2==2.11.1 +Markdown==3.1.1 +markdown2==2.4.0 +MarkupSafe==1.1.1 +Pillow==7.0.0 +pycparser==2.19 +Pygments==2.9.0 +Pyphen==0.9.5 +PyYAML==5.3 +six==1.14.0 +tinycss2==1.0.2 +WeasyPrint==51 +webencodings==0.5.1 +Werkzeug==0.16.1 diff --git a/static/css/facebook.svg b/static/css/facebook.svg new file mode 100644 index 0000000..ab31dc0 --- /dev/null +++ b/static/css/facebook.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/static/css/favicon/android-icon-192x192.png b/static/css/favicon/android-icon-192x192.png new file mode 100644 index 0000000..81c8e08 Binary files /dev/null and b/static/css/favicon/android-icon-192x192.png differ diff --git a/static/css/favicon/apple-icon-114x114.png b/static/css/favicon/apple-icon-114x114.png new file mode 100644 index 0000000..9a27df7 Binary files /dev/null and b/static/css/favicon/apple-icon-114x114.png differ diff --git a/static/css/favicon/apple-icon-120x120.png b/static/css/favicon/apple-icon-120x120.png new file mode 100644 index 0000000..bf119c2 Binary files /dev/null and b/static/css/favicon/apple-icon-120x120.png differ diff --git a/static/css/favicon/apple-icon-144x144.png b/static/css/favicon/apple-icon-144x144.png new file mode 100644 index 0000000..68a9dde Binary files /dev/null and b/static/css/favicon/apple-icon-144x144.png differ diff --git a/static/css/favicon/apple-icon-152x152.png b/static/css/favicon/apple-icon-152x152.png new file mode 100644 index 0000000..30d4833 Binary files /dev/null and b/static/css/favicon/apple-icon-152x152.png differ diff --git a/static/css/favicon/apple-icon-180x180.png b/static/css/favicon/apple-icon-180x180.png new file mode 100644 index 0000000..f5109cf Binary files /dev/null and b/static/css/favicon/apple-icon-180x180.png differ diff --git a/static/css/favicon/apple-icon-57x57.png b/static/css/favicon/apple-icon-57x57.png new file mode 100644 index 0000000..34919fc Binary files /dev/null and b/static/css/favicon/apple-icon-57x57.png differ diff --git a/static/css/favicon/apple-icon-60x60.png b/static/css/favicon/apple-icon-60x60.png new file mode 100644 index 0000000..33bf691 Binary files /dev/null and b/static/css/favicon/apple-icon-60x60.png differ diff --git a/static/css/favicon/apple-icon-72x72.png b/static/css/favicon/apple-icon-72x72.png new file mode 100644 index 0000000..d510c39 Binary files /dev/null and b/static/css/favicon/apple-icon-72x72.png differ diff --git a/static/css/favicon/apple-icon-76x76.png b/static/css/favicon/apple-icon-76x76.png new file mode 100644 index 0000000..d291fa3 Binary files /dev/null and b/static/css/favicon/apple-icon-76x76.png differ diff --git a/static/css/favicon/favicon-16x16.png b/static/css/favicon/favicon-16x16.png new file mode 100644 index 0000000..3192b9a Binary files /dev/null and b/static/css/favicon/favicon-16x16.png differ diff --git a/static/css/favicon/favicon-256x256.png b/static/css/favicon/favicon-256x256.png new file mode 100644 index 0000000..591355f Binary files /dev/null and b/static/css/favicon/favicon-256x256.png differ diff --git a/static/css/favicon/favicon-32x32.png b/static/css/favicon/favicon-32x32.png new file mode 100644 index 0000000..9ef879c Binary files /dev/null and b/static/css/favicon/favicon-32x32.png differ diff --git a/static/css/favicon/favicon-96x96.png b/static/css/favicon/favicon-96x96.png new file mode 100644 index 0000000..4644997 Binary files /dev/null and b/static/css/favicon/favicon-96x96.png differ diff --git a/static/css/favicon/favicon.ico b/static/css/favicon/favicon.ico new file mode 100644 index 0000000..d423bf5 Binary files /dev/null and b/static/css/favicon/favicon.ico differ diff --git a/static/css/instagram.svg b/static/css/instagram.svg new file mode 100644 index 0000000..ca4441e --- /dev/null +++ b/static/css/instagram.svg @@ -0,0 +1,24 @@ + + + + + + + + + diff --git a/static/css/menu_burger_close.svg b/static/css/menu_burger_close.svg new file mode 100644 index 0000000..f069dc7 --- /dev/null +++ b/static/css/menu_burger_close.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/static/css/menu_burger_open.svg b/static/css/menu_burger_open.svg new file mode 100644 index 0000000..a15c12d --- /dev/null +++ b/static/css/menu_burger_open.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..d2ff50d --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,381 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ +@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap'); + + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +body { + line-height: 1,2; + font-family: 'Fira Code', monospace; +} + +ol, ul { + list-style: none; +} + +blockquote, q { + quotes: none; +} + +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@font-face { + font-weight: normal; + font-style: normal; +} + +@keyframes menu_color { + 0% {color: #ffe609;} + 30% {color: #e2b1aa;} + 60% {color: #f1885f;} + 90% {color: #70ba89;} + 100% {color: #ffe609;} +} + +html{ + font-size:16pt; + scroll-behavior: smooth; +} + +.page_data a { + text-decoration: none; + color: #0000; + animation-name: menu_color; + animation-iteration-count: infinite; + -moz-animation-iteration-count: infinite; + -webkit-animation-iteration-count: infinite; + -o-animation-iteration-count: infinite; + animation-duration: 6s; + font-size:1em; +} + +::selection { + color:rgba(255,230,9,1); +} + + +nav{ + z-index:1000; + height:70px; + background:rgba(255,255,255,0.9); + position: fixed; + top: 0; + width: 100%; +} + +nav #top_nav ul li{ + display:inline-block; + margin: 15px 0 0 15px; + padding-bottom: 5px; +} + +nav #top_nav ul li:hover{ + +} + +nav #top_nav ul li a { + color: black; + font-size : 1em; + text-decoration: none; +} + + +nav #burger_nav , #burger_btn{ + display : none; +} + +#intro{ + font-size : 50pt; + min-height: 100vh; + min-width: 100hw; + text-align:center; + background:url('../img/photoAccueil.jpg') center center no-repeat; + background-size:cover; +} + +#intro #intro_title { + display : block; + width:300px; + height:300px; + background:#fff; + border-radius:50%; + position:absolute; + top:calc(50% - 150px); + left:calc(50% - 150px); + line-height:84px; +} + +.page_data { + /*! top:25px; */ + padding : 150px 50px 50px 50px ; + width:85%; + background: #fff; + min-height: calc(100vh - 200px); +} + +.page_data h1{ + font-size: 2em; + line-height: 1; + //text-align: center; +} + +.page_data p{ + margin: 20px 0; +} + +.page_data p img{ + max-width:100%; +} + +#infobox{ + width: 150%; + background: rgba(255, 255, 255,0.9); + font-size:2.5em; + position: absolute; + top: 20%; + left: 15%; + padding: 5%; + z-index: 10000; + border-top: silver 1px solid; + border-bottom: silver 1px solid ; + vertical-align: bottom; + display: table-cell; + display: inline-block; + height: auto; + text-align: center; +} + +#infobox::before { + content: ""; + background: url(menu_burger_close.svg); + width: 50px; + height: 50px; + position: absolute; + top: -20px; + right: -20px; + border-radius: 25px; +} + +#soc_med{ + position:fixed; + width: 110px; + bottom:10px; + right:20px; + } + +#soc_med ul li { + display:inline-block; + width: 40px; + height:40px; + } + +#soc_med ul li a img { + width: 100%; + } + +.content_wrapper { + display: grid; + grid-template-columns: 1fr 1fr; + z-index : 1000; + /*! background:rgba(255,255,255,0.9); */ + } + +.content_wrapper.wide_content { + grid-template-columns: 2fr 1fr; + } +.page_data article{ + margin-bottom: 20px; +} + +.page_data article .a_content{ + border-bottom:1px solid #000; +} + +.img_container{ + background:url('../img/bg.jpg') center center no-repeat; + background-size:cover; + width:100%; + min-height:100vh; + +} + + + + + +/*###############################################################################*/ + +/* On screens that are 800px or less, set the background color to olive */ +@media only screen and (max-width: 1024px) { + html{ + font-size : 24pt; + } + + .content_wrapper { + width:80%; + padding:10%; + padding-top : 220px; +} + +.page_data{ + width:80%; + margin:auto; + } + + +nav { + height: 100px; + position: relative ; + z-index: 1222; + text-align: center; + } + +nav #top_nav{ + display: none; + } + +nav #burger_btn { + display : block ; + width: 100%; + height:100px; + background: url('menu_burger_open.svg') left center no-repeat ; + background-size: auto 100%; + margin-left : 50px; + margin-top: 30px; + z-index: 1201; + position:fixed; + } + +nav #burger_btn.close { + background: url('menu_burger_close.svg') left center no-repeat !important; + background-size: auto 100% !important; + } + +nav #burger_nav { + display : block; + padding : 20px ; + background : rgba(255, 255, 255,0.8); + height: 0vh; + width : 100vw; + margin-top:-40px; + z-index: 1200; + overflow:hidden; + position:fixed; + top:0; + transition :0.2s linear; + } + + nav #burger_nav.open { + height: auto; + width : 100vw; + min-height : 100vh; + transition :0.2s linear; + } + + nav #burger_nav ul li:first-child { + padding-top : 300px; + } + + nav #burger_nav ul li a{ + display : block ; + padding : 20px; + text-decoration:none; + color :#000; + font-size: 3em; + } + + #intro{ + font-size : 150pt; + min-height: 100vh; + min-width: 100hw; + text-align:center; +} + + #intro #intro_title { + display : inline-block; + padding-top: 20%; +} + + img.logo { + height: 100px; +} + #infobox{ + width: 60%; + background: rgba(255, 255, 255,0.9); + font-size:1em; + position: absolute; + top: 20%; + left: 15%; + padding: 5%; + z-index: 10000; + border: solid 1px rgba(200, 200, 200,0.5); + border-radius: 5%; + vertical-align: bottom; + display: table-cell; + display: inline-block; + height: auto; + text-align: center; +} + +#infobox::before { + content: ""; + background: url(menu_burger_close.svg); + width: 50px; + height: 50px; + position: absolute; + top: -20px; + right: -20px; + border-radius: 25px; +} + + #soc_med{ + position:fixed; + width: 200px; + height:50px; + bottom:70px; + right:15px; + } + +#soc_med ul li { + display:inline-block; + width: 70px; + height:70px; +} + + } diff --git a/static/img/bg.jpg b/static/img/bg.jpg new file mode 100644 index 0000000..931c254 Binary files /dev/null and b/static/img/bg.jpg differ diff --git a/static/img/photoAccueil.jpg b/static/img/photoAccueil.jpg new file mode 100644 index 0000000..e8fd382 Binary files /dev/null and b/static/img/photoAccueil.jpg differ diff --git a/static/js/jquery.min.js b/static/js/jquery.min.js new file mode 100644 index 0000000..a1c07fd --- /dev/null +++ b/static/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/cold/2.svg b/static/shape/cold/2.svg new file mode 100644 index 0000000..812dbef --- /dev/null +++ b/static/shape/cold/2.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/cold/3.svg b/static/shape/cold/3.svg new file mode 100644 index 0000000..caa5125 --- /dev/null +++ b/static/shape/cold/3.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/cold/4.svg b/static/shape/cold/4.svg new file mode 100644 index 0000000..09b4f11 --- /dev/null +++ b/static/shape/cold/4.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/cold/5.svg b/static/shape/cold/5.svg new file mode 100644 index 0000000..f0623f8 --- /dev/null +++ b/static/shape/cold/5.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/cold/spe.svg b/static/shape/cold/spe.svg new file mode 100644 index 0000000..1c3bf79 --- /dev/null +++ b/static/shape/cold/spe.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/static/shape/cold/spe2.svg b/static/shape/cold/spe2.svg new file mode 100644 index 0000000..97dbb3d --- /dev/null +++ b/static/shape/cold/spe2.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/static/shape/hot/1.svg b/static/shape/hot/1.svg new file mode 100644 index 0000000..d2b0a5b --- /dev/null +++ b/static/shape/hot/1.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/hot/2.svg b/static/shape/hot/2.svg new file mode 100644 index 0000000..0151bd4 --- /dev/null +++ b/static/shape/hot/2.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/hot/3.svg b/static/shape/hot/3.svg new file mode 100644 index 0000000..733a2e8 --- /dev/null +++ b/static/shape/hot/3.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/hot/4.svg b/static/shape/hot/4.svg new file mode 100644 index 0000000..cb9e120 --- /dev/null +++ b/static/shape/hot/4.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/hot/5.svg b/static/shape/hot/5.svg new file mode 100644 index 0000000..0dfcf67 --- /dev/null +++ b/static/shape/hot/5.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/shape/hot/spe.svg b/static/shape/hot/spe.svg new file mode 100644 index 0000000..30a2414 --- /dev/null +++ b/static/shape/hot/spe.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/static/shape/hot/spe2.svg b/static/shape/hot/spe2.svg new file mode 100644 index 0000000..21287f5 --- /dev/null +++ b/static/shape/hot/spe2.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..74e74a4 --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,41 @@ +{% extends 'base.html' %} + +{% block head %} + + +{% endblock %} + +{% block nav %} +{% include 'menu.html'%} +{% endblock nav %} + +{% block content %} + + + +
+
+ {% for a in articles %} +
+
+ {{a.title}}, + {{a.category}}, + {{a.date}}, +
+
+ {{a}} +
+
+ {% endfor %} +
+
+ +
+
+ + + + + + +{% endblock %} diff --git a/templates/articles.html b/templates/articles.html new file mode 100644 index 0000000..f7fcaae --- /dev/null +++ b/templates/articles.html @@ -0,0 +1,33 @@ + + + + + + + to do this - do that + + + + + {% include 'menu.html' %} + +
+ +
+ + + + diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..4710fff --- /dev/null +++ b/templates/base.html @@ -0,0 +1,43 @@ + + + {% block head %} + + {% block title %}{% endblock title %} + + + + {% endblock head %} + + + + + {% block intro %} + {% endblock intro %} + + {% block nav %} + {% endblock nav %} + + {% block content %} + {% endblock content %} + + + + + {% block script %} + {% endblock script %} +
+
    +
  • + +
  • +
  • + +
  • +
+
+ + + + + + diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..3006de6 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} +{% block head %} + + +{% endblock head%} + +{% block intro %} +{% if request.path == "/" %} +
+ + la
petite
ecole +
+
+{% endif %} +{% endblock %} + +{% block nav %} +{% include 'menu.html'%} +{% endblock nav %} + +{% block content %} + + + +
+
+{% if request.path == "/" %} + {% if infobox is not none %} +
+ {{ infobox }} +
+ {% endif %} +{% else %} +{% endif %} + + {{page}} +
+
+ +
+
+{% endblock %} + + +{% block script %} +{% endblock %} + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..d0974ec --- /dev/null +++ b/templates/index.html @@ -0,0 +1,26 @@ + + + + + + + L'aile + + + + + + + + + +
+
shape_1
+
shape_2
+
+ +

logo

+ + + + diff --git a/templates/menu.html b/templates/menu.html new file mode 100644 index 0000000..7a669d4 --- /dev/null +++ b/templates/menu.html @@ -0,0 +1,24 @@ + + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..cec25f3 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,27 @@ +{% extends 'base.html' %} + +{% block head %} + + + +{% endblock %} + +{% block nav %} +{% include 'menu.html'%} +{% endblock nav %} + +{% block content %} + + +haut de page + + + +
+
+
+ {{ page }} +
+
+ +{% endblock %} diff --git a/templates/page_contact.html b/templates/page_contact.html new file mode 100644 index 0000000..0172d86 --- /dev/null +++ b/templates/page_contact.html @@ -0,0 +1,34 @@ +{% extends 'base.html' %} + +{% block head %} + + + + +{% endblock %} + +{% block nav %} +{% include 'menu.html'%} +{% endblock nav %} + +{% block content %} + +haut de page + +
+ {% for img_w in img_web %} +
+ {% endfor %} +
+ + +
+
+
+ {{ page }} +
+
+ + + +{% endblock %}