Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (fs.existsSync("data")) {
}

const requestListener = function (req, res) {
log(req.url)
if (req.url!=="/favicon.ico") log(req.url)
if (req.url === "/test"){
fs.readFile("templates/rick.html", function (err,data) {
if (err) {
Expand Down
15 changes: 13 additions & 2 deletions static/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
nav {

}
position: fixed;
top: 0%;
height: 10%;
width: 100%;
text-align: center;
vertical-align: top;
};
.eviloctopus {
height: 10%;
text-align:left;
position: fixed;
top: 0%;
};
25 changes: 20 additions & 5 deletions templates/start.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
<html>
<head>
<title>Upload something</title>
<script>
let upcode = "\\code"
let downcode = "\\code2"
let size = window.innerHeight;
</script>
<script src = start.js></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<style>
button {
height: 100%;
background-color: black;
color: white;
border-radius: 10%
};
</style>
<body>
<nav> <a href= "404.html">404 page</a> <button>Nothing happens here</button></nav>


<img width = 5% class = "eviloctopus" src = "favicon.ico">
<nav>
<button class="switch">Nothing happens here</button>
<button class="switch">Nor here.</button>
</nav>

</body>
<script>
let sessioncode = "\\code"

</script>


</html>