Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual aspects #45

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
8 changes: 1 addition & 7 deletions views/404.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="pl">

<head>
<%- include('./partials/head.ejs') %>
</head>

Expand All @@ -13,6 +9,4 @@
</section>
</div>
<%- include('./partials/footer.ejs') %>
</body>

</html>
<%- include('./partials/end.ejs') %>
10 changes: 2 additions & 8 deletions views/500.ejs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<!DOCTYPE html>
<html lang="pl">

<head>
<%- include('./partials/head.ejs') %>
</head>
</head>

<body>
<%- include('./partials/nav.ejs') %>
Expand All @@ -13,6 +9,4 @@
</section>
</div>
<%- include('./partials/footer.ejs') %>
</body>

</html>
<%- include('./partials/end.ejs') %>
13 changes: 4 additions & 9 deletions views/index.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<!DOCTYPE html>
<html>

<head>
<%- include('./partials/head') %>
<%- include('./partials/head') %>
</head>

<body>
Expand All @@ -27,7 +23,6 @@
</div>
</section>
</div>
<%- include('./partials/footer') %>
</body>

</html>

<%- include('./partials/footer.ejs') %>
<%- include('./partials/end.ejs') %>
8 changes: 1 addition & 7 deletions views/notes/create.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="en">

<head>
<%- include('../partials/head.ejs') %>
</head>

Expand All @@ -25,6 +21,4 @@
</section>
</div>
<%- include('../partials/footer.ejs') %>
</body>

</html>
<%- include("../partials/end.ejs") %>
8 changes: 1 addition & 7 deletions views/notes/details.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="en">

<head>
<%- include("../partials/head.ejs") %>
<script>
function note_update_html() {
Expand Down Expand Up @@ -45,6 +41,4 @@
</section>
</div>
<%- include("../partials/footer.ejs") %>
</body>

</html>
<%- include("../partials/end.ejs") %>
8 changes: 1 addition & 7 deletions views/notes/index.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="en">

<head>
<%- include('../partials/head.ejs') %>
</head>

Expand All @@ -26,6 +22,4 @@
</section>
</div>
<%- include('../partials/footer.ejs') %>
</body>

</html>
<%- include("../partials/end.ejs") %>
2 changes: 2 additions & 0 deletions views/partials/end.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
</body>
</html>
13 changes: 8 additions & 5 deletions views/partials/head.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<meta charset="UTF-8">
<title>Projekt | <%= title %> </title>
<link rel="stylesheet" href="/static/styles/main.css" type="text/css">
<link rel="stylesheet" href="/static/styles/dark.css" type="text/css">
<link rel="stylesheet" href="/static/styles/blue.css" type="text/css">
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8" />
<title>Projekt | <%= title %></title>
<link rel="stylesheet" href="/static/styles/main.css" type="text/css" />
<link rel="stylesheet" href="/static/styles/dark.css" type="text/css" />
<link rel="stylesheet" href="/static/styles/blue.css" type="text/css" />
9 changes: 1 addition & 8 deletions views/user/login.ejs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<!DOCTYPE html>
<html lang="en">

<head>
<%- include("../partials/head.ejs") %>
</head>

<body>
<%- include('../partials/nav.ejs') %>
<div class="outer" id="content_wrap">
Expand All @@ -18,6 +13,4 @@
</section>
</div>
<%- include('../partials/footer.ejs') %>
</body>

</html>
<%- include('../partials/end.ejs') %>
8 changes: 1 addition & 7 deletions views/user/logout.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<!DOCTYPE html>
<html lang="en">

<head>
<%- include("../partials/head.ejs") %>
</head>

Expand All @@ -12,6 +8,4 @@
</section>
</div>
<%- include('../partials/footer.ejs') %>
</body>

</html>
<%- include('../partials/end.ejs') %>
7 changes: 1 addition & 6 deletions views/user/register.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<html lang="en">

<head>
<%- include("../partials/head.ejs") %>
<script>
function ValidatePasswords() {
Expand Down Expand Up @@ -35,6 +32,4 @@
</section>
</div>
<%- include('../partials/footer.ejs') %>
</body>

</html>
<%- include('../partials/end.ejs') %>