From acb113f825a6d030713a5676b94f01d1f7aaf83f Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Fri, 24 May 2024 20:35:31 +0700 Subject: [PATCH] Update: Enhanced app functionalities (#196) --- MovieVerse-Frontend/css/trivia.css | 82 +++++ MovieVerse-Frontend/html/about.html | 29 +- MovieVerse-Frontend/html/actor-details.html | 2 +- MovieVerse-Frontend/html/analytics.html | 4 +- MovieVerse-Frontend/html/api_fails.html | 19 +- MovieVerse-Frontend/html/chat.html | 2 +- MovieVerse-Frontend/html/chatbot.html | 19 +- .../html/christopher-nolan.html | 2 +- MovieVerse-Frontend/html/company-details.html | 2 +- MovieVerse-Frontend/html/create-account.html | 2 +- .../html/director-details.html | 2 +- MovieVerse-Frontend/html/favorites.html | 187 +++++++++- MovieVerse-Frontend/html/feedback.html | 2 +- MovieVerse-Frontend/html/inception.html | 2 +- .../html/leonardo-dicaprio.html | 2 +- MovieVerse-Frontend/html/movie-details.html | 2 +- MovieVerse-Frontend/html/movie-match.html | 2 +- MovieVerse-Frontend/html/movie-timeline.html | 27 +- MovieVerse-Frontend/html/notifications.html | 42 ++- MovieVerse-Frontend/html/offline.html | 2 +- MovieVerse-Frontend/html/privacy-policy.html | 3 +- MovieVerse-Frontend/html/reset-password.html | 2 +- MovieVerse-Frontend/html/search.html | 41 ++- MovieVerse-Frontend/html/settings.html | 2 +- MovieVerse-Frontend/html/sign-in.html | 2 +- MovieVerse-Frontend/html/support.html | 2 +- .../html/terms-of-service.html | 4 +- MovieVerse-Frontend/html/trivia.html | 342 +++++++++++++++++- MovieVerse-Frontend/html/tv-details.html | 2 +- MovieVerse-Frontend/html/user-profile.html | 2 +- MovieVerse-Frontend/js/chatbot.js | 68 +++- MovieVerse-Frontend/js/favorites.js | 83 +++-- MovieVerse-Frontend/js/movie-timeline.js | 69 +++- MovieVerse-Frontend/js/search.js | 62 +++- MovieVerse-Mobile/.gitignore | 2 +- .../www/MovieVerse-Frontend/css/trivia.css | 82 +++++ .../www/MovieVerse-Frontend/html/about.html | 29 +- .../html/actor-details.html | 2 +- .../MovieVerse-Frontend/html/analytics.html | 4 +- .../MovieVerse-Frontend/html/api_fails.html | 19 +- .../www/MovieVerse-Frontend/html/chat.html | 2 +- .../www/MovieVerse-Frontend/html/chatbot.html | 19 +- .../html/christopher-nolan.html | 2 +- .../html/company-details.html | 2 +- .../html/create-account.html | 2 +- .../html/director-details.html | 2 +- .../MovieVerse-Frontend/html/favorites.html | 187 +++++++++- .../MovieVerse-Frontend/html/feedback.html | 2 +- .../MovieVerse-Frontend/html/inception.html | 2 +- .../html/leonardo-dicaprio.html | 2 +- .../html/movie-details.html | 2 +- .../MovieVerse-Frontend/html/movie-match.html | 2 +- .../html/movie-timeline.html | 27 +- .../html/notifications.html | 42 ++- .../www/MovieVerse-Frontend/html/offline.html | 2 +- .../html/privacy-policy.html | 3 +- .../html/reset-password.html | 2 +- .../www/MovieVerse-Frontend/html/search.html | 41 ++- .../MovieVerse-Frontend/html/settings.html | 2 +- .../www/MovieVerse-Frontend/html/sign-in.html | 2 +- .../www/MovieVerse-Frontend/html/support.html | 2 +- .../html/terms-of-service.html | 4 +- .../www/MovieVerse-Frontend/html/trivia.html | 342 +++++++++++++++++- .../MovieVerse-Frontend/html/tv-details.html | 2 +- .../html/user-profile.html | 2 +- .../www/MovieVerse-Frontend/js/chatbot.js | 68 +++- .../www/MovieVerse-Frontend/js/favorites.js | 83 +++-- .../MovieVerse-Frontend/js/movie-timeline.js | 69 +++- .../www/MovieVerse-Frontend/js/search.js | 62 +++- .../app/src/main/assets/www/index.html | 4 +- .../www/MovieVerse-Frontend/css/trivia.css | 82 +++++ .../www/MovieVerse-Frontend/html/about.html | 29 +- .../html/actor-details.html | 2 +- .../MovieVerse-Frontend/html/analytics.html | 4 +- .../MovieVerse-Frontend/html/api_fails.html | 19 +- .../www/MovieVerse-Frontend/html/chat.html | 2 +- .../www/MovieVerse-Frontend/html/chatbot.html | 19 +- .../html/christopher-nolan.html | 2 +- .../html/company-details.html | 2 +- .../html/create-account.html | 2 +- .../html/director-details.html | 2 +- .../MovieVerse-Frontend/html/favorites.html | 187 +++++++++- .../MovieVerse-Frontend/html/feedback.html | 2 +- .../MovieVerse-Frontend/html/inception.html | 2 +- .../html/leonardo-dicaprio.html | 2 +- .../html/movie-details.html | 2 +- .../MovieVerse-Frontend/html/movie-match.html | 2 +- .../html/movie-timeline.html | 27 +- .../html/notifications.html | 42 ++- .../www/MovieVerse-Frontend/html/offline.html | 2 +- .../html/privacy-policy.html | 3 +- .../html/reset-password.html | 2 +- .../www/MovieVerse-Frontend/html/search.html | 41 ++- .../MovieVerse-Frontend/html/settings.html | 2 +- .../www/MovieVerse-Frontend/html/sign-in.html | 2 +- .../www/MovieVerse-Frontend/html/support.html | 2 +- .../html/terms-of-service.html | 4 +- .../www/MovieVerse-Frontend/html/trivia.html | 342 +++++++++++++++++- .../MovieVerse-Frontend/html/tv-details.html | 2 +- .../html/user-profile.html | 2 +- .../ios/www/MovieVerse-Frontend/js/chatbot.js | 68 +++- .../www/MovieVerse-Frontend/js/favorites.js | 83 +++-- .../MovieVerse-Frontend/js/movie-timeline.js | 69 +++- .../ios/www/MovieVerse-Frontend/js/search.js | 62 +++- .../platforms/ios/www/index.html | 4 +- .../www/MovieVerse-Frontend/css/trivia.css | 82 +++++ .../www/MovieVerse-Frontend/html/about.html | 29 +- .../html/actor-details.html | 2 +- .../MovieVerse-Frontend/html/analytics.html | 4 +- .../MovieVerse-Frontend/html/api_fails.html | 19 +- .../www/MovieVerse-Frontend/html/chat.html | 2 +- .../www/MovieVerse-Frontend/html/chatbot.html | 19 +- .../html/christopher-nolan.html | 2 +- .../html/company-details.html | 2 +- .../html/create-account.html | 2 +- .../html/director-details.html | 2 +- .../MovieVerse-Frontend/html/favorites.html | 187 +++++++++- .../MovieVerse-Frontend/html/feedback.html | 2 +- .../MovieVerse-Frontend/html/inception.html | 2 +- .../html/leonardo-dicaprio.html | 2 +- .../html/movie-details.html | 2 +- .../MovieVerse-Frontend/html/movie-match.html | 2 +- .../html/movie-timeline.html | 27 +- .../html/notifications.html | 42 ++- .../www/MovieVerse-Frontend/html/offline.html | 2 +- .../html/privacy-policy.html | 3 +- .../html/reset-password.html | 2 +- .../www/MovieVerse-Frontend/html/search.html | 41 ++- .../MovieVerse-Frontend/html/settings.html | 2 +- .../www/MovieVerse-Frontend/html/sign-in.html | 2 +- .../www/MovieVerse-Frontend/html/support.html | 2 +- .../html/terms-of-service.html | 4 +- .../www/MovieVerse-Frontend/html/trivia.html | 342 +++++++++++++++++- .../MovieVerse-Frontend/html/tv-details.html | 2 +- .../html/user-profile.html | 2 +- .../www/MovieVerse-Frontend/js/chatbot.js | 68 +++- .../www/MovieVerse-Frontend/js/favorites.js | 83 +++-- .../MovieVerse-Frontend/js/movie-timeline.js | 69 +++- .../www/MovieVerse-Frontend/js/search.js | 62 +++- MovieVerse-Mobile/www/index.html | 4 +- index.html | 4 +- 141 files changed, 3973 insertions(+), 513 deletions(-) diff --git a/MovieVerse-Frontend/css/trivia.css b/MovieVerse-Frontend/css/trivia.css index 59bb2d77..a9c7716e 100644 --- a/MovieVerse-Frontend/css/trivia.css +++ b/MovieVerse-Frontend/css/trivia.css @@ -962,6 +962,88 @@ main { background-color: #ff8623; } +.side-nav { + position: fixed; + left: -250px; + top: 0; + width: 250px; + height: 100%; + background-color: #373b69; + box-shadow: 2px 0 5px rgba(0,0,0,0.5); + overflow-y: auto; + transition: left 0.39s; + z-index: 1000; +} + +.side-nav ul { + list-style: none; + padding: 0; + margin: 0; +} + +.side-nav ul li { + padding: 15px 20px; + border-radius: 8px; + text-align: left; +} + +.side-nav ul li a { + color: white; + text-decoration: none; + display: block; + padding-left: 5px; +} + +.side-nav ul li a:hover { + background-color: #ff8623; + border-radius: 8px; +} + +.nav-toggle { + background-color: #7378c5; + border: none; + color: white; + cursor: pointer; + font-size: 1.5rem; + top: 5px; + left: 15px; + border-radius: 8px; + padding: 3.5px; + width: 32px; + height: 32px; + line-height: 32px; + text-align: center; + display: flex; + position: fixed; + justify-content: center; + align-items: center; + padding-left: 4.25px; +} + +.nav-toggle i { + line-height: inherit; +} + +.nav-toggle:hover { + background-color: #ff8623; + transition: 0.3s ease-in; +} + +#button-remove { + color: #171616; + background-color: #7378c5; + font: inherit; + border-radius: 8px; + border: none; + cursor: pointer; + margin-bottom: 15px; +} + +#button-remove:hover { + background-color: #ff8623; + transition: 0.1s linear; +} + @media (max-width: 900px) { #profileBtn { display: none; diff --git a/MovieVerse-Frontend/html/about.html b/MovieVerse-Frontend/html/about.html index f8948cc1..915c6280 100644 --- a/MovieVerse-Frontend/html/about.html +++ b/MovieVerse-Frontend/html/about.html @@ -169,6 +169,23 @@ bottom: 70px; } } + + #my-heading1 { + color: #ff8623; + padding: 10px; + font-size: 36px; + text-align: center; + background-color: transparent; + margin-left: 40px; + } + + .highlight2 { + color: orange; + } + + .highlight2:hover { + color: #ff8623; + } @@ -221,7 +238,7 @@

-
+

@@ -264,10 +281,10 @@

- +
Movie Trivia Quiz
@@ -373,6 +441,54 @@

Trivia Results

+ -
-

+
+

The MovieVerse

+
+

+
+
+ @@ -268,7 +281,7 @@

-
+
diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/christopher-nolan.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/christopher-nolan.html index 19153d77..2874ec08 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/christopher-nolan.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/christopher-nolan.html @@ -214,7 +214,7 @@

The MovieVerse

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html index b5f51c7e..f70294c3 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html @@ -229,7 +229,7 @@

The MovieVerse

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/create-account.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/create-account.html index 04465d60..47a7d740 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/create-account.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/create-account.html @@ -295,7 +295,7 @@

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html index a09e5ac8..23839b49 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html @@ -223,7 +223,7 @@

The MovieVerse

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/favorites.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/favorites.html index 684fa44b..08cdac01 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/favorites.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/favorites.html @@ -351,11 +351,15 @@

-
+

+ + @@ -384,6 +388,26 @@

+ +
@@ -530,7 +554,168 @@

How to Use MovieVerse Watchlists

Menu + + - diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/reset-password.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/reset-password.html index 3a0bcc02..b954599e 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/reset-password.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/reset-password.html @@ -276,7 +276,7 @@

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/search.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/search.html index f005f746..688aef0a 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/search.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/search.html @@ -213,7 +213,7 @@

The MovieVerse

-
+

@@ -255,9 +255,9 @@

Search Results

- + - + @@ -303,6 +316,19 @@

Search Results

+ +
+ + +
@@ -328,6 +354,15 @@

Search Results

+ +
+ + +
diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/settings.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/settings.html index 8d2f1031..f698b5ef 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/settings.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/settings.html @@ -364,7 +364,7 @@

+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/sign-in.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/sign-in.html index d803f4a6..67a21c66 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/sign-in.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/sign-in.html @@ -298,7 +298,7 @@

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/support.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/support.html index 1d242cfa..b64a996b 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/support.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/support.html @@ -536,7 +536,7 @@

+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/terms-of-service.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/terms-of-service.html index c626fb77..3a8ed6ef 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/terms-of-service.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/terms-of-service.html @@ -248,7 +248,7 @@

-
+

@@ -704,7 +704,7 @@

Contact Us

applySettings(); function applySettings() { - const defaultBg = '../../images/universe-1.png'; + const defaultBg = '../../images/universe-1.webp'; const savedBg = localStorage.getItem('backgroundImage') || defaultBg; const savedTextColor = localStorage.getItem('textColor'); const savedFontSize = localStorage.getItem('fontSize'); diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/trivia.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/trivia.html index 07e4afea..3a6cd2b5 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/trivia.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/trivia.html @@ -82,10 +82,10 @@ margin-top: 25px; } - @keyframes fadeInUp { + @keyframes dropIn { 0% { opacity: 0; - transform: translateY(20px); + transform: translateY(-50px); } 100% { opacity: 1; @@ -96,7 +96,7 @@ #my-heading { margin-bottom: -25px; opacity: 0; - animation: fadeInUp 1s ease forwards; + animation: dropIn 1s ease forwards; } #my-heading a { @@ -109,7 +109,7 @@ .highlight { display: inline-block; opacity: 0; - animation: fadeInUp 1s ease forwards 0.5s; + animation: dropIn 1s ease forwards 0.5s; } #form { @@ -243,6 +243,35 @@ bottom: 70px; } } + + #local-time { + cursor: pointer; + opacity: 0; + animation: dropIn 1s ease forwards 1.5s; + } + + #local-time p, + #local-time div { + opacity: 0; + animation: dropIn 1s ease forwards 2s; + } + + #my-heading1 { + color: #ff8623; + padding: 10px; + font-size: 36px; + text-align: center; + background-color: transparent; + margin-left: 40px; + } + + .highlight2 { + color: orange; + } + + .highlight2:hover { + color: #ff8623; + } @@ -295,6 +324,11 @@

+

+
+

+ @@ -305,6 +339,10 @@

+ + +

+ + + +
Movie Trivia Quiz
@@ -373,6 +441,54 @@

Trivia Results

+