mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
this isnt really helping is it
This commit is contained in:
parent
b23c272820
commit
721886bb7a
|
@ -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 = [];
|
||||
|
|
|
@ -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 + ' <sup>' + desc + '</sup>';
|
||||
}
|
||||
catch (ex) { }
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
|
||||
<div id="u2btn_ct">
|
||||
<div id="u2btn">
|
||||
<span id="u2bm"></span><br />
|
||||
drop files here<br />
|
||||
(or click me)
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue