From f07547cc591da3ba89eaac5e7361425c11915f42 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 20 Dec 2025 21:20:05 +0000 Subject: [PATCH] Update Oscars year to 2026 and add admin page Co-authored-by: mathieumoran1 --- README.md | 4 +- public/checklist.html | 5 ++- public/control.html | 87 +++++++++++++++++++++++++++++++++++ public/index.html | 4 +- public/js/app_checklist.js | 6 ++- public/js/app_control.js | 92 ++++++++++++++++++++++++++++++++++++++ public/js/app_movies.js | 6 ++- public/js/app_user-stat.js | 4 ++ public/movies.html | 7 +-- public/register.html | 2 +- public/user-stat.html | 3 +- 11 files changed, 207 insertions(+), 13 deletions(-) create mode 100644 public/control.html create mode 100644 public/js/app_control.js diff --git a/README.md b/README.md index 9289469..ee7a03f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -## Oscars Pool 2025 +## Oscars Pool 2026 Little nodejs + mongodb app that I hack together with ChatGPT to keep track of watched movies for an incoming Oscars Pool with some friends. App is not secure, using old html standard and is not the most responsive but does the job. Would probably need to revamp everything, but didn't want to spend more time on it. -![Oscars Pool 2025](https://github.com/quoije/oscar-pool/blob/prod/img/preview.png) +![Oscars Pool 2026](https://github.com/quoije/oscar-pool/blob/prod/img/preview.png) ## Setup Config those in your .env file: diff --git a/public/checklist.html b/public/checklist.html index 7952836..f510bae 100644 --- a/public/checklist.html +++ b/public/checklist.html @@ -3,7 +3,7 @@ - Pool Oscars 2025 - Checklist + Pool Oscars 2026 - Checklist + + + + + +
+

Admin - Ajouter un film

+

+ Ajoute un film via l’API (/api/movies/add). Le serveur récupère automatiquement le titre/plot/affiche depuis OMDb avec l’imdb_id. +

+ + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + + + + + + diff --git a/public/index.html b/public/index.html index fd4c59f..bcaa87b 100644 --- a/public/index.html +++ b/public/index.html @@ -3,7 +3,7 @@ - Pool Oscars 2025 + Pool Oscars 2026