diff options
author | Jesús <heckyel@hyperbola.info> | 2020-12-14 23:44:29 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-14 23:44:29 -0500 |
commit | 7a765dc664d20f966e4e52abac1f5372045e166c (patch) | |
tree | 641f4de8cc11fd9f3234558f957b7bb6b8faf45b /youtube/templates/local_playlist.html | |
parent | 9d0be82e7425641a58a551fefce26385dee2f9d3 (diff) | |
download | yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.tar.lz yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.tar.xz yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.zip |
Change general design theme
Diffstat (limited to 'youtube/templates/local_playlist.html')
-rw-r--r-- | youtube/templates/local_playlist.html | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/youtube/templates/local_playlist.html b/youtube/templates/local_playlist.html index 803c4dc..bbe5edd 100644 --- a/youtube/templates/local_playlist.html +++ b/youtube/templates/local_playlist.html @@ -2,41 +2,23 @@ {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} - main > *{ - width: 800px; - margin: auto; - } - - .playlist-metadata{ - display: flex; - flex-direction: row; - justify-content: space-between; - } - .playlist-title{ - } - #playlist-remove-button{ - align-self: center; - white-space: nowrap; - } - #results{ - display: grid; - grid-auto-rows: 0fr; - grid-row-gap: 10px; - } + <link href="/youtube.com/static/local_playlist.css" rel="stylesheet"> {% endblock style %} {% block main %} <div class="playlist-metadata"> - <h2 class="playlist-title">{{ playlist_name }}</h2> + <h2 class="play-title">{{ playlist_name }}</h2> <input type="hidden" name="playlist_page" value="{{ playlist_name }}" form="playlist-edit"> - <button type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit" formaction="">Remove from playlist</button> + <button class="play-action" type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit" formaction="">Remove from playlist</button> </div> - <div id="results"> + <div id="results" class="video-container"> {% for video_info in videos %} {{ common_elements.item(video_info) }} {% endfor %} </div> - <nav class="page-button-row"> - {{ common_elements.page_buttons(num_pages, '/https://www.youtube.com/playlists/' + playlist_name, parameters_dictionary) }} - </nav> + <footer class="pagination-container"> + <nav class="pagination-list"> + {{ common_elements.page_buttons(num_pages, '/https://www.youtube.com/playlists/' + playlist_name, parameters_dictionary) }} + </nav> + </footer> {% endblock main %} |