[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 48/151: Improve Sorttable
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 48/151: Improve Sorttable |
Date: |
Sat, 4 Feb 2017 17:14:26 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit dfeb57ff776820334f249919ea9ba4fab6e27f46
Author: Dany De Bontridder <address@hidden>
Date: Fri Dec 30 18:45:47 2016 +0100
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(-)
diff --git a/html/image/delete.gif b/html/image/delete.gif
new file mode 100644
index 0000000..327af2a
Binary files /dev/null and b/html/image/delete.gif differ
diff --git a/html/js/sorttable.js b/html/js/sorttable.js
index 8b4f4ee..7ee1b55 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 ? ' <font
face="webdings">5</font>' : ' ▴';
+ // sortrevind.innerHTML = stIsIE ? ' <font
face="webdings">5</font>' : ' ▴';
+ sortrevind.innerHTML = '<img src="image/down.gif">';
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 ? ' <font
face="webdings">6</font>' : ' ▾';
+// sortfwdind.innerHTML = stIsIE ? ' <font
face="webdings">6</font>' : ' ▾';
+ sortfwdind.innerHTML = '<img src="image/up.gif">';
this.appendChild(sortfwdind);
return;
}
@@ -155,7 +157,8 @@ sorttable = {
this.className += ' sorttable_sorted';
sortfwdind = document.createElement('span');
sortfwdind.id = "sorttable_sortfwdind";
- sortfwdind.innerHTML = stIsIE ? ' <font
face="webdings">6</font>' : ' ▾';
+// sortfwdind.innerHTML = stIsIE ? ' <font
face="webdings">6</font>' : ' ▾';
+ sortfwdind.innerHTML = '<img src="image/up.gif">';
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 5c8e5e0..acb2a8b 100644
--- a/include/template/fiche_list.php
+++ b/include/template/fiche_list.php
@@ -34,10 +34,8 @@
<?php echo _("Quick Code")?>
<?php echo HtmlInput::infobulle(17)?>
</th>
- <th class="sorttable_sorted_reverse">
+ <th >
<?php echo _("Nom")?>
- <span
id="sorttable_sortrevind"> ▴</span>
-
</th>
<th>
<?php echo _("Poste Comptable")?>
@@ -47,7 +45,7 @@
<?php echo _("Catégorie")?>
</th>
<?php endif; ?>
- <th>
+ <th class="sorttable_nosort">
<?php echo _("Selection")?>
</th>
</tr>
- [Noalyss-commit] [noalyss] 36/151: Performance : improve VERIF , Improve Accounting check, (continued)
- [Noalyss-commit] [noalyss] 36/151: Performance : improve VERIF , Improve Accounting check, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 39/151: Improve Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 37/151: remove debug info, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 43/151: Fix problem of accentuated char, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 40/151: Improve Performance Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 34/151: Performance : improve VERIF , Affiche uniquement journaux incorrects, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 35/151: Performance : improve VERIF , Totaux Actif/Passif, Charge/Produit, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 51/151: Improve Doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par défaut différent entre version, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object must be replace by json_encode, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 48/151: Improve Sorttable,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 54/151: Merge branch 'br_6916', Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 22/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 60/151: Regenerated from less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 65/151: Clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 52/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 55/151: Timestamp instead of date, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 61/151: Cosmetic : user / password use placeholder, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 67/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, Dany De Bontridder, 2017/02/04