Fossil SCM
Improved CSS for the size field of tree-view.
Commit
06ab6d9c8ba350e8dd4f26d000e4ef20e285e5fad8f44da7e25cb236db88f6d3
Parent
15d9d5b097ab4e7…
2 files changed
+2
-1
+2
-2
+2
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -898,11 +898,12 @@ | ||
| 898 | 898 | @ <li class="dir subdir last"> |
| 899 | 899 | } |
| 900 | 900 | @ <div class="filetreeline"> |
| 901 | 901 | @ %z(href("%s",url_render(&sURI,"name",0,0,0)))%h(zProjectName)</a> |
| 902 | 902 | if( zNow ){ |
| 903 | - @ <div class="filetreeage">%s(zNow)</div> | |
| 903 | + @ <div class="filetreeage">Last Change</div> | |
| 904 | + @ <div class="filetreesize">Size</div> | |
| 904 | 905 | } |
| 905 | 906 | @ </div> |
| 906 | 907 | @ <ul> |
| 907 | 908 | if( sortOrder ){ |
| 908 | 909 | p = sortTree(sTree.pFirst); |
| 909 | 910 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -898,11 +898,12 @@ | |
| 898 | @ <li class="dir subdir last"> |
| 899 | } |
| 900 | @ <div class="filetreeline"> |
| 901 | @ %z(href("%s",url_render(&sURI,"name",0,0,0)))%h(zProjectName)</a> |
| 902 | if( zNow ){ |
| 903 | @ <div class="filetreeage">%s(zNow)</div> |
| 904 | } |
| 905 | @ </div> |
| 906 | @ <ul> |
| 907 | if( sortOrder ){ |
| 908 | p = sortTree(sTree.pFirst); |
| 909 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -898,11 +898,12 @@ | |
| 898 | @ <li class="dir subdir last"> |
| 899 | } |
| 900 | @ <div class="filetreeline"> |
| 901 | @ %z(href("%s",url_render(&sURI,"name",0,0,0)))%h(zProjectName)</a> |
| 902 | if( zNow ){ |
| 903 | @ <div class="filetreeage">Last Change</div> |
| 904 | @ <div class="filetreesize">Size</div> |
| 905 | } |
| 906 | @ </div> |
| 907 | @ <ul> |
| 908 | if( sortOrder ){ |
| 909 | p = sortTree(sTree.pFirst); |
| 910 |
+2
-2
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -334,17 +334,17 @@ | ||
| 334 | 334 | } |
| 335 | 335 | div.filetreeage { |
| 336 | 336 | display: table-cell; |
| 337 | 337 | padding-left: 1.5em; |
| 338 | 338 | text-align: right; |
| 339 | - width: 30%; | |
| 339 | + width: 8em; | |
| 340 | 340 | } |
| 341 | 341 | div.filetreesize { |
| 342 | 342 | display: table-cell; |
| 343 | 343 | padding-left: 1em; |
| 344 | 344 | text-align: right; |
| 345 | - width: 20%; | |
| 345 | + width: 7em; | |
| 346 | 346 | } |
| 347 | 347 | div.filetreeline:hover { |
| 348 | 348 | background-color: #eee; |
| 349 | 349 | } |
| 350 | 350 | table.login_out { |
| 351 | 351 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -334,17 +334,17 @@ | |
| 334 | } |
| 335 | div.filetreeage { |
| 336 | display: table-cell; |
| 337 | padding-left: 1.5em; |
| 338 | text-align: right; |
| 339 | width: 30%; |
| 340 | } |
| 341 | div.filetreesize { |
| 342 | display: table-cell; |
| 343 | padding-left: 1em; |
| 344 | text-align: right; |
| 345 | width: 20%; |
| 346 | } |
| 347 | div.filetreeline:hover { |
| 348 | background-color: #eee; |
| 349 | } |
| 350 | table.login_out { |
| 351 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -334,17 +334,17 @@ | |
| 334 | } |
| 335 | div.filetreeage { |
| 336 | display: table-cell; |
| 337 | padding-left: 1.5em; |
| 338 | text-align: right; |
| 339 | width: 8em; |
| 340 | } |
| 341 | div.filetreesize { |
| 342 | display: table-cell; |
| 343 | padding-left: 1em; |
| 344 | text-align: right; |
| 345 | width: 7em; |
| 346 | } |
| 347 | div.filetreeline:hover { |
| 348 | background-color: #eee; |
| 349 | } |
| 350 | table.login_out { |
| 351 |