From a9386d6d155241de489c80789eecf9f219b4bbe2 Mon Sep 17 00:00:00 2001 From: Mohammad Rameen Date: Wed, 17 Sep 2025 06:17:03 +0530 Subject: [PATCH] Added new top movie project --- .../.DS_Store | Bin 0 -> 6148 bytes .../day-64-starting-files-top-movies/main.py | 40 ++++ .../requirements.txt | 8 + .../static/css/styles.css | 214 ++++++++++++++++++ .../templates/add.html | 9 + .../templates/base.html | 39 ++++ .../templates/edit.html | 8 + .../templates/index.html | 37 +++ .../templates/select.html | 13 ++ 9 files changed, 368 insertions(+) create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/.DS_Store create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/main.py create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/requirements.txt create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/static/css/styles.css create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/templates/add.html create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/templates/base.html create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/templates/edit.html create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/templates/index.html create mode 100644 Visual Studio Code Projects/day-64-starting-files-top-movies/templates/select.html diff --git a/Visual Studio Code Projects/day-64-starting-files-top-movies/.DS_Store b/Visual Studio Code Projects/day-64-starting-files-top-movies/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c6eca5882057dfdfdc6e0fe24945679ec06d110c GIT binary patch literal 6148 zcmeHK!A`?440XnYHg@TeV=jEa{-8|dj@KONS9*jVJ-^XH^R(Vpq3z@@vYX?;HWWqKgc5eVEyMfg$M@~jr~cKadpw8Q4`bLQGfWFC6>p@uD;TnoJcvbUmKE%Cp^dL-*fsV#(*(k44fMSsM#!wm7tBr zfH7bU>>1$igNHKaii2SMbYO@r0B{a-6wJAo;25u%D-MEKfj9{TN~qHo!$~;oUj1^# zK~TcUY4hRqWTzd9i>G6MAKl62f;Jih#=w|?3%Sg={@ +

Add a Movie

+ +{% endblock %} \ No newline at end of file diff --git a/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/base.html b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/base.html new file mode 100644 index 0000000..1475f37 --- /dev/null +++ b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/base.html @@ -0,0 +1,39 @@ + + + + + + + {% block styles %} + + {{ bootstrap.load_css() }} + + + + + + {% endblock %} + + {% block title %}{% endblock %} + + + {% block content %}{% endblock %} + + diff --git a/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/edit.html b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/edit.html new file mode 100644 index 0000000..d77bbdd --- /dev/null +++ b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/edit.html @@ -0,0 +1,8 @@ +{% extends 'base.html' %} {% from 'bootstrap5/form.html' import render_form %} +{% block title %}Edit Movies{% endblock %} {% block content %} +
+

Movie Title

+

Edit Movie Rating

+ {{ render_form(form, novalidate=True) }} +
+{% endblock %} diff --git a/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/index.html b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/index.html new file mode 100644 index 0000000..f30f810 --- /dev/null +++ b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/index.html @@ -0,0 +1,37 @@ +{% extends 'base.html' %} + +{% block title %}My Top 10 Movies{% endblock %} + +{% block content %} +
+

My Top 10 Movies

+

These are my all-time favourite movies.

+ +
+
+

1

+
+
+
+
Drive (2011)
+
+ + +
+

"Loved it!"

+

+ A mysterious Hollywood stuntman and mechanic moonlights as a getaway driver and finds himself in trouble when he helps out his neighbor in this action drama. +

+ + Update + Delete + +
+
+
+
+ + +{% endblock %} \ No newline at end of file diff --git a/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/select.html b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/select.html new file mode 100644 index 0000000..9a8f1c5 --- /dev/null +++ b/Visual Studio Code Projects/day-64-starting-files-top-movies/templates/select.html @@ -0,0 +1,13 @@ +{% extends 'base.html' %} + +{% block title %}Select Movie{% endblock %} + +{% block content %} +
+

Select Movie

+

+ MOVIE TITLE - MOVIE RELEASE DATE +

+ +
+{% endblock %} \ No newline at end of file