2023-03-04 02:09:05 +01:00
|
|
|
extends template/main.pug
|
|
|
|
|
|
|
|
block content
|
|
|
|
form(action='/upload' method='POST')
|
|
|
|
p(align='center')
|
|
|
|
textarea(name='text' class='data' placeholder='Put your text in here!' + (maxlen ? ` (Max length is ${maxlen} bytes)` : ''))
|
|
|
|
br
|
2023-03-04 06:00:53 +01:00
|
|
|
if (!exceeded)
|
|
|
|
input(type='submit' value='Upload!')
|
|
|
|
if (exceeded)
|
2023-03-04 06:52:59 +01:00
|
|
|
p(style='color:darkred;font-weight:bold;font-size:9pt' align='center')
|
2023-03-04 06:00:53 +01:00
|
|
|
| Max uploads limit exceeded. No more uploads would be accepted.
|
|
|
|
br
|
2023-03-04 06:55:24 +01:00
|
|
|
| Contact site administrator so they would increase the limit or delete some uploads.
|
|
|
|
if (process.env.ADMIN_EMAIL)
|
|
|
|
- let email = process.env.ADMIN_EMAIL;
|
|
|
|
br
|
|
|
|
br
|
|
|
|
| Admin email is:
|
|
|
|
a(href='mailto:' + email)= email
|