Fix icon spacing in torrent filelist

As noted in #66
This commit is contained in:
TheAMM 2017-05-15 09:50:58 +03:00
parent 7b78bcc80b
commit 7f767072cf
1 changed files with 2 additions and 2 deletions

View File

@ -89,11 +89,11 @@
<tr> <tr>
{%- if value is iterable %} {%- if value is iterable %}
<td colspan="2" {% if loop.depth0 is greaterthan 0 %}style="padding-left: {{ loop.depth0 * 20 }}px"{% endif %}> <td colspan="2" {% if loop.depth0 is greaterthan 0 %}style="padding-left: {{ loop.depth0 * 20 }}px"{% endif %}>
<i class="glyphicon glyphicon-folder-open"></i> <b>{{ key }}</b></td> <i class="glyphicon glyphicon-folder-open"></i>&nbsp;&nbsp;<b>{{ key }}</b></td>
{{ loop(value.items()) }} {{ loop(value.items()) }}
{%- else %} {%- else %}
<td style="padding-left: {{ loop.depth0 * 20 }}px"> <td style="padding-left: {{ loop.depth0 * 20 }}px">
<i class="glyphicon glyphicon-file"></i> {{ key }}</td> <i class="glyphicon glyphicon-file"></i>&nbsp;{{ key }}</td>
<td class="col-md-2">{{ value | filesizeformat(True) }}</td> <td class="col-md-2">{{ value | filesizeformat(True) }}</td>
{%- endif %} {%- endif %}
</tr> </tr>