Fossil SCM
Port the remaining /vinfo accordions to DETAILS tags.
Commit
8e4320c8354d5b59fd7f5a984e9578aad829033ac86a594998a16470140dce8d
Parent
5628e2c9eddecfe…
1 file changed
+6
-3
+6
-3
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -1277,13 +1277,16 @@ | ||
| 1277 | 1277 | if( !PB("nowiki") ){ |
| 1278 | 1278 | wiki_render_associated("checkin", zUuid, 0); |
| 1279 | 1279 | } |
| 1280 | 1280 | render_backlink_graph(zUuid, |
| 1281 | 1281 | "<div class=\"section accordion\">References</div>\n"); |
| 1282 | - @ <div class="section accordion">Context</div><div class="accordion_panel"> | |
| 1282 | + @ <details open><summary class="section">Context</summary> | |
| 1283 | + @ <div class="accordion_panel"> | |
| 1283 | 1284 | render_checkin_context(rid, 0, 2, 0); |
| 1284 | - @ </div><div class="section accordion" id="changes_section">Changes</div> | |
| 1285 | + @ </div></details> | |
| 1286 | + @ <details open> | |
| 1287 | + @ <summary class="section" id="changes_section">Changes</summary> | |
| 1285 | 1288 | @ <div class="accordion_panel"> |
| 1286 | 1289 | @ <div class="sectionmenu info-changes-menu"> |
| 1287 | 1290 | /* ^^^ .info-changes-menu is used by diff scroll sync */ |
| 1288 | 1291 | pCfg = construct_diff_flags(diffType, &DCfg); |
| 1289 | 1292 | DCfg.diffFlags |= DIFF_NUMSTAT; /* Show stats in the 'Changes' section */ |
| @@ -1339,11 +1342,11 @@ | ||
| 1339 | 1342 | const char *zOldName = db_column_text(&q3, 4); |
| 1340 | 1343 | append_file_change_line(zUuid, zName, zOld, zNew, zOldName, |
| 1341 | 1344 | pCfg,mperm,aChng); |
| 1342 | 1345 | } |
| 1343 | 1346 | db_finalize(&q3); |
| 1344 | - @ </div> | |
| 1347 | + @ </div></details> | |
| 1345 | 1348 | if( diffType!=0 ){ |
| 1346 | 1349 | adjust_changes_section_title(__LINE__, aChng); |
| 1347 | 1350 | } |
| 1348 | 1351 | append_diff_javascript(diffType); |
| 1349 | 1352 | style_finish_page(); |
| 1350 | 1353 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1277,13 +1277,16 @@ | |
| 1277 | if( !PB("nowiki") ){ |
| 1278 | wiki_render_associated("checkin", zUuid, 0); |
| 1279 | } |
| 1280 | render_backlink_graph(zUuid, |
| 1281 | "<div class=\"section accordion\">References</div>\n"); |
| 1282 | @ <div class="section accordion">Context</div><div class="accordion_panel"> |
| 1283 | render_checkin_context(rid, 0, 2, 0); |
| 1284 | @ </div><div class="section accordion" id="changes_section">Changes</div> |
| 1285 | @ <div class="accordion_panel"> |
| 1286 | @ <div class="sectionmenu info-changes-menu"> |
| 1287 | /* ^^^ .info-changes-menu is used by diff scroll sync */ |
| 1288 | pCfg = construct_diff_flags(diffType, &DCfg); |
| 1289 | DCfg.diffFlags |= DIFF_NUMSTAT; /* Show stats in the 'Changes' section */ |
| @@ -1339,11 +1342,11 @@ | |
| 1339 | const char *zOldName = db_column_text(&q3, 4); |
| 1340 | append_file_change_line(zUuid, zName, zOld, zNew, zOldName, |
| 1341 | pCfg,mperm,aChng); |
| 1342 | } |
| 1343 | db_finalize(&q3); |
| 1344 | @ </div> |
| 1345 | if( diffType!=0 ){ |
| 1346 | adjust_changes_section_title(__LINE__, aChng); |
| 1347 | } |
| 1348 | append_diff_javascript(diffType); |
| 1349 | style_finish_page(); |
| 1350 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1277,13 +1277,16 @@ | |
| 1277 | if( !PB("nowiki") ){ |
| 1278 | wiki_render_associated("checkin", zUuid, 0); |
| 1279 | } |
| 1280 | render_backlink_graph(zUuid, |
| 1281 | "<div class=\"section accordion\">References</div>\n"); |
| 1282 | @ <details open><summary class="section">Context</summary> |
| 1283 | @ <div class="accordion_panel"> |
| 1284 | render_checkin_context(rid, 0, 2, 0); |
| 1285 | @ </div></details> |
| 1286 | @ <details open> |
| 1287 | @ <summary class="section" id="changes_section">Changes</summary> |
| 1288 | @ <div class="accordion_panel"> |
| 1289 | @ <div class="sectionmenu info-changes-menu"> |
| 1290 | /* ^^^ .info-changes-menu is used by diff scroll sync */ |
| 1291 | pCfg = construct_diff_flags(diffType, &DCfg); |
| 1292 | DCfg.diffFlags |= DIFF_NUMSTAT; /* Show stats in the 'Changes' section */ |
| @@ -1339,11 +1342,11 @@ | |
| 1342 | const char *zOldName = db_column_text(&q3, 4); |
| 1343 | append_file_change_line(zUuid, zName, zOld, zNew, zOldName, |
| 1344 | pCfg,mperm,aChng); |
| 1345 | } |
| 1346 | db_finalize(&q3); |
| 1347 | @ </div></details> |
| 1348 | if( diffType!=0 ){ |
| 1349 | adjust_changes_section_title(__LINE__, aChng); |
| 1350 | } |
| 1351 | append_diff_javascript(diffType); |
| 1352 | style_finish_page(); |
| 1353 |