From ff1aaca93cc528ffbf89c8abf0da6964b88844fe Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 30 Dec 2016 18:45:47 +0100 Subject: [PATCH] Improve Sorttable --- html/image/delete.gif | Bin 0 -> 167 bytes html/js/sorttable.js | 9 ++++++--- include/template/fiche_list.php | 6 ++---- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 html/image/delete.gif diff --git a/html/image/delete.gif b/html/image/delete.gif new file mode 100644 index 0000000000000000000000000000000000000000..327af2a5bf3398451c373d285f79b1da2340996c GIT binary patch literal 167 zcmV;Y09gM=Nk%w1VGsZi0J9DN|1$u}DFBlI0RPPY|AQd^DFFXE0{=`5|7;Zha~}U% z3;$ph|9%{s00960{{R30A^8LW000gEEC2ui01yBW000D3(8)i9mg#$s1 zPG_Qm$uM8{n!+R`34(Y!UQ>d_LP1mre-*)D$wYDt&?tyA09damQsH_nWIKf|Kp^O{ V!q#8;ifp8TZ=h2`w%9EZ06QjlKr;XU literal 0 HcmV?d00001 diff --git a/html/js/sorttable.js b/html/js/sorttable.js index 8b4f4ee49..7ee1b55af 100644 --- a/html/js/sorttable.js +++ b/html/js/sorttable.js @@ -121,7 +121,8 @@ sorttable = { this.removeChild(document.getElementById('sorttable_sortfwdind')); sortrevind = document.createElement('span'); sortrevind.id = "sorttable_sortrevind"; - sortrevind.innerHTML = stIsIE ? ' 5' : ' ▴'; + // sortrevind.innerHTML = stIsIE ? ' 5' : ' ▴'; + sortrevind.innerHTML = ''; this.appendChild(sortrevind); return; } @@ -134,7 +135,8 @@ sorttable = { this.removeChild(document.getElementById('sorttable_sortrevind')); sortfwdind = document.createElement('span'); sortfwdind.id = "sorttable_sortfwdind"; - sortfwdind.innerHTML = stIsIE ? ' 6' : ' ▾'; +// sortfwdind.innerHTML = stIsIE ? ' 6' : ' ▾'; + sortfwdind.innerHTML = ''; this.appendChild(sortfwdind); return; } @@ -155,7 +157,8 @@ sorttable = { this.className += ' sorttable_sorted'; sortfwdind = document.createElement('span'); sortfwdind.id = "sorttable_sortfwdind"; - sortfwdind.innerHTML = stIsIE ? ' 6' : ' ▾'; +// sortfwdind.innerHTML = stIsIE ? ' 6' : ' ▾'; + sortfwdind.innerHTML = ''; this.appendChild(sortfwdind); // build an array to sort. This is a Schwartzian transform thing, diff --git a/include/template/fiche_list.php b/include/template/fiche_list.php index 5c8e5e030..acb2a8bba 100644 --- a/include/template/fiche_list.php +++ b/include/template/fiche_list.php @@ -34,10 +34,8 @@ - + -  ▴ - @@ -47,7 +45,7 @@ - +