this isnt really helping is it

This commit is contained in:
ed 2021-02-22 03:01:32 +01:00
parent b23c272820
commit 721886bb7a
4 changed files with 13 additions and 5 deletions

View file

@ -585,10 +585,10 @@ function autoplay_blocked() {
["dtu", "dt_max", "max. iso8601", ""] ["dtu", "dt_max", "max. iso8601", ""]
], ],
["path", ["path",
["path", "path", "path contains", "46"] ["path", "path", "path contains   (space-separated)", "46"]
], ],
["name", ["name",
["name", "name", "name contains", "46"] ["name", "name", "name contains   (negate with -nope)", "46"]
] ]
]; ];
var html = []; var html = [];

View file

@ -792,6 +792,7 @@ function up2k_init(have_crypto) {
ebi('f{0}t'.format(t.n)).innerHTML = smsg; ebi('f{0}t'.format(t.n)).innerHTML = smsg;
st.busy.handshake.splice(st.busy.handshake.indexOf(t), 1); st.busy.handshake.splice(st.busy.handshake.indexOf(t), 1);
st.bytes.uploaded += t.size; st.bytes.uploaded += t.size;
t.done = true;
tasker(); tasker();
return; return;
} }
@ -1069,6 +1070,10 @@ function up2k_init(have_crypto) {
try { try {
var fun = fsearch ? 'add' : 'remove'; var fun = fsearch ? 'add' : 'remove';
ebi('op_up2k').classList[fun]('srch'); ebi('op_up2k').classList[fun]('srch');
var ico = fsearch ? '🔎' : '🚀';
var desc = fsearch ? 'Search' : 'Upload';
ebi('u2bm').innerHTML = ico + ' <sup>' + desc + '</sup>';
} }
catch (ex) { } catch (ex) { }
} }

View file

@ -33,17 +33,19 @@
text-align: center; text-align: center;
font-size: 1.5em; font-size: 1.5em;
margin: .5em auto; margin: .5em auto;
padding: 1.2em 0; padding: .8em 0;
width: 16em; width: 16em;
cursor: pointer; cursor: pointer;
box-shadow: .4em .4em 0 #111; box-shadow: .4em .4em 0 #111;
} }
#op_up2k.srch #u2btn { #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 { #u2conf #u2btn {
margin: -1.5em 0; margin: -1.5em 0;
padding: 1.5em 0; padding: .8em 0;
width: 100%; width: 100%;
} }
#u2notbtn { #u2notbtn {

View file

@ -72,6 +72,7 @@
<div id="u2btn_ct"> <div id="u2btn_ct">
<div id="u2btn"> <div id="u2btn">
<span id="u2bm"></span><br />
drop files here<br /> drop files here<br />
(or click me) (or click me)
</div> </div>