diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-20 14:48:04 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-20 14:48:04 +0000 |
| commit | 3f91a121b33151cd466de930d0e68bdf87f4d19e (patch) | |
| tree | 62e9555661340d85537d8441da8cb92384d21180 /app/views | |
| parent | 1a1f5a10fb60426dae868d2a73ed2cac46100f2b (diff) | |
Convert to typescript
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/error.ejs | 19 | ||||
| -rw-r--r-- | app/views/index.ejs | 18 | ||||
| -rw-r--r-- | app/views/page.ejs | 20 | ||||
| -rw-r--r-- | app/views/partials/header.ejs | 12 | ||||
| -rw-r--r-- | app/views/partials/navbar.ejs | 3 | ||||
| -rw-r--r-- | app/views/purge.ejs | 24 | ||||
| -rw-r--r-- | app/views/rebuild.ejs | 23 |
7 files changed, 0 insertions, 119 deletions
diff --git a/app/views/error.ejs b/app/views/error.ejs deleted file mode 100644 index 88e1a27..0000000 --- a/app/views/error.ejs +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>Error: <%= code %></title> - <link rel="stylesheet" href="/css/globalstyles.css"> -</head> -<body> - <div id="main-container"> - <%- include('partials/header') %> - <div id="content-container"> - <%- include('partials/navbar') %> - <div id="content"> - <h1>An error occurred (<%= code %>)</h1> - <p>Go <a href="/">home</a>?</p> - </div> - </div> - </div> -</body> -</html> diff --git a/app/views/index.ejs b/app/views/index.ejs deleted file mode 100644 index f47b830..0000000 --- a/app/views/index.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title><%= title %></title> - <link rel="stylesheet" href="/css/globalstyles.css"> -</head> -<body> - <div id="main-container"> - <%- include('partials/header') %> - <div id="content-container"> - <%- include('partials/navbar') %> - <div id="content"> - <%- page %> - </div> - </div> - </div> -</body> -</html> diff --git a/app/views/page.ejs b/app/views/page.ejs deleted file mode 100644 index 41ee1e2..0000000 --- a/app/views/page.ejs +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title><%= title %></title> - <link rel="stylesheet" href="/css/globalstyles.css"> -</head> -<body> - <div id="main-container"> - <%- include('partials/header') %> - <div id="content-container"> - <%- include('partials/navbar') %> - <div id="content"> - <%- content %> - <hr> - <span class=footer><a href="https://github.com/LMBishop/website">GitHub</a> | <a href="/<%= path %>.wiki">View raw</a> | Page built: <%= buildTime %> | <a href="/special/purge/<%= path %>">Purge this page</a></span> - </div> - </div> - </div> -</body> -</html> diff --git a/app/views/partials/header.ejs b/app/views/partials/header.ejs deleted file mode 100644 index bd11ce0..0000000 --- a/app/views/partials/header.ejs +++ /dev/null @@ -1,12 +0,0 @@ -<pre class="website-name"> - -<!-- -██╗ ███╗ ███╗██████╗ ██╗███████╗██╗ ██╗ ██████╗ ██████╗ -██║ ████╗ ████║██╔══██╗██║██╔════╝██║ ██║██╔═══██╗██╔══██╗ -██║ ██╔████╔██║██████╔╝██║███████╗███████║██║ ██║██████╔╝ -██║ ██║╚██╔╝██║██╔══██╗██║╚════██║██╔══██║██║ ██║██╔═══╝ -███████╗██║ ╚═╝ ██║██████╔╝██║███████║██║ ██║╚██████╔╝██║ -╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ - - --> -</pre> diff --git a/app/views/partials/navbar.ejs b/app/views/partials/navbar.ejs deleted file mode 100644 index ff0c84d..0000000 --- a/app/views/partials/navbar.ejs +++ /dev/null @@ -1,3 +0,0 @@ -<div id="navbar"> - <%- navbar %> -</div> diff --git a/app/views/purge.ejs b/app/views/purge.ejs deleted file mode 100644 index 04bae61..0000000 --- a/app/views/purge.ejs +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>Purge page</title> - <link rel="stylesheet" href="/css/globalstyles.css"> - <script src="https://code.jquery.com/jquery-3.6.0.min.js" ntegrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> - <script src="/scripts/purge.js"></script> -</head> -<body> - <div id="main-container"> - <%- include('partials/header') %> - <div id="content-container"> - <%- include('partials/navbar') %> - <div id="content"> - <h1>Purge page</h1> - <span id="response"></span> - <p>Are you sure you wish to purge the page <span class="highlight"><%= page %></span>?</p> - <p>The last build time for this page was <span class="highlight"><%= buildTime %></span> (<span class="highlight"><%= buildTimeRelative %></span> minutes ago).</p> - <button id="confirm" data-page="<%= page %>">Confirm</button> - </div> - </div> - </div> -</body> -</html> diff --git a/app/views/rebuild.ejs b/app/views/rebuild.ejs deleted file mode 100644 index 9f9cfaa..0000000 --- a/app/views/rebuild.ejs +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>Rebuild</title> - <link rel="stylesheet" href="/css/globalstyles.css"> - <script src="https://code.jquery.com/jquery-3.6.0.min.js" ntegrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> - <script src="/scripts/rebuild.js"></script> -</head> -<body> - <div id="main-container"> - <%- include('partials/header') %> - <div id="content-container"> - <%- include('partials/navbar') %> - <div id="content"> - <h1>Rebuild</h1> - <span id="response"></span> - <p>Are you sure you wish to rebuild the page directory?</p> - <button id="confirm">Confirm</button> - </div> - </div> - </div> -</body> -</html> |
