Merge remote-tracking branch 'origin/master'
# Conflicts: # filelist.tpl
This commit is contained in:
commit
6a6d278b40
16
filelist.tpl
16
filelist.tpl
@ -9,16 +9,8 @@
|
|||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/components/table.min.css" rel="stylesheet" />
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/components/table.min.css" rel="stylesheet" />
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/components/container.min.css" rel="stylesheet" />
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/components/container.min.css" rel="stylesheet" />
|
||||||
<style>
|
<style>
|
||||||
table tbody tr {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
table tbody tr a {
|
table tbody tr a {
|
||||||
/*display: block;*/
|
display: block;
|
||||||
/*position: absolute;*/
|
|
||||||
/*top: 0;*/
|
|
||||||
/*left: 0;*/
|
|
||||||
/*right: 0;*/
|
|
||||||
/*bottom: 0;*/
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -42,7 +34,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
% if path:
|
% if path:
|
||||||
<tr>
|
<tr>
|
||||||
<td class="selectable">
|
<td>
|
||||||
<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>
|
||||||
../
|
../
|
||||||
@ -55,7 +47,7 @@
|
|||||||
% for item in lst:
|
% for item in lst:
|
||||||
<tr>
|
<tr>
|
||||||
% if item.isdir:
|
% if item.isdir:
|
||||||
<td class="selectable">
|
<td>
|
||||||
<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 }}/
|
||||||
@ -64,7 +56,7 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
% else:
|
% else:
|
||||||
<td class="selectable">
|
<td>
|
||||||
<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] }}]
|
||||||
|
Loading…
Reference in New Issue
Block a user