diff options
author | Micah Lee <micah@micahflee.com> | 2019-02-13 09:19:04 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-02-13 09:19:04 -0800 |
commit | 105329fa28195f02751da4dd29c575bde7d7160a (patch) | |
tree | be0da533d15d0c50c1db34d3a4edac776dedb5c8 | |
parent | 54e0b6ffdaa6e2030f20d03dabdc1c28903fe905 (diff) | |
download | onionshare-105329fa28195f02751da4dd29c575bde7d7160a.tar.gz onionshare-105329fa28195f02751da4dd29c575bde7d7160a.zip |
Add noscript warning
-rw-r--r-- | share/static/css/style.css | 10 | ||||
-rw-r--r-- | share/templates/receive.html | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/share/static/css/style.css b/share/static/css/style.css index fd10ecdf..45fb0f46 100644 --- a/share/static/css/style.css +++ b/share/static/css/style.css @@ -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; +} diff --git a/share/templates/receive.html b/share/templates/receive.html index 5d2741ed..679a3234 100644 --- a/share/templates/receive.html +++ b/share/templates/receive.html @@ -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> |