Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Use common HTML entities rather than obscure unicode characters for the arrows on sortable table columns. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4c803826adde3ddcfb0288a8118f329e |
| User & Date: | drh 2015-01-06 21:43:53.251 |
Context
|
2015-01-07
| ||
| 21:46 | Move table column sort indicator into CSS. ... (check-in: d3eb877c06 user: joel tags: trunk) | |
| 19:46 | Merge latest trunk ... (check-in: aea273f77e user: baruch tags: svn-import) | |
|
2015-01-06
| ||
| 21:43 | Use common HTML entities rather than obscure unicode characters for the arrows on sortable table columns. ... (check-in: 4c803826ad user: drh tags: trunk) | |
| 13:14 | Add the --verbose option to the clone command. ... (check-in: 5e7d3effa3 user: drh tags: trunk) | |
Changes
Changes to src/report.c.
| ︙ | ︙ | |||
987 988 989 990 991 992 993 |
@ var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
@ while( arrowdiv[0] ){
@ arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
@ }
@ for (var i=0; i<this.hdrRow.cells.length; i++) {
@ if( this.columnTypes[i]=='x' ) continue;
@ if( this.prevColumn==i+1 ){
| | | | | 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 |
@ var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
@ while( arrowdiv[0] ){
@ arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
@ }
@ for (var i=0; i<this.hdrRow.cells.length; i++) {
@ if( this.columnTypes[i]=='x' ) continue;
@ if( this.prevColumn==i+1 ){
@ arrow = "↓"
@ }else if( this.prevColumn==(-1-i) ){
@ arrow = "↑"
@ }else{
@ arrow = "♦"
@ }
@ this.hdrRow.cells[i].innerHTML +=
@ "<span class='sortarrow'>" + arrow + "</div>";
@ }
@ }
@ this.sortText = function(a,b) {
@ var i = thisObject.sortIndex;
|
| ︙ | ︙ |