From 1e6e4defaa2241a6f22b5f1e1d8df2c27fd2d8ce Mon Sep 17 00:00:00 2001 From: hippoz Date: Mon, 5 Oct 2020 00:00:20 +0300 Subject: [PATCH] try out upload page on homepage --- pages/upload.html | 8 ++++++++ res/index.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 pages/upload.html diff --git a/pages/upload.html b/pages/upload.html new file mode 100644 index 0000000..d558c5a --- /dev/null +++ b/pages/upload.html @@ -0,0 +1,8 @@ +

this is the upload page

+

i think

+
+ Password:
+ File name:
+
+ +
\ No newline at end of file diff --git a/res/index.js b/res/index.js index ec6b0d5..66450d3 100644 --- a/res/index.js +++ b/res/index.js @@ -15,7 +15,7 @@ const onButtonClick = (buttonId) => { break; } case 'button-file-server': { - window.location.href = 'https://files.hippoz.xyz/'; + A('#content-container').load('/pages/upload.html'); break; } case 'button-git-server': {