Skip to content

Commit 3790502

Browse files
committed
.
1 parent ef63d56 commit 3790502

4 files changed

Lines changed: 19 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/start.js

Whitespace-only changes.

static/style.css

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

templates/start.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@
22
<head>
33
<title>Upload something</title>
44
<script>
5-
let sessioncode = "\\code"
5+
let upcode = "\\code"
6+
let downcode = "\\code2"
67
let size = window.innerHeight;
78
</script>
89
<script src = start.js></script>
910
<link rel="stylesheet" type="text/css" href="style.css" />
1011
</head>
12+
<style>
13+
button {
14+
height: 100%;
15+
background-color: black;
16+
color: white;
17+
border-radius: 10%
18+
};
19+
</style>
1120
<body>
1221

1322
<img width = 5% class = "eviloctopus" src = "favicon.ico">
1423
<nav>
15-
<button>Nothing happens here</button>
16-
<button>Nor here.</button>
24+
<button class="switch">Nothing happens here</button>
25+
<button class="switch">Nor here.</button>
1726
</nav>
18-
1927

2028
</body>
2129

0 commit comments

Comments
 (0)