[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 99/151: Improve Sorttable
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 99/151: Improve Sorttable |
Date: |
Sat, 4 Feb 2017 17:14:31 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ff1aaca93cc528ffbf89c8abf0da6964b88844fe
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] 120/151: Add managetable.js to the script to load, (continued)
- [Noalyss-commit] [noalyss] 120/151: Add managetable.js to the script to load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 128/151: Security : add security, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 130/151: #1380 : change the name of the function Acc_Ledger::button_copy_operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 132/151: Correct Doxygen documentation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 96/151: Documentation and clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 112/151: Improve Doxygen doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 73/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 143/151: Fix : when exporting files for creating a PDF in ANC , the filename can be a problem if he contains some char., Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 116/151: Manage_Table , the js and php code are been splitted in 2 files , the ajax calls are nearly done , doxygen for these files is correct, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 101/151: Deprecated HtmlInput::make_object must be replace by json_encode, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 99/151: Improve Sorttable,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 110/151: Add property in Manage_Table VISIBLE UPDATABLE, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 125/151: Test ManageTable ; fix parseXML function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 144/151: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 09/151: Experiment less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 123/151: Test ManageTable ; fix parseXML function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 126/151: Correct js : this of the object is not callable from a nested function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 135/151: Fix bug : duplicate doesn't take in account the TVA_ID, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 148/151: Missing col in ANC_TABLE, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 111/151: Improve Manage_Table_SQL : add functions for javascript , update or visible flag ..., Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 147/151: Return must be after throw, Dany De Bontridder, 2017/02/04