Fix links

This commit is contained in:
bakatrouble 2017-05-03 21:58:45 +03:00
parent 6a6d278b40
commit 1bcf348fa7

View File

@ -34,7 +34,7 @@
<tbody> <tbody>
% if path: % if path:
<tr> <tr>
<td> <td class="selectable">
<a href="../{{ f'?{query}' if query else '' }}"> <a href="../{{ f'?{query}' if query else '' }}">
<i class="level up icon"></i> <i class="level up icon"></i>
../ ../
@ -47,7 +47,7 @@
% for item in lst: % for item in lst:
<tr> <tr>
% if item.isdir: % if item.isdir:
<td> <td class="selectable">
<a href="{{ item.name }}/{{ f'?{query}' if query else '' }}"> <a href="{{ item.name }}/{{ f'?{query}' if query else '' }}">
<i class="folder outline icon"></i> <i class="folder outline icon"></i>
{{ item.name }}/ {{ item.name }}/
@ -56,7 +56,7 @@
<td></td> <td></td>
<td></td> <td></td>
% else: % else:
<td> <td class="selectable">
<a href="/_/{{ path }}{{ item.name }}" target="_blank"> <a href="/_/{{ path }}{{ item.name }}" target="_blank">
<i class="file {{ get_file_icon(item.name) }} outline icon"></i> <i class="file {{ get_file_icon(item.name) }} outline icon"></i>
{{ item.name }} [{{ guess_type(item.name)[0] }}] {{ item.name }} [{{ guess_type(item.name)[0] }}]