noalyss-commit
[Top][All Lists]
Advanced

[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 ? '&nbsp<font 
face="webdings">5</font>' : '&nbsp;&#x25B4;';
+            // sortrevind.innerHTML = stIsIE ? '&nbsp<font 
face="webdings">5</font>' : '&nbsp;&#x25B4;';
+             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 ? '&nbsp<font 
face="webdings">6</font>' : '&nbsp;&#x25BE;';
+//            sortfwdind.innerHTML = stIsIE ? '&nbsp<font 
face="webdings">6</font>' : '&nbsp;&#x25BE;';
+            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 ? '&nbsp<font 
face="webdings">6</font>' : '&nbsp;&#x25BE;';
+//          sortfwdind.innerHTML = stIsIE ? '&nbsp<font 
face="webdings">6</font>' : '&nbsp;&#x25BE;';
+          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">&nbsp;&blacktriangle;</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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]