diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
commit | a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd (patch) | |
tree | 5b8f407dbb7e9d1ab2106ac0cc8564897e7a2098 /youtube/templates/playlist.html | |
download | yt-local-a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd.tar.gz yt-local-a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd.tar.bz2 yt-local-a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd.zip |
Diffstat (limited to 'youtube/templates/playlist.html')
-rw-r--r-- | youtube/templates/playlist.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/youtube/templates/playlist.html b/youtube/templates/playlist.html new file mode 100644 index 0000000..994523e --- /dev/null +++ b/youtube/templates/playlist.html @@ -0,0 +1,41 @@ +{% set page_title = title|string + ' - Page ' + parameters_dictionary.get('page', '1') %} +{% extends "base.html" %} +{% import "common_elements.html" as common_elements %} +{% block style %} + <link href="/youtube.com/static/message_box.css" rel="stylesheet"> + <link href="/youtube.com/static/playlist.css" rel="stylesheet"> +{% endblock style %} + +{% block main %} + + <div class="playlist-metadata"> + <div class="author"> + <img alt="{{ title }}" src="{{ thumbnail }}"> + <h2>{{ title }}</h2> + </div> + <div class="summary"> + <a class="playlist-author" href="{{ author_url }}">{{ author }}</a> + </div> + <div class="playlist-stats"> + <div>{{ video_count|commatize }} videos</div> + <div>{{ view_count|commatize }} views</div> + <div>Last updated {{ time_published }}</div> + </div> + </div> + <hr/> + + + <div id="results" class="video-container"> + {% for info in video_list %} + {{ common_elements.item(info) }} + {% endfor %} + </div> + <hr/> + + <footer class="pagination-container"> + <nav class="pagination-list"> + {{ common_elements.page_buttons(num_pages, '/https://www.youtube.com/playlist', parameters_dictionary) }} + </nav> + </footer> + +{% endblock main %} |