From 835064e1d3fe2e629cdef4b2eda4eb6b885fbe02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:11:41 +0100 Subject: [PATCH 01/11] Added html and head tag --- views/partials/head.ejs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/views/partials/head.ejs b/views/partials/head.ejs index a0463b2..53579c2 100644 --- a/views/partials/head.ejs +++ b/views/partials/head.ejs @@ -1,5 +1,8 @@ - -Projekt | <%= title %> - - - \ No newline at end of file + + + + + Projekt | <%= title %> + + + From 62eba2ae8324ab352e241d9048f4b46f2d7426ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:12:28 +0100 Subject: [PATCH 02/11] Added body and html close tags --- views/partials/end.ejs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 views/partials/end.ejs diff --git a/views/partials/end.ejs b/views/partials/end.ejs new file mode 100644 index 0000000..691287b --- /dev/null +++ b/views/partials/end.ejs @@ -0,0 +1,2 @@ + + \ No newline at end of file From 740bce7aee768047657bdfa611889f7d18350590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:14:00 +0100 Subject: [PATCH 03/11] Removed html and body tags and added partials end.ejs --- views/404.ejs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/views/404.ejs b/views/404.ejs index 008569b..a93428a 100644 --- a/views/404.ejs +++ b/views/404.ejs @@ -1,7 +1,3 @@ - - - - <%- include('./partials/head.ejs') %> @@ -13,6 +9,4 @@ <%- include('./partials/footer.ejs') %> - - - \ No newline at end of file +<%- include('./partials/end.ejs') %> \ No newline at end of file From e6f14a59be857874297b41aea5bd6194ed807552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:14:53 +0100 Subject: [PATCH 04/11] Added head close tag and added partials end.ejs --- views/500.ejs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/views/500.ejs b/views/500.ejs index 8098c3d..fb6d12d 100644 --- a/views/500.ejs +++ b/views/500.ejs @@ -1,9 +1,5 @@ - - - - <%- include('./partials/head.ejs') %> - + <%- include('./partials/nav.ejs') %> @@ -13,6 +9,4 @@ <%- include('./partials/footer.ejs') %> - - - \ No newline at end of file + <%- include('./partials/end.ejs') %> \ No newline at end of file From 9a8a2d7e5e47bf8c2f9361a5acf9b7c5fa96b5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:15:53 +0100 Subject: [PATCH 05/11] Removed html and head open tags and added partial - end.ejs --- views/index.ejs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/views/index.ejs b/views/index.ejs index f56b09c..e39b9fa 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,8 +1,4 @@ - - - - - <%- include('./partials/head') %> +<%- include('./partials/head') %> @@ -27,7 +23,6 @@ - <%- include('./partials/footer') %> - - - \ No newline at end of file + +<%- include('./partials/footer.ejs') %> +<%- include('./partials/end.ejs') %> From 7d710829e3c97083eae6cb1d381340892ffa121b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:16:32 +0100 Subject: [PATCH 06/11] Removed html and head open tags and added partial - end.ejs --- views/notes/create.ejs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/views/notes/create.ejs b/views/notes/create.ejs index 6eeb3d0..9e89063 100644 --- a/views/notes/create.ejs +++ b/views/notes/create.ejs @@ -1,7 +1,3 @@ - - - - <%- include('../partials/head.ejs') %> @@ -25,6 +21,4 @@ <%- include('../partials/footer.ejs') %> - - - \ No newline at end of file +<%- include("../partials/end.ejs") %> \ No newline at end of file From bd5c2f6814a2b5177158a38e3ecdebc8b19fa7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Skoczek?= Date: Mon, 17 Jan 2022 23:16:48 +0100 Subject: [PATCH 07/11] Removed html and head open tags and added partial - end.ejs --- views/notes/details.ejs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/views/notes/details.ejs b/views/notes/details.ejs index 6c83430..525dcdc 100644 --- a/views/notes/details.ejs +++ b/views/notes/details.ejs @@ -1,7 +1,3 @@ - - - - <%- include("../partials/head.ejs") %>