Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion views/header.ejs
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 2 additions & 2 deletions views/index.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<%- include('head', {title: 'Movie Database - Index'}); %>
<%- include('head', {title: 'Movie Database v2.0 - Index'}); %>
</head>

<body>
Expand Down Expand Up @@ -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>
<%}%>
Expand Down
4 changes: 2 additions & 2 deletions views/reviews.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<%- include('head', {title: 'Movie Database - Reviews'}); %>
<%- include('head', {title: 'Movie Database v2.0 - Reviews'}); %>
</head>

<body>
Expand All @@ -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">
<% } %>
Expand Down