From 03dc86b0659ffc586d2423794d70f66f2e11fbf2 Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 29 Nov 2021 17:07:03 -0300 Subject: [PATCH] never gonna make you cry --- static/downframe.html | 0 static/start.js | 10 ++++++++++ static/style.css | 4 +++- templates/rick.html | 11 ++++++++++- templates/start.html | 13 +++++++++++-- 5 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 static/downframe.html create mode 100644 static/start.js diff --git a/static/downframe.html b/static/downframe.html new file mode 100644 index 0000000..e69de29 diff --git a/static/start.js b/static/start.js new file mode 100644 index 0000000..637b838 --- /dev/null +++ b/static/start.js @@ -0,0 +1,10 @@ +let upb = document.getElementById("upb") +let db = document.getElementById("downb") +let frame = document.getElementById("frame") + +upb.onclick(function(){ + if (frame.src != "uploadframe.html") frame.src = "uploadframe.html"; +}) +db.onclick(function(){ + if (frame.src != "downframe.html") frame.src = "downframe.html" +}) \ No newline at end of file diff --git a/static/style.css b/static/style.css index 6fa859a..3712167 100644 --- a/static/style.css +++ b/static/style.css @@ -1,4 +1,5 @@ nav { + position: fixed; top: 0%; height: 10%; @@ -11,4 +12,5 @@ nav { text-align:left; position: fixed; top: 0%; -}; \ No newline at end of file + +}; diff --git a/templates/rick.html b/templates/rick.html index b5b6778..64a3d78 100644 --- a/templates/rick.html +++ b/templates/rick.html @@ -4,8 +4,17 @@ Test - + \ No newline at end of file diff --git a/templates/start.html b/templates/start.html index 0b7d385..0f30d44 100644 --- a/templates/start.html +++ b/templates/start.html @@ -16,14 +16,23 @@ color: white; border-radius: 10% }; +div{ + vertical-align: middle; +} + +
+ +
+ +