put file list inside details tag
This commit is contained in:
parent
62e6d64253
commit
52158d25e9
|
@ -175,8 +175,9 @@ tr.unavailable td.file_download {
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
#download_contents h3 {
|
||||
margin-bottom: 0;
|
||||
#download_contents summary {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#download_contents table {
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
{% match file.contents %}
|
||||
{% when Some with (files) %}
|
||||
<div id="download_contents" class="section">
|
||||
<h3>Contents</h3>
|
||||
<details>
|
||||
<summary>Show file list</summary>
|
||||
<table><tbody>
|
||||
{% let offsets = offsets.as_ref().unwrap() %}
|
||||
{% for f in files %}
|
||||
|
@ -38,6 +39,7 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</tbody></table>
|
||||
</details>
|
||||
</div>
|
||||
{% else %}
|
||||
{% endmatch %}
|
||||
|
|
Loading…
Reference in a new issue