diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-20 01:41:12 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-20 01:41:12 -0700 |
commit | d170a75a93e7d722345e328235d62e41cbcd6ae0 (patch) | |
tree | 242ad2e26677a9bcd6640f9f9b2dd68b8d2ab9ab /yt_local_playlist_template.html | |
parent | f12157cd0203d61bd5ee4f6142562da17f3109a7 (diff) | |
download | yt-local-d170a75a93e7d722345e328235d62e41cbcd6ae0.tar.lz yt-local-d170a75a93e7d722345e328235d62e41cbcd6ae0.tar.xz yt-local-d170a75a93e7d722345e328235d62e41cbcd6ae0.zip |
ability to remove videos from playlist
Diffstat (limited to 'yt_local_playlist_template.html')
-rw-r--r-- | yt_local_playlist_template.html | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/yt_local_playlist_template.html b/yt_local_playlist_template.html index 49df5ed..52836a6 100644 --- a/yt_local_playlist_template.html +++ b/yt_local_playlist_template.html @@ -20,12 +20,28 @@ grid-row: 1; display: grid; - grid-template-columns: 1fr 800px; + grid-template-columns: 1fr 800px auto; grid-template-rows: 0fr 1fr 0fr; } .playlist-title{ grid-column:2; } + #playlist-remove-button{ + grid-column:3; + align-self: center; + white-space: nowrap; + } + #results{ + + grid-row: 2; + grid-column: 2 / span 2; + + + display: grid; + grid-auto-rows: 0fr; + grid-row-gap: 10px; + + } .page-button-row{ grid-row: 3; grid-column: 2; @@ -38,17 +54,7 @@ grid-row: 1; } - #results{ - - grid-row: 2; - grid-column: 2; - - - display: grid; - grid-auto-rows: 0fr; - grid-row-gap: 10px; - - } + </style> </head> <body> @@ -56,6 +62,8 @@ $header <main> <div id="left"> <h2 class="playlist-title">$title</h2> + <input type="hidden" name="playlist_page" value="$title" form="playlist-edit"> + <button type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit">Remove from playlist</button> <div id="results"> $videos </div> |