aboutsummaryrefslogtreecommitdiff
path: root/views/404.ejs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-04-25 17:43:20 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-04-25 17:43:20 -0400
commit69474fee32c62e1b97b9f51b78a2e242542ae9a7 (patch)
treef03569672f62ad251a38d1deb5d46152f1b54207 /views/404.ejs
parent379e44e7f1649ed2983e9167a7a4ac27303ed8d5 (diff)
downloadProject-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.tar.gz
Project-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.tar.bz2
Project-NewTube-69474fee32c62e1b97b9f51b78a2e242542ae9a7.zip
Rewrite incoming
Diffstat (limited to 'views/404.ejs')
-rw-r--r--views/404.ejs29
1 files changed, 0 insertions, 29 deletions
diff --git a/views/404.ejs b/views/404.ejs
deleted file mode 100644
index 0ae7e54..0000000
--- a/views/404.ejs
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- Alee Productions Website: Made by Alee and licensed with GPL-3.0 -->
-<html>
-<head>
- <% include ./includes/header %>
-</head>
-<body class="dark">
- <% include ./includes/navbar %>
- <div class="text-center mt-3">
- <h1>404 - Not Found</h1>
- <h2 id="404message"></h2>
- <h3>Return to <a href="/" class="blue-text">homepage</a>?</h3>
- </div>
- <script>
- function randomtext() {
- let randomtxt = [
- 'Oops, seems like that page isn\'t found!',
- 'You seem to be lost!',
- 'Uh oh, that page isn\'t found in our servers!',
- 'Seems like you landed on this page...'
- ];
- return randomtxt[Math.floor((Math.random() * 4.00))];
- }
-
- document.getElementById("404message").innerHTML = randomtext();
- </script>
- <% include ./includes/scripts %>
-</body>
-</html> \ No newline at end of file