From fdd3b103bb209045123693cd60149b951c7b2be8 Mon Sep 17 00:00:00 2001 From: Abdellah El Morabit Date: Fri, 29 Nov 2024 13:24:16 +0100 Subject: rewritten the source of the application --- public/templates/live_preview.py | 14 +++++ public/templates/page/notes.html | 24 +++++++++ public/templates/page/overview.html | 29 ++++++++++ public/templates/page/recourses.html | 29 ++++++++++ public/templates/page/speech.html | 29 ++++++++++ public/templates/static/main.mjs | 13 +++++ public/templates/static/styles.css | 101 +++++++++++++++++++++++++++++++++++ 7 files changed, 239 insertions(+) create mode 100644 public/templates/live_preview.py create mode 100644 public/templates/page/notes.html create mode 100644 public/templates/page/overview.html create mode 100644 public/templates/page/recourses.html create mode 100644 public/templates/page/speech.html create mode 100644 public/templates/static/main.mjs create mode 100644 public/templates/static/styles.css (limited to 'public') diff --git a/public/templates/live_preview.py b/public/templates/live_preview.py new file mode 100644 index 0000000..e753fc6 --- /dev/null +++ b/public/templates/live_preview.py @@ -0,0 +1,14 @@ +from livereload import Server + +server = Server() +# Watch HTML file +server.watch('index.html') +# Watch CSS files +server.watch('static/styles.css') +# Watch JavaScript files +server.watch('static/main.mjs') +# Watch other files if needed +server.watch('page/*') # Watch everything in the page folder + +# Serve the current directory +server.serve(root='.') diff --git a/public/templates/page/notes.html b/public/templates/page/notes.html new file mode 100644 index 0000000..3f24816 --- /dev/null +++ b/public/templates/page/notes.html @@ -0,0 +1,24 @@ + + + + + + + Display a Message + + + + + + + +
+

Display a Message

+
+ +