From 21c5eaa5a3e5bd81cfe2f851942454b26bfaa543 Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:34:04 -0500 Subject: [PATCH 1/8] Update index.ejs --- views/index.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.ejs b/views/index.ejs index 458038fe1..7561b2767 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <%- include('head', {title: 'Movie Database - Index'}); %> + <%- include('head', {title: 'Movie Database v2.0 - Index'}); %> </head> <body> From 97108b08c11a35c44b627e63e7d20330deceb232 Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:34:24 -0500 Subject: [PATCH 2/8] Update reviews.ejs --- views/reviews.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 9235af091..8f2e9b4b4 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <%- include('head', {title: 'Movie Database - Reviews'}); %> + <%- include('head', {title: 'Movie Database v2.0 - Reviews'}); %> </head> <body> From cadf3a7c18a3067fb7183283a91b3cad929bd74b Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:42:18 -0500 Subject: [PATCH 3/8] Update index.ejs --- views/index.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.ejs b/views/index.ejs index 7561b2767..380e327e9 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -77,7 +77,7 @@ <% if (!msg.errors) { %> <div class="field is-grouped"> <div class="control"> - <button class="button is-link" type="submit">Submit</button> + <button class="button is-link" type="submit">Add Review</button> </div> </div> <%}%> From 4b59900e994c81d908717c31cae326cdfbc76d24 Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:42:45 -0500 Subject: [PATCH 4/8] Update header.ejs --- views/header.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/header.ejs b/views/header.ejs index 5f84367ec..c4fde98cf 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -1,7 +1,7 @@ <nav class="navbar is-info" role="navigation" aria-label="main navigation"> <div class="navbar-menu is-active"> <div class="navbar-start"> - <a class="navbar-item" href="/"> Home </a> + <a class="navbar-item" href="/"> Add </a> <a class="navbar-item" href="/reviews"> Reviews </a> </div> </div> From 99c8a8ff8268e58f19145bb5ce56c6dcaa2a675f Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Sat, 10 Dec 2022 08:10:24 -0500 Subject: [PATCH 5/8] Update reviews.ejs --- views/reviews.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 8f2e9b4b4..4ad6e30a8 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -25,9 +25,9 @@ <div class="tile is-ancestor"> <div class="tile is-parent"> <% if(review.doc.sentiment === 'positive') {%> - <article class="tile is-child box notification is-primary"> - <% } else if(review.doc.sentiment === 'negative') {%> <article class="tile is-child box notification is-warning"> + <% } else if(review.doc.sentiment === 'negative') {%> + <article class="tile is-child box notification is-primary"> <% } else { %> <article class="tile is-child box"> <% } %> From 35a90f2d47e333300eb14ab66cf983efb15c2dbb Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Sat, 10 Dec 2022 08:59:30 -0500 Subject: [PATCH 6/8] Update reviews.ejs --- views/reviews.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 4ad6e30a8..68b81eca8 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -25,9 +25,9 @@ <div class="tile is-ancestor"> <div class="tile is-parent"> <% if(review.doc.sentiment === 'positive') {%> - <article class="tile is-child box notification is-warning"> - <% } else if(review.doc.sentiment === 'negative') {%> <article class="tile is-child box notification is-primary"> + <% } else if(review.doc.sentiment === 'negative') {%> + <article class="tile is-child box notification is-red"> <% } else { %> <article class="tile is-child box"> <% } %> From 73caf8a196ab3ae2fd88f1a224118ca6d7cb8f8a Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Sat, 10 Dec 2022 09:03:42 -0500 Subject: [PATCH 7/8] Update reviews.ejs --- views/reviews.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 68b81eca8..8f2e9b4b4 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -27,7 +27,7 @@ <% if(review.doc.sentiment === 'positive') {%> <article class="tile is-child box notification is-primary"> <% } else if(review.doc.sentiment === 'negative') {%> - <article class="tile is-child box notification is-red"> + <article class="tile is-child box notification is-warning"> <% } else { %> <article class="tile is-child box"> <% } %> From 9a290995a0c86a3b46024942ad19f4a58121a61c Mon Sep 17 00:00:00 2001 From: kboyd783 <119053197+kboyd783@users.noreply.github.com> Date: Sat, 10 Dec 2022 09:52:12 -0500 Subject: [PATCH 8/8] Update reviews.ejs --- views/reviews.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 8f2e9b4b4..f57a7f351 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -27,7 +27,7 @@ <% if(review.doc.sentiment === 'positive') {%> <article class="tile is-child box notification is-primary"> <% } else if(review.doc.sentiment === 'negative') {%> - <article class="tile is-child box notification is-warning"> + <article class="tile is-child box notification is-danger"> <% } else { %> <article class="tile is-child box"> <% } %>