From ca9d8bdc0697a8a17475b678fd1b3273d69f2262 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Sat, 12 Oct 2024 06:09:29 -0600 Subject: [PATCH] styling --- static/style/video-card.css | 5 +++++ templates/playlist.html | 3 +-- templates/video_card.html | 4 ++-- templates/videos.html | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/static/style/video-card.css b/static/style/video-card.css index a7fa801..47c259f 100644 --- a/static/style/video-card.css +++ b/static/style/video-card.css @@ -32,4 +32,9 @@ margin-right: 5px; cursor: pointer; border-radius: 4px; +} + +.video-options .delete-btn { + background-color: rgb(255, 70, 70); + color: white; } \ No newline at end of file diff --git a/templates/playlist.html b/templates/playlist.html index 099c2e9..6ffa710 100644 --- a/templates/playlist.html +++ b/templates/playlist.html @@ -8,13 +8,12 @@ Playlist + {{template "playlist-video-card-css" .}} {{template "footer-css" .}}

{{.playlist.Title}}

-

Playlist

-
{{range .unwatched}} {{template "playlist-video-card-html" .}} diff --git a/templates/video_card.html b/templates/video_card.html index 301138f..d30b324 100644 --- a/templates/video_card.html +++ b/templates/video_card.html @@ -45,12 +45,12 @@ {{end}}
- +
{{end}} {{define "playlist-video-card-css"}} - + {{end}} \ No newline at end of file diff --git a/templates/videos.html b/templates/videos.html index bf39108..b863851 100644 --- a/templates/videos.html +++ b/templates/videos.html @@ -48,7 +48,7 @@ {{else if eq .Status "downloading"}} {{end}}
- +
@@ -69,7 +69,7 @@
{{.URL}}
- +