Add noscript warning

This commit is contained in:
Micah Lee 2019-02-13 09:19:04 -08:00
parent 54e0b6ffda
commit 105329fa28
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 19 additions and 0 deletions

View File

@ -192,3 +192,13 @@ li.info {
color: #666666;
margin: 0 0 20px 0;
}
div.noscript {
border: 1px solid #e55454;
text-align: left;
color: #e55454;
padding: 1em;
line-height: 150%;
max-width: 700px;
margin: 100px 2em 0 2em;
}

View File

@ -32,6 +32,15 @@
{% endwith %}
</div>
</form>
<noscript>
<div class="noscript">
<strong>Warning:</strong> Due to a bug in Tor Browser and Firefox, if you want to upload
a file bigger than 50mb, you must set the Tor Browser security slider to
Standard. Otherwise your upload will never finish. If you plan on
only uploading small files, your current settings are fine.
</div>
</noscript>
</div>
</div>
<script src="/static/js/receive.js"></script>