From 43bbbfdb92faf00698211f7c8362f4720bb07e11 Mon Sep 17 00:00:00 2001 From: moepoi Date: Sun, 21 Nov 2021 08:22:46 +0700 Subject: [PATCH] Remove unused files --- public/css/login-error.css | 110 ----------------------------- public/css/register-error.css | 124 --------------------------------- views/layouts/header.ejs | 4 -- views/pages/login-error.ejs | 33 --------- views/pages/register-error.ejs | 33 --------- 5 files changed, 304 deletions(-) delete mode 100644 public/css/login-error.css delete mode 100644 public/css/register-error.css delete mode 100644 views/pages/login-error.ejs delete mode 100644 views/pages/register-error.ejs diff --git a/public/css/login-error.css b/public/css/login-error.css deleted file mode 100644 index da2f622..0000000 --- a/public/css/login-error.css +++ /dev/null @@ -1,110 +0,0 @@ -body { - font-family: 'Poppins', sans-serif; - background-color: #1b1c1e; -} - -.nav-color { - background-color: #212226; -} - -.nav-radius { - border-bottom-left-radius: 20px; - border-bottom-right-radius: 20px; -} - -.card { - position: center; - margin: auto; - text-align: center; - border-radius: 20px; - background-color: #212226; -} - -.icon { - position: center; - margin: auto; - width: 65%; - height: 65%; - padding-bottom: 0%; - padding-top: -5%; -} - -.btn { - background-color: darkred; - border-color: darkred; - border-radius: 100px; - width: 50%; -} - -.btn:hover { - background-color: red; - border-color: red; -} - -@media screen and (max-width: 766px) { - .card h2 { - font-size: 7vw; - } - - .card h5 { - font-size: 5vw; - } - - .navbar-brand { - width: 11vw; - height: 11vw; - } - -} - -@media screen and (min-width: 767px) { - .card h2 { - font-size: 4vw; - } - - .card h5 { - font-size: 2vw; - } - - .navbar-brand { - width: 8vw; - height: 8vw; - } - -} - -@media screen and (min-width: 993px) { - .card h2 { - font-size: 3vw; - } - - .card h5 { - font-size: 1.3vw; - } - - .navbar-brand { - width: 6vw; - height: 6vw; - } - -} - -@media screen and (min-width: 1400px) { - .card h2 { - font-size: 4vw; - } - - .card h5 { - font-size: 2vw; - } - - .navbar-brand { - width: 6vw; - height: 6vw; - } - - :focus { - outline: 0 !important; - box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important; - } -} \ No newline at end of file diff --git a/public/css/register-error.css b/public/css/register-error.css deleted file mode 100644 index bd3d028..0000000 --- a/public/css/register-error.css +++ /dev/null @@ -1,124 +0,0 @@ -body { - font-family: 'Poppins', sans-serif; - background-color: #1b1c1e; -} - -.nav-color { - background-color: #212226; -} - -.nav-radius { - border-bottom-left-radius: 20px; - border-bottom-right-radius: 20px; -} - -.card { - position: center; - margin: auto; - text-align: center; - border-radius: 20px; - background-color: #212226; -} - -.icon { - position: center; - margin: auto; - width: 70%; - height: 70%; -} - -.btn { - background-color: darkred; - border-color: darkred; - border-radius: 100px; - width: 50%; -} - -.btn:hover { - background-color: red; - border-color: red; -} - -@media screen and (max-width: 766px) { - .card h2 { - font-size: 7vw; - } - - .card h5 { - font-size: 5vw; - } - - .card a { - font-size: 5vw; - } - - .navbar-brand { - width: 11vw; - height: 11vw; - } - -} - -@media screen and (min-width: 767px) { - .card h2 { - font-size: 4vw; - } - - .card h5 { - font-size: 2vw; - } - - .card a { - font-size: 2.5vw; - } - - .navbar-brand { - width: 8vw; - height: 8vw; - } - -} - -@media screen and (min-width: 993px) { - .card h2 { - font-size: 3vw; - } - - .card h5 { - font-size: 1.3vw; - } - - .card a { - font-size: 1.5vw; - } - - .navbar-brand { - width: 6vw; - height: 6vw; - } - -} - -@media screen and (min-width: 1400px) { - .card h2 { - font-size: 3vw; - } - - .card h5 { - font-size: 1.5vw; - } - - .card a { - font-size: 2vw; - } - - .navbar-brand { - width: 6vw; - height: 6vw; - } - - :focus { - outline: 0 !important; - box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important; - } -} \ No newline at end of file diff --git a/views/layouts/header.ejs b/views/layouts/header.ejs index b20ccb2..83b3e76 100644 --- a/views/layouts/header.ejs +++ b/views/layouts/header.ejs @@ -33,16 +33,12 @@ <% } else if(state == "login") { %> - <% } else if(state == "login-error") { %> - <% } else if(state == "register") { %> <% } else if(state == "register-verification-completed") { %> <% } else if(state == "register-verification-sent") { %> - <% } else if(state == "register-error") { %> - <% } else if(state == "forgot-password") { %> <% } else if(state == "change-password") { %> diff --git a/views/pages/login-error.ejs b/views/pages/login-error.ejs deleted file mode 100644 index 0343217..0000000 --- a/views/pages/login-error.ejs +++ /dev/null @@ -1,33 +0,0 @@ - - - -<%- include('../layouts/header.ejs', {title: 'Login', state: 'login-error'}); %> - - - <%- include('../layouts/navbar.ejs', {types: 'v2', title: 'Login'}); %> -
- - -
-
-
-
-
-

ERROR

-
- -
-
An error has occured... Make sure to check if you have empty fields. Click the button below to get back to the login page.
-
- Login -
-
-
-
-
- - <%- include('../layouts/footer.ejs', {state: 'login-error'}); %> - - - \ No newline at end of file diff --git a/views/pages/register-error.ejs b/views/pages/register-error.ejs deleted file mode 100644 index 9ecdb8d..0000000 --- a/views/pages/register-error.ejs +++ /dev/null @@ -1,33 +0,0 @@ - - - -<%- include('../layouts/header.ejs', {title: 'Register', state: 'register-error'}); %> - - - <%- include('../layouts/navbar.ejs', {types: 'v2', title: 'Register'}); %> -
- - -
-
-
-
-
-

ERROR

-
- -
-
An error has occured... Make sure to check if you have empty fields, or if your email has been registered before. Click the button below to get back to the register page.
-
- Register -
-
-
-
-
- - <%- include('../layouts/footer.ejs', {state: 'register-error'}); %> - - - \ No newline at end of file