|
|
|
@ -35,20 +35,24 @@
|
|
|
|
|
<option value="pending">show download queue</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="view-icons">
|
|
|
|
|
<img src="{% static 'img/icon-gridview.svg' %}" onclick="changeView(this)" data-origin="downloads" data-value="grid" alt="grid view">
|
|
|
|
|
<img src="{% static 'img/icon-listview.svg' %}" onclick="changeView(this)" data-origin="downloads" data-value="list" alt="list view">
|
|
|
|
|
</div>
|
|
|
|
|
{% if filter_view == "ignore" %}
|
|
|
|
|
<h2>Ignored from download</h2>
|
|
|
|
|
{% else %}
|
|
|
|
|
<h2>Download queue</h2>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<div>
|
|
|
|
|
<h3>Total videos: {{ max_hits }}</h3>
|
|
|
|
|
<div class="dl-list {{ view_style }}">
|
|
|
|
|
{% if all_video_hits %}
|
|
|
|
|
<h3>Total videos found: {{ max_hits }}</h3>
|
|
|
|
|
{% for video in all_video_hits %}
|
|
|
|
|
<div class="dl-item" id="dl-{{ video.youtube_id }}">
|
|
|
|
|
<div class="dl-thumb">
|
|
|
|
|
<div class="dl-item {{ view_style }}" id="dl-{{ video.youtube_id }}">
|
|
|
|
|
<div class="dl-thumb {{ view_style }}">
|
|
|
|
|
<img src="{{ video.vid_thumb_url }}" alt="video_thumb">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dl-desc">
|
|
|
|
|
<div class="dl-desc {{ view_style }}">
|
|
|
|
|
{% if filter_view == "ignore" %}
|
|
|
|
|
<h3>Ignore: {{ video.title }}</h3>
|
|
|
|
|
{% else %}
|
|
|
|
@ -70,8 +74,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% else %}
|
|
|
|
|
<h3>No videos found</h3>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript" src="{% static 'progress.js' %}"></script>
|
|
|
|
|