Initial commit
This commit is contained in:
25
views/sourceviewer.ejs
Normal file
25
views/sourceviewer.ejs
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Oddbyte</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link id="favicon" rel="shortcut icon" type="image/png" href="data:image/png;base64,<%- faviconb64 %>">
|
||||
<link rel="canonical" href="https://oddbyte.dev/"/>
|
||||
<meta name="fediverse:creator" content="@oddbyte@mastodon.social">
|
||||
<style>
|
||||
body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 class="selectDisable">Source code for <code><%-filePath %></code></h1>
|
||||
<p><a href="/source" style="color: white;">Back</a></p>
|
||||
<hr />
|
||||
<pre><code><%= fileContent %></code></pre>
|
||||
<hr />
|
||||
<p><a href="/source" style="color: white;">Back</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user