Removed unnecessary .center class from sections. | replaced by p.center for space left.
This commit is contained in:
parent
c486acef79
commit
1e30e5e8ff
@ -5,7 +5,7 @@ block header
|
|||||||
|
|
||||||
block body
|
block body
|
||||||
:go:func Index(mainSite string, keepForHours int, fileMaxSize, storageAvailableStr string)
|
:go:func Index(mainSite string, keepForHours int, fileMaxSize, storageAvailableStr string)
|
||||||
section#rules.center
|
section#rules
|
||||||
h2 Rules
|
h2 Rules
|
||||||
p Maximum file size is #[b #{fileMaxSize}] and it will be kept for #[b #{keepForHours}] hours.
|
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.
|
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")
|
form(action="/" method="POST" enctype="multipart/form-data")
|
||||||
input(type="file" name="file" multiple=false)
|
input(type="file" name="file" multiple=false)
|
||||||
button(type="submit") Upload
|
button(type="submit") Upload
|
||||||
| #{storageAvailableStr} left.
|
p.center #{storageAvailableStr} left.
|
||||||
section.center
|
section
|
||||||
p You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.su]
|
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 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.
|
p Same for Tor, just set #[code --proxy] and replace a domain.
|
||||||
@ -25,6 +25,6 @@ block body
|
|||||||
form(action="/delete" method="POST")
|
form(action="/delete" method="POST")
|
||||||
input(type="text", name="hash" placeholder="File hash goes here" minlength="43" maxlength="43" size="43" required="")
|
input(type="text", name="hash" placeholder="File hash goes here" minlength="43" maxlength="43" size="43" required="")
|
||||||
button(type="submit") Delete
|
button(type="submit") Delete
|
||||||
section.center
|
section
|
||||||
p You can delete a file using cURL: #[code curl -XDELETE https://upload.arav.su/<hash>]
|
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>]
|
p Over I2P: #[code curl --proxy 127.0.0.1:4444 -XDELETE http://upload.arav.i2p/<hash>]
|
Loading…
Reference in New Issue
Block a user