Skip to content

Commit df64114

Browse files
authored
Merge pull request #6 from J-P-S-O/master
Master
2 parents b117feb + 3790502 commit df64114

3 files changed

Lines changed: 34 additions & 8 deletions

File tree

run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (fs.existsSync("data")) {
2424
}
2525

2626
const requestListener = function (req, res) {
27-
log(req.url)
27+
if (req.url!=="/favicon.ico") log(req.url)
2828
if (req.url === "/test"){
2929
fs.readFile("templates/rick.html", function (err,data) {
3030
if (err) {

static/style.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
nav {
2-
3-
}
2+
position: fixed;
3+
top: 0%;
4+
height: 10%;
5+
width: 100%;
6+
text-align: center;
7+
vertical-align: top;
8+
};
9+
.eviloctopus {
10+
height: 10%;
11+
text-align:left;
12+
position: fixed;
13+
top: 0%;
14+
};

templates/start.html

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,32 @@
11
<html>
22
<head>
33
<title>Upload something</title>
4+
<script>
5+
let upcode = "\\code"
6+
let downcode = "\\code2"
7+
let size = window.innerHeight;
8+
</script>
9+
<script src = start.js></script>
410
<link rel="stylesheet" type="text/css" href="style.css" />
511
</head>
12+
<style>
13+
button {
14+
height: 100%;
15+
background-color: black;
16+
color: white;
17+
border-radius: 10%
18+
};
19+
</style>
620
<body>
7-
<nav> <a href= "404.html">404 page</a> <button>Nothing happens here</button></nav>
8-
21+
22+
<img width = 5% class = "eviloctopus" src = "favicon.ico">
23+
<nav>
24+
<button class="switch">Nothing happens here</button>
25+
<button class="switch">Nor here.</button>
26+
</nav>
927

1028
</body>
11-
<script>
12-
let sessioncode = "\\code"
1329

14-
</script>
1530

1631

1732
</html>

0 commit comments

Comments
 (0)