diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 2d434cb9..2d100880 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -585,10 +585,10 @@ function autoplay_blocked() { ["dtu", "dt_max", "max. iso8601", ""] ], ["path", - ["path", "path", "path contains", "46"] + ["path", "path", "path contains   (space-separated)", "46"] ], ["name", - ["name", "name", "name contains", "46"] + ["name", "name", "name contains   (negate with -nope)", "46"] ] ]; var html = []; diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 9c2d9b5a..2fa76bf7 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -792,6 +792,7 @@ function up2k_init(have_crypto) { ebi('f{0}t'.format(t.n)).innerHTML = smsg; st.busy.handshake.splice(st.busy.handshake.indexOf(t), 1); st.bytes.uploaded += t.size; + t.done = true; tasker(); return; } @@ -1069,6 +1070,10 @@ function up2k_init(have_crypto) { try { var fun = fsearch ? 'add' : 'remove'; ebi('op_up2k').classList[fun]('srch'); + + var ico = fsearch ? '🔎' : '🚀'; + var desc = fsearch ? 'Search' : 'Upload'; + ebi('u2bm').innerHTML = ico + ' ' + desc + ''; } catch (ex) { } } diff --git a/copyparty/web/upload.css b/copyparty/web/upload.css index 92dc367f..caa8004e 100644 --- a/copyparty/web/upload.css +++ b/copyparty/web/upload.css @@ -33,17 +33,19 @@ text-align: center; font-size: 1.5em; margin: .5em auto; - padding: 1.2em 0; + padding: .8em 0; width: 16em; cursor: pointer; box-shadow: .4em .4em 0 #111; } #op_up2k.srch #u2btn { - background: linear-gradient(to bottom, #270 0%, #5a1 50%, #381 51%, #270 100%); + background: linear-gradient(to bottom, #ca3 0%, #fd8 50%, #fc6 51%, #b92 100%); + text-shadow: 1px 1px 1px #fc6; + color: #333; } #u2conf #u2btn { margin: -1.5em 0; - padding: 1.5em 0; + padding: .8em 0; width: 100%; } #u2notbtn { diff --git a/copyparty/web/upload.html b/copyparty/web/upload.html index 7770ee60..9095f8de 100644 --- a/copyparty/web/upload.html +++ b/copyparty/web/upload.html @@ -72,6 +72,7 @@
+
drop files here
(or click me)