aboutsummaryrefslogtreecommitdiffstats
path: root/yt_channel_about_template.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-08 02:56:54 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-08 16:22:23 -0700
commit26620cbac85f1fa5057e54fa8d91c35d907c0e0f (patch)
tree40763f1590f80c1d4e5d7d0ac1c1ce9d720ad3fb /yt_channel_about_template.html
parent6ad09eb53a8b79b2241f56009d9757f8cac7181f (diff)
downloadyt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.tar.lz
yt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.tar.xz
yt-local-26620cbac85f1fa5057e54fa8d91c35d907c0e0f.zip
front-end support for adding to playlists
Diffstat (limited to 'yt_channel_about_template.html')
-rw-r--r--yt_channel_about_template.html57
1 files changed, 1 insertions, 56 deletions
diff --git a/yt_channel_about_template.html b/yt_channel_about_template.html
index 7eba673..63af6f1 100644
--- a/yt_channel_about_template.html
+++ b/yt_channel_about_template.html
@@ -5,44 +5,6 @@
<title>$page_title</title>
<link href="/youtube.com/shared.css" type="text/css" rel="stylesheet">
<style type="text/css">
- 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;
- }
main{
display:grid;
grid-template-rows: 0fr 0fr 1fr;
@@ -82,24 +44,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>
<img class="avatar" src="$avatar">
<h2 class="title">$channel_title</h2>