From 7a765dc664d20f966e4e52abac1f5372045e166c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 14 Dec 2020 23:44:29 -0500 Subject: Change general design theme --- youtube/templates/playlist.html | 76 +++++++++++------------------------------ 1 file changed, 19 insertions(+), 57 deletions(-) (limited to 'youtube/templates/playlist.html') diff --git a/youtube/templates/playlist.html b/youtube/templates/playlist.html index af86c82..8c88cc7 100644 --- a/youtube/templates/playlist.html +++ b/youtube/templates/playlist.html @@ -2,77 +2,39 @@ {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} - main > * { - width: 800px; - margin:auto; - } - - .playlist-metadata{ - display:grid; - grid-template-columns: 0fr 1fr; - } - .playlist-thumbnail{ - grid-row: 1 / span 5; - grid-column:1; - justify-self:start; - width:250px; - margin-right: 10px; - } - .playlist-title{ - grid-row: 1; - grid-column:2; - } - .playlist-author{ - grid-row:2; - grid-column:2; - } - .playlist-stats{ - grid-row:3; - grid-column:2; - } - - .playlist-description{ - grid-row:4; - grid-column:2; - min-width:0px; - white-space: pre-line; - } - - #results{ - margin-top:10px; - - display: grid; - grid-auto-rows: 0fr; - grid-row-gap: 10px; - - } + {% endblock style %} {% block main %} +
- -

{{ title }}

- {{ author }} +
+ {{ title }} +

{{ title }}

+
+
{{ video_count|commatize }} videos
{{ view_count|commatize }} views
Last updated {{ time_published }}
-
{{ common_elements.text_runs(description) }}
+
-
+ +
{% for info in video_list %} {{ common_elements.item(info) }} {% endfor %}
- -{% endblock main %} - - - - +
+ +{% endblock main %} -- cgit v1.2.3