diff --git a/res/include/md/subscribe.md b/res/include/md/subscribe.md index 4989538..6bb7c17 100644 --- a/res/include/md/subscribe.md +++ b/res/include/md/subscribe.md @@ -6,6 +6,36 @@ ✅ You are logged in to your pixeldrain account. Continue to the next step. +## Join a support tier in Patreon + +
{{$field.DefaultValue}}
+ {{$field.DefaultValue}} {{end}} {{end}} diff --git a/res/template/home.html b/res/template/home.html index e682ff0..073a77d 100644 --- a/res/template/home.html +++ b/res/template/home.html @@ -44,7 +44,7 @@ .instruction_text { margin: 0.1em; font-size: 1.5em; - display: inline-block; + display: inline; box-sizing: border-box; vertical-align: middle; } @@ -57,20 +57,31 @@ margin: 5px 15px; } + .table_container { + width: 100%; + overflow-x: auto; + overflow-y: hidden; + } .feat_table { display: flex; flex-direction: column; + min-width: 400px; } .feat_table > div { display: flex; flex-direction: row; } - .feat_table > div > div:first-child { max-width: 14em; } + .feat_table > div > div:first-child { + flex: 0 0 20%; + max-width: 20%; + } .feat_table > div > div { - flex: 1 0 0; + flex: 1 1 0; margin: 0.2em; padding: 0.5em; text-align: center; + word-wrap: break-word; + hyphens: auto; } .feat_table > div > .feat_label { border-top-left-radius: 0.5em; @@ -97,23 +108,10 @@ font-weight: bold; } - @media (max-width: 800px) { - .feat_table > div { - flex-direction: column; - margin: 0.2em; - border-radius: 6px; - } - .feat_table > div > div { - margin: 0; - border-radius: 0; - } - } - @media (min-width: 800px) { - .feat_table > div > div.round_tl { border-top-left-radius: 0.5em; } - .feat_table > div > div.round_tr { border-top-right-radius: 0.5em; } - .feat_table > div > div.round_br { border-bottom-right-radius: 0.5em; } - .feat_table > div > div.round_bl { border-bottom-left-radius: 0.5em; } - } + .feat_table > div > div.round_tl { border-top-left-radius: 0.5em; } + .feat_table > div > div.round_tr { border-top-right-radius: 0.5em; } + .feat_table > div > div.round_br { border-bottom-right-radius: 0.5em; } + .feat_table > div > div.round_bl { border-bottom-left-radius: 0.5em; } {{template `modal.css`}} @@ -126,7 +124,7 @@- Pixeldrain is a file sharing website built for speed and - ease of use. Pixeldrain does not cost any money, though - donations are appreciated. See how you can support - pixeldrain below. -
-- Files can be uploaded by clicking the big green upload - button, or by dragging them onto this page from your file - manager. You can not upload directories at this time, only - files. The maximum file size you can upload is 10 GB. -
-- You can also create lists, which are a collection of files. - Like a photo album, a music record or a video compilation. - To do this you need to upload a bunch of files at once. The - files will be saved in the order you uploaded them. When all - files have finished uploading you click the "Create list - with uploaded files" button and you will be asked to enter a - name for your list. After picking a name the list will be - created and opened in a new window. If your browser blocks - the window you can also find a link to the list at the - bottom of your uploaded files. -
-- For more information about pixeldrain see the - about page. -
++ Pixeldrain is a file sharing website built for speed and + ease of use. Pixeldrain does not cost any money, though + donations are appreciated. See how you can support + pixeldrain below. +
++ Files can be uploaded by clicking the big green upload + button, or by dragging them onto this page from your file + manager. +
++ You can also create lists, which are a collection of files. + Like a photo album, a music record or a video compilation. + To do this you need to upload a bunch of files at once. The + files will be saved in the order you uploaded them. When all + files have finished uploading you click the "Create list + with uploaded files" button and you will be asked to enter a + name for your list. After picking a name the list will be + created and opened in a new window. If your browser blocks + the window you can also find a link to the list at the + bottom of your uploaded files. +
++ For more information about pixeldrain see the + about page. +
-- By purchasing a subscription you support pixeldrain on its - mission to make content sharing easier, safer and faster for - everyone. -
++ By purchasing a subscription you support pixeldrain on its + mission to make content sharing easier, safer and faster for + everyone. +
+- Premium is more catered toward file storage and content - delivery. This plan enables the Buckets feature which - provides a more structured way to manage your files on - pixeldrain. Buckets allow direct linking to files without - running into rate limiting. -
-- When you choose for Premium you will also get all the - benefits of the Pro subscription. -
+ Premium is more catered toward content delivery. This plan + enables the Buckets feature which provides a more structured way + to manage your files on pixeldrain. Buckets allow direct linking + to files without running into rate limiting. +
++ When you choose for Premium you will also get all the benefits + of the Pro subscription. A base rate of €1 per month will be + billed regardless of your usage. +
+
@@ -314,7 +322,7 @@
gets 30 days by default (90 days if you have the pro plan).
After these 30 days we will check when the file was last viewed.
Files which are regularly viewed could still bring new users to
- the platform, it would be rude to show these people a 404 Not
+ the platform, it would be rude to show these people a File Not
Found page. So if the file was viewed in the last 30 days we
will simply postpone the next check a month. If the file was not
viewed however it will immediately be removed.
@@ -332,22 +340,19 @@
When viewing a file on pixeldrain it has to go through the file
- viewer. Files which are directly downloaded without visiting the
- file viewer are blocked after a while.
+ viewer. Files which have three times more downloads than views
+ will be rate limited. This happens when downloaders use external
+ downloading tools to download the file instead of a web browser.
- Direct linking allows you to share files without going through
- the file viewer. You can use this to embed videos / images in
- your own webpages. Files which are direct linked won't count any
- views but we will keep track of the downloads and used
- bandwidth.
+ This means that the downloader will be asked to fill in a
+ captcha before they can download the file. When the file /
+ download ratio drops below 3x again the captcha will be removed
+ and direct downloads become possible again.
- When you use up your direct linking bandwidth your direct links
- will stop working for the rest of the month. You can always
- upgrade to get more bandwidth. The amount of bandwidth used in
- the month can be seen on your user page when
- logged in.
+ If you need direct linking you can upgrade to the Premium plan.
+ Bandwidth will be billed per terabyte.