aboutsummaryrefslogtreecommitdiffstats
path: root/yt_local_playlist_template.html
blob: 49df5ed81668b6d5b57f71ccbe828a6cc6424fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>$page_title</title>
        <link href="/youtube.com/shared.css" type="text/css" rel="stylesheet">
        <link title="Youtube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml">
        <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>