Fossil SCM
Reduce radius of pie charts on the /repo-tabsize page.
Commit
df302de88a4c54be77273e1b777879c34e26dd08
Parent
f3c7b3a6b5851d7…
1 file changed
+4
-4
+4
-4
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -411,12 +411,12 @@ | ||
| 411 | 411 | ); |
| 412 | 412 | } |
| 413 | 413 | fsize = file_size(g.zRepositoryName); |
| 414 | 414 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 415 | 415 | @ <h2>Repository Size: %s(zBuf)</h2> |
| 416 | - @ <center><svg width='800' height='600'> | |
| 417 | - piechart_render(800,600,PIE_OTHER|PIE_PERCENT); | |
| 416 | + @ <center><svg width='800' height='500'> | |
| 417 | + piechart_render(800,500,PIE_OTHER|PIE_PERCENT); | |
| 418 | 418 | @ </svg></center> |
| 419 | 419 | |
| 420 | 420 | if( g.localOpen ){ |
| 421 | 421 | db_multi_exec( |
| 422 | 422 | "DROP TABLE temp.dbx;" |
| @@ -440,11 +440,11 @@ | ||
| 440 | 440 | ); |
| 441 | 441 | } |
| 442 | 442 | fsize = file_size(g.zLocalDbName); |
| 443 | 443 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 444 | 444 | @ <h2>%h(file_tail(g.zLocalDbName)) Size: %s(zBuf)</h2> |
| 445 | - @ <center><svg width='800' height='600'> | |
| 446 | - piechart_render(800,600,PIE_OTHER|PIE_PERCENT); | |
| 445 | + @ <center><svg width='800' height='500'> | |
| 446 | + piechart_render(800,500,PIE_OTHER|PIE_PERCENT); | |
| 447 | 447 | @ </svg></center> |
| 448 | 448 | } |
| 449 | 449 | style_footer(); |
| 450 | 450 | } |
| 451 | 451 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -411,12 +411,12 @@ | |
| 411 | ); |
| 412 | } |
| 413 | fsize = file_size(g.zRepositoryName); |
| 414 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 415 | @ <h2>Repository Size: %s(zBuf)</h2> |
| 416 | @ <center><svg width='800' height='600'> |
| 417 | piechart_render(800,600,PIE_OTHER|PIE_PERCENT); |
| 418 | @ </svg></center> |
| 419 | |
| 420 | if( g.localOpen ){ |
| 421 | db_multi_exec( |
| 422 | "DROP TABLE temp.dbx;" |
| @@ -440,11 +440,11 @@ | |
| 440 | ); |
| 441 | } |
| 442 | fsize = file_size(g.zLocalDbName); |
| 443 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 444 | @ <h2>%h(file_tail(g.zLocalDbName)) Size: %s(zBuf)</h2> |
| 445 | @ <center><svg width='800' height='600'> |
| 446 | piechart_render(800,600,PIE_OTHER|PIE_PERCENT); |
| 447 | @ </svg></center> |
| 448 | } |
| 449 | style_footer(); |
| 450 | } |
| 451 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -411,12 +411,12 @@ | |
| 411 | ); |
| 412 | } |
| 413 | fsize = file_size(g.zRepositoryName); |
| 414 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 415 | @ <h2>Repository Size: %s(zBuf)</h2> |
| 416 | @ <center><svg width='800' height='500'> |
| 417 | piechart_render(800,500,PIE_OTHER|PIE_PERCENT); |
| 418 | @ </svg></center> |
| 419 | |
| 420 | if( g.localOpen ){ |
| 421 | db_multi_exec( |
| 422 | "DROP TABLE temp.dbx;" |
| @@ -440,11 +440,11 @@ | |
| 440 | ); |
| 441 | } |
| 442 | fsize = file_size(g.zLocalDbName); |
| 443 | approxSizeName(sizeof(zBuf), zBuf, fsize); |
| 444 | @ <h2>%h(file_tail(g.zLocalDbName)) Size: %s(zBuf)</h2> |
| 445 | @ <center><svg width='800' height='500'> |
| 446 | piechart_render(800,500,PIE_OTHER|PIE_PERCENT); |
| 447 | @ </svg></center> |
| 448 | } |
| 449 | style_footer(); |
| 450 | } |
| 451 |