mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
that was dumb
This commit is contained in:
parent
b21a99fd62
commit
f787a66230
|
@ -868,7 +868,8 @@ input.eq_gain {
|
||||||
background: #3c3c3c;
|
background: #3c3c3c;
|
||||||
border: 1px solid #444;
|
border: 1px solid #444;
|
||||||
border-radius: .3em;
|
border-radius: .3em;
|
||||||
padding: .5em;
|
padding: .2em .5em;
|
||||||
|
line-height: 2.3em;
|
||||||
margin: 0 1.5em 1em .4em;
|
margin: 0 1.5em 1em .4em;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: -.3em;
|
top: -.3em;
|
||||||
|
@ -881,12 +882,9 @@ html.light #ghead {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
#ghsep {
|
#ghead>span {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
padding-left: .3em;
|
||||||
#ghead>.sep {
|
|
||||||
margin: 1em 0 0 .3em;
|
|
||||||
display: inline-block
|
|
||||||
}
|
}
|
||||||
#ggrid {
|
#ggrid {
|
||||||
padding-top: .5em;
|
padding-top: .5em;
|
||||||
|
|
|
@ -2153,12 +2153,11 @@ var thegrid = (function () {
|
||||||
gfiles.style.display = 'none';
|
gfiles.style.display = 'none';
|
||||||
gfiles.innerHTML = (
|
gfiles.innerHTML = (
|
||||||
'<div id="ghead">' +
|
'<div id="ghead">' +
|
||||||
'<a href="#" class="tgl btn" id="gridsel" tt="enable file selection; ctrl-click a file to override$NHotkey: S">multiselect</a> zoom: ' +
|
'<a href="#" class="tgl btn" id="gridsel" tt="enable file selection; ctrl-click a file to override$NHotkey: S">multiselect</a> <span>zoom: ' +
|
||||||
'<a href="#" class="btn" z="-1.2" tt="Hotkey: shift-A">–</a> ' +
|
'<a href="#" class="btn" z="-1.2" tt="Hotkey: shift-A">–</a> ' +
|
||||||
'<a href="#" class="btn" z="1.2" tt="Hotkey: shift-D">+</a> chop: ' +
|
'<a href="#" class="btn" z="1.2" tt="Hotkey: shift-D">+</a></span> <span>chop: ' +
|
||||||
'<a href="#" class="btn" l="-1" tt="truncate filenames more (show less)">–</a> ' +
|
'<a href="#" class="btn" l="-1" tt="truncate filenames more (show less)">–</a> ' +
|
||||||
'<a href="#" class="btn" l="1" tt="truncate filenames less (show more)">+</a> ' +
|
'<a href="#" class="btn" l="1" tt="truncate filenames less (show more)">+</a></span> <span>sort by: ' +
|
||||||
'<span id="ghsep">sort by: ' +
|
|
||||||
'<a href="#" s="href">name</a>, ' +
|
'<a href="#" s="href">name</a>, ' +
|
||||||
'<a href="#" s="sz">size</a>, ' +
|
'<a href="#" s="sz">size</a>, ' +
|
||||||
'<a href="#" s="ts">date</a>, ' +
|
'<a href="#" s="ts">date</a>, ' +
|
||||||
|
@ -2369,11 +2368,6 @@ var thegrid = (function () {
|
||||||
tt.att(ebi('ggrid'));
|
tt.att(ebi('ggrid'));
|
||||||
};
|
};
|
||||||
|
|
||||||
r.onresize = function () {
|
|
||||||
var el = ebi('ghsep');
|
|
||||||
clmod(el, 'sep', el.offsetLeft < 64);
|
|
||||||
};
|
|
||||||
|
|
||||||
function ungrid() {
|
function ungrid() {
|
||||||
lfiles.style.display = '';
|
lfiles.style.display = '';
|
||||||
gfiles.style.display = 'none';
|
gfiles.style.display = 'none';
|
||||||
|
@ -2973,7 +2967,6 @@ var treectl = (function () {
|
||||||
window.addEventListener('scroll', onscroll);
|
window.addEventListener('scroll', onscroll);
|
||||||
window.addEventListener('resize', onresize);
|
window.addEventListener('resize', onresize);
|
||||||
onresize();
|
onresize();
|
||||||
thegrid.onresize();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
treectl.detree = function (e) {
|
treectl.detree = function (e) {
|
||||||
|
@ -2992,7 +2985,6 @@ var treectl = (function () {
|
||||||
ebi('wrap').style.marginLeft = '0';
|
ebi('wrap').style.marginLeft = '0';
|
||||||
window.removeEventListener('resize', onresize);
|
window.removeEventListener('resize', onresize);
|
||||||
window.removeEventListener('scroll', onscroll);
|
window.removeEventListener('scroll', onscroll);
|
||||||
thegrid.onresize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onscroll() {
|
function onscroll() {
|
||||||
|
|
Loading…
Reference in a new issue