Skip to content

Add collapse/expand button to file sections in HTML report

diffoscope result can contain many container/unarchived files (such as diffing xapk files, which are zip that contain many .apk files) thus the diff is huge, and to make going over the results easier it will be useful to add "colpase/expand" button/image which can be done using CSS only (without javascript) for example by the cool solution provided here:

https://www.quora.com/How-can-I-expand-and-collapse-a-simple-list-using-just-CSS/answer/Piyush-Arora-17

See in the uploaded html file:

cssOnlyCollapse.html

Edited by Chris Lamb
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information