diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-08 02:56:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-08 16:22:23 -0700 |
commit | 26620cbac85f1fa5057e54fa8d91c35d907c0e0f (patch) | |
tree | 40763f1590f80c1d4e5d7d0ac1c1ce9d720ad3fb /yt_watch_template.html | |
parent | 6ad09eb53a8b79b2241f56009d9757f8cac7181f (diff) | |
download | yt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.tar.lz yt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.tar.xz yt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.zip |
front-end support for adding to playlists
Diffstat (limited to 'yt_watch_template.html')
-rw-r--r-- | yt_watch_template.html | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/yt_watch_template.html b/yt_watch_template.html index c5bac0a..f4de269 100644 --- a/yt_watch_template.html +++ b/yt_watch_template.html @@ -11,44 +11,6 @@ grid-template-columns: 3fr 2fr; } - header{ - display:grid; - grid-template-columns: 3fr 2fr; - } - #header-left{ - grid-column:1; - - display:grid; - grid-template-columns: 1fr 640px; - } - #site-search{ - grid-column: 2; - } - #header-right{ - grid-column:2; - - display:grid; - grid-template-columns:40px 400px 100px 1fr; - grid-template-rows: 1fr 1fr; - } - #playlist-add{ - display:contents; - } - #playlist-name-selection{ - grid-column:2; - grid-row:1; - justify-self:start; - } - #playlist-add-button{ - grid-column:2; - grid-row:2; - justify-self:start; - } - #item-selection-reset{ - grid-column:3; - grid-row:2; - justify-self:center; - } #left{ background-color:#bcbcbc; @@ -88,24 +50,7 @@ </style> </head> <body> - <header> - <div id="header-left"> - <form id="site-search" action="/youtube.com/search"> - <input type="search" name="query" class="search-box"> - <button type="submit" value="Search" class="search-button">Search</button> - </form> - </div> - <div id="header-right"> - <form id="playlist-add" action="/youtube.com/edit_playlist" method="post" target="_self"> - <input type="hidden" name="action" value="add"> - <select name="playlist_name" id="playlist-name-selection"> - <option value="watch_later">watch_later</option> - </select> - <button type="submit" id="playlist-add-button">Add to playlist</button> - <button type="reset" id="item-selection-reset">Clear selection</button> - </form> - </div> - </header> +$header <main> <div id="left"> <article class="full-item"> |