1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 13:49:59 +00:00

Strip collapse functionality from file list panel

This commit is contained in:
Kfir Hadas 2017-05-25 16:06:15 +03:00
parent cfa41bf388
commit e91fdb70da
2 changed files with 3 additions and 10 deletions

View file

@ -288,10 +288,6 @@ a.text-purple:hover, a.text-purple:active, a.text-purple:focus { color: #a760e0;
}
/* Torrent file list */
.torrent-file-list {
padding: 15px;
}
.torrent-file-list ul {
padding: 5px 20px 0px 20px;
list-style: none;

View file

@ -85,14 +85,11 @@
{% if files and files.__len__() <= config.MAX_FILES_VIEW %}
<div class="panel panel-default">
<div class="panel-heading panel-heading-collapse">
<h3 class="panel-title">
<a class="collapsed" data-target="#collapseFileList" data-toggle="collapse" style="color:inherit;text-decoration:none;display:block;width:auto;">File list</a>
</h3>
<div class="panel-heading">
<h3 class="panel-title">File list</h3>
</div>
<div class="torrent-file-list panel-collapse collapse" id="collapseFileList">
<div class="torrent-file-list panel-body">
<ul>
{% for key, value in files.items() recursive -%}
{% if value is iterable %}