diff --git a/onionshare/web/receive_mode.py b/onionshare/web/receive_mode.py index d6ef86ad..25d7aa1b 100644 --- a/onionshare/web/receive_mode.py +++ b/onionshare/web/receive_mode.py @@ -112,12 +112,14 @@ class ReceiveModeWeb(object): else: flash(msg, 'info') else: + msg = 'Sent ' for filename in filenames: - msg = 'Sent {}'.format(filename) - if ajax: - info_flashes.append(msg) - else: - flash(msg, 'info') + msg += '{}, '.format(filename) + msg = msg.rstrip(', ') + if ajax: + info_flashes.append(msg) + else: + flash(msg, 'info') if self.can_upload: if ajax: diff --git a/share/static/css/style.css b/share/static/css/style.css index 0751d306..e445e5de 100644 --- a/share/static/css/style.css +++ b/share/static/css/style.css @@ -176,7 +176,7 @@ ul.flashes { margin: 0; padding: 0; width: 800px; - max-width: 90%; + max-width: 500px; margin: 0 auto; } @@ -184,7 +184,7 @@ ul.flashes li { margin: 0 0 5px 0; padding: 5px; list-style: none; - text-align: left; + text-align: center; } li.error { @@ -224,17 +224,15 @@ li.info { } div#noscript { - border: 1px solid #e55454; - text-align: left; - color: #e55454; + text-align: center; + color: #d709df; padding: 1em; line-height: 150%; - max-width: 900px; - margin: 100px 2em 0 2em; + margin: 0 auto; } div#noscript a, div#noscript a:visited { - color: #e27f7f; + color: #d709df; } .disable-noscript-xss-wrapper { diff --git a/share/static/img/warning.png b/share/static/img/warning.png new file mode 100644 index 00000000..9be8cbaf Binary files /dev/null and b/share/static/img/warning.png differ diff --git a/share/templates/receive.html b/share/templates/receive.html index a557a967..a93537c5 100644 --- a/share/templates/receive.html +++ b/share/templates/receive.html @@ -13,16 +13,24 @@
+ +
+

+ Warning: Due to a bug in Tor Browser and Firefox, uploads + sometimes never finish. To upload reliably, either set your Tor Browser + security slider + to Standard or + turn off your Tor Browser's NoScript XSS setting.

+
+

Send Files

Select the files you want to send, then click "Send Files"...

-
-

-

-
-
@@ -37,21 +45,13 @@
- -
-

- Warning: Due to a bug in Tor Browser and Firefox, uploads - sometimes never finish. To upload reliably, either set your Tor Browser - security slider - to Standard or - turn off your Tor Browser's NoScript XSS setting.

-
- +
+

+

+
+