mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
indicate onclick action for audio files in grid view
This commit is contained in:
parent
4acaf24d65
commit
8f3d97dde7
|
@ -950,6 +950,12 @@ html.light .ghead {
|
||||||
#ggrid>a.dir:before {
|
#ggrid>a.dir:before {
|
||||||
content: '📂';
|
content: '📂';
|
||||||
}
|
}
|
||||||
|
#ggrid>a.au:before {
|
||||||
|
content: '💾';
|
||||||
|
}
|
||||||
|
html.np_open #ggrid>a.au:before {
|
||||||
|
content: '▶';
|
||||||
|
}
|
||||||
#ggrid>a:before {
|
#ggrid>a:before {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -539,6 +539,7 @@ function MPlayer() {
|
||||||
r.tracks[tid] = url;
|
r.tracks[tid] = url;
|
||||||
tds[0].innerHTML = '<a id="a' + tid + '" href="#a' + tid + '" class="play">play</a></td>';
|
tds[0].innerHTML = '<a id="a' + tid + '" href="#a' + tid + '" class="play">play</a></td>';
|
||||||
ebi('a' + tid).onclick = ev_play;
|
ebi('a' + tid).onclick = ev_play;
|
||||||
|
clmod(trs[a], 'au', 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue