1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 19:00:07 +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 */
.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;

View file

@ -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 %}