From 9cd3846795b15403565e8d92423bb6c6b9dd94d2 Mon Sep 17 00:00:00 2001 From: Pitu Date: Tue, 31 Jan 2017 03:31:10 -0300 Subject: [PATCH] Added FAQ --- lolisafe.js | 1 + pages/auth.html | 2 +- pages/faq.html | 54 ++++++++++++++++++++++++++++++++ pages/home.html | 7 +++-- pages/panel.html | 2 +- public/js/{upload.js => home.js} | 1 + 6 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 pages/faq.html rename public/js/{upload.js => home.js} (97%) diff --git a/lolisafe.js b/lolisafe.js index e24de9b..74258f2 100644 --- a/lolisafe.js +++ b/lolisafe.js @@ -22,6 +22,7 @@ safe.use('/', express.static('./public')) safe.use('/api', api) safe.get('/', (req, res, next) => res.sendFile('home.html', { root: './pages/' })) +safe.get('/faq', (req, res, next) => res.sendFile('faq.html', { root: './pages/' })) safe.get('/auth', (req, res, next) => res.sendFile('auth.html', { root: './pages/' })) safe.get('/panel', (req, res, next) => res.sendFile('panel.html', { root: './pages/' })) safe.use((req, res, next) => res.status(404).sendFile('404.html', { root: './pages/error/' })) diff --git a/pages/auth.html b/pages/auth.html index f5aec74..7badd04 100644 --- a/pages/auth.html +++ b/pages/auth.html @@ -1,7 +1,7 @@ - loli-safe - A self hosted upload service + lolisafe - A small safe worth protecting. diff --git a/pages/faq.html b/pages/faq.html new file mode 100644 index 0000000..6d9a284 --- /dev/null +++ b/pages/faq.html @@ -0,0 +1,54 @@ + + + + lolisafe - A small safe worth protecting. + + + + + +
+
+
+ +

What is lolisafe?

+
+
+ lolisafe is an easy to use, open source and completely free file upload service. We accept your files, photos, documents, anything, and give you back a shareable link for you to send to others. +
+
+ +

Will you keep my files forever?

+
+
+ Unless we receive a copyright complain or some other bullshit, we will. +
+
+ +

How can I keep track of my uploads?

+
+
+ Simply create a user on the site and every upload will be associated with your account, granting you access to your uploaded files through our dashboard. +
+
+ +

What are albums?

+
+
+ Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with our chrome extension which will enable you to right click -> send to lolisafe or to a desired album if you have any. +
+
+ +

Why should I use this?

+
+
+ There are too many file upload services out there, and a lot of them rely on the foundations of pomf which is ancient. In a desperate and unsuccessful attempt of finding a good file uploader that's easily extendable, lolisafe was born. We give you control over your files, we give you a way to sort your uploads into albums for ease of access and we give you an api to use with ShareX or any other thing that let's you make POST requests. Awesome isn't it? Just like you. +
+
+ +
+
+
+ + + \ No newline at end of file diff --git a/pages/home.html b/pages/home.html index eebbdcd..e620513 100644 --- a/pages/home.html +++ b/pages/home.html @@ -1,14 +1,14 @@ - loli-safe - A small safe worth protecting. + lolisafe - A small safe worth protecting. - + @@ -42,8 +42,9 @@ +

diff --git a/pages/panel.html b/pages/panel.html index e23f9b7..c8ae8cb 100644 --- a/pages/panel.html +++ b/pages/panel.html @@ -1,7 +1,7 @@ - loli-safe - A self hosted upload service + lolisafe - A small safe worth protecting. diff --git a/public/js/upload.js b/public/js/home.js similarity index 97% rename from public/js/upload.js rename to public/js/home.js index 5b5ad6b..cd06cc2 100644 --- a/public/js/upload.js +++ b/public/js/home.js @@ -69,6 +69,7 @@ upload.prepareUpload = function(){ document.getElementById('maxFileSize').innerHTML = 'Maximum upload size per file is ' + upload.maxFileSize; document.getElementById('loginToUpload').style.display = 'none'; + document.getElementById('loginLinkText').innerHTML = 'Create an account and keep track of your uploads'; document.getElementById('uploadContainer').appendChild(div); upload.prepareDropzone();