Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
vikdevelop authored Jun 28, 2024
1 parent 16cabc9 commit bb716ff
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions wiki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,18 @@ <h1>Directory Listing</h1>
<thead>
<tr>
<th>Name</th>
<th>Size</th>
<th>Last Modified</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="..">[Parent Directory]</a></td>
<td>-</td>
<td>-</td>
</tr>
{% for item in items %}
{% for folder in folders %}
<tr>
<td>
{% if item.is_directory %}
<span class="directory"><a href="{{ item.path }}">{{ item.name }}/</a></span>
{% else %}
<a href="{{ item.path }}">{{ item.name }}</a>
{% endif %}
</td>
<td>{{ item.size }}</td>
<td>{{ item.modified }}</td>
<td><span class="directory"><a href="{{ folder.path }}">{{ folder.name }}/</a></span></td>
<td>{{ folder.modified }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit bb716ff

Please sign in to comment.