forked from projects/file-explorer
15
templates/_partials/_row.html.twig
Normal file
15
templates/_partials/_row.html.twig
Normal file
@ -0,0 +1,15 @@
|
||||
<tr class="border-b">
|
||||
<th scope="row" class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">
|
||||
{% if file.type == 'dir' %}
|
||||
{{ ux_icon('folder:closed', {height: '32px', width: '32px'}) }}
|
||||
{% else %}
|
||||
{{ ux_icon('file:default', {height: '32px', width: '32px'}) }}
|
||||
{% endif %}
|
||||
</th>
|
||||
<td class="px-6 py-4">
|
||||
{{ file.name }}
|
||||
</td>
|
||||
<td class="px-6 py-4">
|
||||
{{ file.size }}
|
||||
</td>
|
||||
</tr>
|
Reference in New Issue
Block a user