From ef63d56d881ec877d7447729d774dbe94dabb41c Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 29 Nov 2021 15:44:03 -0300 Subject: [PATCH 1/2] lol --- static/start.js | 0 static/style.css | 10 +++++++++- templates/start.html | 15 +++++++++++---- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 static/start.js diff --git a/static/start.js b/static/start.js new file mode 100644 index 0000000..e69de29 diff --git a/static/style.css b/static/style.css index dc782b7..39d0d01 100644 --- a/static/style.css +++ b/static/style.css @@ -1,3 +1,11 @@ nav { - + height: 10%; + width: 100%; + text-align: center; + vertical-align: top; +}; +.eviloctopus { + height: 10%; + text-align:left; + } \ No newline at end of file diff --git a/templates/start.html b/templates/start.html index 0c49bff..6bce19b 100644 --- a/templates/start.html +++ b/templates/start.html @@ -1,17 +1,24 @@ Upload something + + - + + + - From 3790502b252cab7cbbe7ead4d7da3ad8e7ff04d1 Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 29 Nov 2021 16:02:10 -0300 Subject: [PATCH 2/2] . --- run.js | 2 +- static/start.js | 0 static/style.css | 9 ++++++--- templates/start.html | 16 ++++++++++++---- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 static/start.js diff --git a/run.js b/run.js index 880d05f..47c255a 100644 --- a/run.js +++ b/run.js @@ -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) { diff --git a/static/start.js b/static/start.js deleted file mode 100644 index e69de29..0000000 diff --git a/static/style.css b/static/style.css index 39d0d01..6fa859a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,11 +1,14 @@ nav { + position: fixed; + top: 0%; height: 10%; width: 100%; text-align: center; vertical-align: top; -}; + }; .eviloctopus { height: 10%; text-align:left; - -} \ No newline at end of file + position: fixed; + top: 0%; +}; \ No newline at end of file diff --git a/templates/start.html b/templates/start.html index 6bce19b..0b7d385 100644 --- a/templates/start.html +++ b/templates/start.html @@ -2,20 +2,28 @@ Upload something + -