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

Merge pull request #187 from sharkykh/file-list-panel

Strip collapse functionality from file list panel
This commit is contained in:
Anna-Maria Meriniemi 2017-05-25 18:10:32 +03:00 committed by GitHub
commit 463ef1dd29
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 %}