mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:49:59 +00:00
Merge pull request #187 from sharkykh/file-list-panel
Strip collapse functionality from file list panel
This commit is contained in:
commit
463ef1dd29
|
@ -288,10 +288,6 @@ a.text-purple:hover, a.text-purple:active, a.text-purple:focus { color: #a760e0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Torrent file list */
|
/* Torrent file list */
|
||||||
.torrent-file-list {
|
|
||||||
padding: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.torrent-file-list ul {
|
.torrent-file-list ul {
|
||||||
padding: 5px 20px 0px 20px;
|
padding: 5px 20px 0px 20px;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
|
@ -85,14 +85,11 @@
|
||||||
|
|
||||||
{% if files and files.__len__() <= config.MAX_FILES_VIEW %}
|
{% if files and files.__len__() <= config.MAX_FILES_VIEW %}
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading panel-heading-collapse">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title">
|
<h3 class="panel-title">File list</h3>
|
||||||
<a class="collapsed" data-target="#collapseFileList" data-toggle="collapse" style="color:inherit;text-decoration:none;display:block;width:auto;">File list</a>
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="torrent-file-list panel-collapse collapse" id="collapseFileList">
|
<div class="torrent-file-list panel-body">
|
||||||
<ul>
|
<ul>
|
||||||
{% for key, value in files.items() recursive -%}
|
{% for key, value in files.items() recursive -%}
|
||||||
{% if value is iterable %}
|
{% if value is iterable %}
|
||||||
|
|
Loading…
Reference in a new issue