tree-view.html
HTML document, ASCII text
1<table style="width: 100%; table-layout: fixed;" id="repo-table"> 2<thead> 3<tr> 4<th style="text-align: left;">File name</th> 5<th style="text-align: left;">Media type</th> 6<th style="width: 12ch; text-align: right;">Size</th> 7<th style="width: 33.33333%; text-align: left;">Last commit</th> 8</tr> 9</thead> 10<tbody> 11{% for file in files %} 12<tr> 13<td> 14<a href="{{ file.link }}" class="file-link" title="{{ file.name }}"> 15<x-hbox style="align-items: center; gap: 0.5ch;"> 16<iconify-icon icon="{{ file.icon }}" class="file-icon"></iconify-icon> 17<span class="file-name">{{ file.name }}</span> 18</x-hbox> 19</a> 20</td> 21<td>{{ file.mimetype }}</td> 22<td style="text-align: right;">{{ file.size[0] }} {{ file.size[1] }}</td> 23<td> 24<x-hbox style="align-items: baseline; gap: 0.5ch;"> 25<code>{{ file.commit.sha[:file.shaSize] }}</code> 26<span class="commit-message">{{ file.commit.message }}</span> 27</x-hbox> 28</td> 29</tr> 30{% endfor %} 31</tbody> 32</table>