Skip to content

Commit

Permalink
Update: Enhanced app functionalities (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed May 25, 2024
1 parent 3d753ce commit 5c0f1db
Show file tree
Hide file tree
Showing 27 changed files with 134 additions and 134 deletions.
8 changes: 4 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,12 +722,12 @@ <h1 id="my-heading" style="margin-bottom: -10px" class="notranslate">
}

function updateClock() {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
let now = new Date();
let hours = now.getHours();
let minutes = now.getMinutes();
hours = hours < 10 ? '0' + hours : hours;
minutes = minutes < 10 ? '0' + minutes : minutes;
var timeString = hours + ':' + minutes;
let timeString = hours + ':' + minutes;
document.getElementById('clock').innerHTML = timeString;
}

Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ <h1 id="my-heading" style="margin-bottom: -9px" class="notranslate">

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>
</header>
Expand Down Expand Up @@ -487,9 +487,9 @@ <h3 id="subheading4" style="cursor: pointer">Useful Links:</h3>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -522,9 +522,9 @@ <h3 id="subheading4" style="cursor: pointer">Useful Links:</h3>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/actor-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ <h2 id="actor-name" class="actor-header"></h2>

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>

Expand Down Expand Up @@ -390,9 +390,9 @@ <h2 id="actor-name" class="actor-header"></h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -468,9 +468,9 @@ <h2 id="actor-name" class="actor-header"></h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ <h1 id="my-heading" style="margin-bottom: -10px">

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>
</header>
Expand Down Expand Up @@ -537,9 +537,9 @@ <h2 class="chart-title">Highly Rated Movies Over Years</h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -571,9 +571,9 @@ <h2 class="chart-title">Highly Rated Movies Over Years</h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/api_fails.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>
</header>
Expand Down Expand Up @@ -692,9 +692,9 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -726,9 +726,9 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,9 @@ <h3>Recent & Suggested Chats</h3>

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>

Expand Down Expand Up @@ -660,9 +660,9 @@ <h3>Recent & Suggested Chats</h3>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -723,9 +723,9 @@ <h3>Recent & Suggested Chats</h3>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/chatbot.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ <h4 id="alt-title" style="font-weight: normal; font-size: 15px; color: #ff8623">

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>

Expand Down Expand Up @@ -798,9 +798,9 @@ <h4 id="alt-title" style="font-weight: normal; font-size: 15px; color: #ff8623">
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -832,9 +832,9 @@ <h4 id="alt-title" style="font-weight: normal; font-size: 15px; color: #ff8623">
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
10 changes: 5 additions & 5 deletions MovieVerse-Frontend/html/company-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ <h2 id="company-name" class="company-header"></h2>

<button id="chat-button" onclick="window.location.href='chat.html'" style="bottom: 300px; right: 10px; z-index: 1001" title="Chat with fellow MovieVerse users!">Chat</button>
<button id="settings-btn" style="position: fixed; bottom: 265px; right: 10px">Settings</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 230px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 195px; right: 10px">Movie Timeline</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 160px; right: 10px">Surprise Me!</button>
<button id="movie-of-the-day-btn" onclick="showMovieOfTheDay()" title="Get a recommended movie to watch for today!" style="bottom: 230px; right: 10px">Surprise Me!</button>
<button id="movie-match-btn3" onclick="window.location.href='movie-match.html'" title="Find a movie that matches your mood, genre, and time period!" style="bottom: 195px; right: 10px">Movie Match</button>
<button id="movie-timeline-btn" onclick="window.location.href='movie-timeline.html'" title="Explore movies through different eras!" style="bottom: 160px; right: 10px">Movie Timeline</button>
<button id="discussions-btn" onclick="window.location.href='chatbot.html'" style="bottom: 125px; right: 10px" title="Chat with our intelligent chatbot!">MovieVerse Chatbot</button>
<button id="trivia-btn" onclick="window.location.href='trivia.html'" style="bottom: 90px; right: 10px" title="Test your movie knowledge">MovieVerse Trivia</button>

Expand Down Expand Up @@ -396,9 +396,9 @@ <h2 id="company-name" class="company-header"></h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down Expand Up @@ -430,9 +430,9 @@ <h2 id="company-name" class="company-header"></h2>
const buttonIds = [
'chat-button',
'settings-btn',
'movie-of-the-day-btn',
'movie-match-btn3',
'movie-timeline-btn',
'movie-of-the-day-btn',
'discussions-btn',
'trivia-btn',
];
Expand Down
Loading

0 comments on commit 5c0f1db

Please sign in to comment.