aboutsummaryrefslogtreecommitdiffstats
path: root/yt_subscriptions_template.html
blob: a6d3e385ae580c86d1d230cbc58dc87053fbdf4e (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
78
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Subscriptions</title>
        <link href="/youtube.com/shared.css" type="text/css" rel="stylesheet">
        <link href="/youtube.com/favicon.ico" type="image/x-icon" rel="icon">
        <link title="Youtube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml">
        <style type="text/css">
            main{
                display:flex;
                flex-direction: row;
            }
            .item-grid{
                flex-grow: 1;
            }
            .subscriptions-sidebar{
                flex-basis: 300px;
                background-color: #dadada;
                border-left: 2px;
            }
                .sidebar-links{
                    display:flex;
                    justify-content: space-between;
                    padding-left:10px;
                    padding-right: 10px;
                }

                .sidebar-list{
                    list-style: none;
                    padding-left:10px;
                    padding-right: 10px;
                }
                    .sidebar-list > li{
                        display:flex;
                        justify-content: space-between;
                        margin-bottom: 5px;
                    }
                        .sub-refresh-list .sidebar-item-name{
                            text-overflow: clip;
                            white-space: nowrap;
                            overflow: hidden;
                            max-width: 200px;
                        }
        </style>
    </head>
    <body>
$header
        <main>

$items

            <div class="subscriptions-sidebar">
                <div class="sidebar-links">
                    <a href="/youtube.com/subscription_manager" class="sub-manager-link">Subscription Manager</a>
                    <form method="POST" class="refresh-all">
                        <input type="submit" value="Check All">
                        <input type="hidden" name="action" value="refresh">
                    </form>
                </div>

                <hr>
                <ol class="sidebar-list tags">
$tags
                </ol>

                <ol class="sidebar-list sub-refresh-list">
$sub_list
                </ol>

            </div>

            <nav class="page-button-row">
$page_buttons
            </nav>
        </main>
    </body>
</html>