From 1e30e5e8ff0adfede27ce5957f56a8bcaeba5cca Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 5 Aug 2023 06:51:39 +0400 Subject: [PATCH] Removed unnecessary .center class from sections. | replaced by p.center for space left. --- web/templates/index.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/templates/index.jade b/web/templates/index.jade index 1369145..b1b1ce9 100644 --- a/web/templates/index.jade +++ b/web/templates/index.jade @@ -5,7 +5,7 @@ block header block body :go:func Index(mainSite string, keepForHours int, fileMaxSize, storageAvailableStr string) - section#rules.center + section#rules h2 Rules p Maximum file size is #[b #{fileMaxSize}] and it will be kept for #[b #{keepForHours}] hours. p Content you upload should comply with Russian Federation's law. Generally speaking, anything illegal, like CP, extremist literature, and so on is forbidden. @@ -14,8 +14,8 @@ block body form(action="/" method="POST" enctype="multipart/form-data") input(type="file" name="file" multiple=false) button(type="submit") Upload - | #{storageAvailableStr} left. - section.center + p.center #{storageAvailableStr} left. + section p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.su] p Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p] p Same for Tor, just set #[code --proxy] and replace a domain. @@ -25,6 +25,6 @@ block body form(action="/delete" method="POST") input(type="text", name="hash" placeholder="File hash goes here" minlength="43" maxlength="43" size="43" required="") button(type="submit") Delete - section.center + section p You can delete a file using cURL: #[code curl -XDELETE https://upload.arav.su/<hash>] p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE http://upload.arav.i2p/<hash>] \ No newline at end of file