Fossil

Check-in [06ab6d9c8b]
Login

Check-in [06ab6d9c8b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Improved CSS for the size field of tree-view.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | filesize-listings
Files: files | file ages | folders
SHA3-256: 06ab6d9c8ba350e8dd4f26d000e4ef20e285e5fad8f44da7e25cb236db88f6d3
User & Date: drh 2023-07-23 20:27:58.843
Context
2023-07-23
20:28
Show file sizes the the treeview. Other file browser enhancements. ... (check-in: 73fe442a25 user: drh tags: trunk)
20:27
Improved CSS for the size field of tree-view. ... (Closed-Leaf check-in: 06ab6d9c8b user: drh tags: filesize-listings)
19:57
Use the files_of_checkin virtual table to generate the file listings on the /dir page, instead of a bunch of C code that was written before files_of_checkin was invented. ... (check-in: 15d9d5b097 user: drh tags: filesize-listings)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/browse.c.
896
897
898
899
900
901
902
903

904
905
906
907
908
909
910
    @ <li class="dir last">
  }else{
    @ <li class="dir subdir last">
  }
  @ <div class="filetreeline">
  @ %z(href("%s",url_render(&sURI,"name",0,0,0)))%h(zProjectName)</a>
  if( zNow ){
    @ <div class="filetreeage">%s(zNow)</div>

  }
  @ </div>
  @ <ul>
  if( sortOrder ){
    p = sortTree(sTree.pFirst);
    memset(&sTree, 0, sizeof(sTree));
    relinkTree(&sTree, p);







|
>







896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
    @ <li class="dir last">
  }else{
    @ <li class="dir subdir last">
  }
  @ <div class="filetreeline">
  @ %z(href("%s",url_render(&sURI,"name",0,0,0)))%h(zProjectName)</a>
  if( zNow ){
    @ <div class="filetreeage">Last Change</div>
    @ <div class="filetreesize">Size</div>
  }
  @ </div>
  @ <ul>
  if( sortOrder ){
    p = sortTree(sTree.pFirst);
    memset(&sTree, 0, sizeof(sTree));
    relinkTree(&sTree, p);
Changes to src/default.css.
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
v\/\/\/wAAACH5BAEHAAIALAAAAAAQABAAAAInlI9pwa3XYniCgQtkrAFfLXkiFo1jaXpo\
+jUs6b5Z/K4siDu5RPUFADs=");
}
div.filetreeage {
 display: table-cell;
 padding-left: 1.5em;
 text-align: right;
 width: 30%;
}
div.filetreesize {
 display: table-cell;
 padding-left: 1em;
 text-align: right;
 width: 20%;
}
div.filetreeline:hover {
 background-color: #eee;
}
table.login_out {
  text-align: left;
  margin-right: 10px;







|





|







332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
v\/\/\/wAAACH5BAEHAAIALAAAAAAQABAAAAInlI9pwa3XYniCgQtkrAFfLXkiFo1jaXpo\
+jUs6b5Z/K4siDu5RPUFADs=");
}
div.filetreeage {
 display: table-cell;
 padding-left: 1.5em;
 text-align: right;
 width: 8em;
}
div.filetreesize {
 display: table-cell;
 padding-left: 1em;
 text-align: right;
 width: 7em;
}
div.filetreeline:hover {
 background-color: #eee;
}
table.login_out {
  text-align: left;
  margin-right: 10px;