aboutsummaryrefslogtreecommitdiffstats
path: root/yt_local_playlist_template.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-08 18:38:06 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-08 18:40:39 -0700
commit52835db0a83e071ffe72be80fa68445c370b47cb (patch)
tree1162c190d1ccfb5e5e86f1af2587728f4d03f115 /yt_local_playlist_template.html
parentf4024573dcbd4a19e7138814bbc54ac0a653f3d3 (diff)
downloadyt-local-52835db0a83e071ffe72be80fa68445c370b47cb.tar.lz
yt-local-52835db0a83e071ffe72be80fa68445c370b47cb.tar.xz
yt-local-52835db0a83e071ffe72be80fa68445c370b47cb.zip
add support for viewing local playlists
Diffstat (limited to 'yt_local_playlist_template.html')
-rw-r--r--yt_local_playlist_template.html76
1 files changed, 76 insertions, 0 deletions
diff --git a/yt_local_playlist_template.html b/yt_local_playlist_template.html
new file mode 100644
index 0000000..2b92bb6
--- /dev/null
+++ b/yt_local_playlist_template.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>$page_title</title>
+ <link href="/youtube.com/shared.css" type="text/css" rel="stylesheet">
+ <style type="text/css">
+ main{
+ display:grid;
+ grid-template-columns: 3fr 1fr;
+ }
+
+ header{
+ grid-template-columns: 3fr 1fr;
+ }
+
+ #left{
+ grid-column: 1;
+ grid-row: 1;
+
+ display: grid;
+ grid-template-columns: 1fr 800px;
+ grid-template-rows: 0fr 1fr 0fr;
+ }
+ .playlist-title{
+ grid-column:2;
+ }
+ .page-button-row{
+ grid-row: 3;
+ grid-column: 2;
+ justify-self: center;
+ }
+
+
+ #right{
+ grid-column: 2;
+ grid-row: 1;
+
+ }
+ #results{
+
+ grid-row: 2;
+ grid-column: 2;
+
+
+ display: grid;
+ grid-auto-rows: 0fr;
+ grid-row-gap: 10px;
+
+ }
+ </style>
+ </head>
+ <body>
+$header
+ <main>
+ <div id="left">
+ <h2 class="playlist-title">$title</h2>
+ <div id="results">
+$videos
+ </div>
+ <nav class="page-button-row">
+$page_buttons
+ </nav>
+ </div>
+
+
+ <div id="right">
+
+ </div>
+ </main>
+
+
+
+
+ </body>
+</html> \ No newline at end of file