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 6428aac commit 16cabc9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions wiki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
a:hover {
text-decoration: underline;
}
.directory {
font-weight: bold;
}
</style>
</head>
<body>
Expand All @@ -48,11 +51,17 @@ <h1>Directory Listing</h1>
<td>-</td>
<td>-</td>
</tr>
{% for file in files %}
{% for item in items %}
<tr>
<td><a href="{{ file.path }}">{{ file.name }}</a></td>
<td>{{ file.size }}</td>
<td>{{ file.modified }}</td>
<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>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 16cabc9

Please sign in to comment.