blob: 93c4b0afee9ff949f028aa18f782b32920747b52 (
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>$page_title</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:grid;
grid-template-rows: repeat(5, 0fr);
grid-template-columns: auto 1fr;
}
main .avatar{
grid-row:1;
grid-column:1;
height:200px;
width:200px;
}
.metadata{
grid-row:1;
grid-column:2;
margin-left: 10px;
display:grid;
align-content: start;
grid-row-gap:10px;
}
main .channel-tabs{
grid-column: 1 / span 2;
display:grid;
grid-auto-flow: column;
justify-content:start;
background-color: #aaaaaa;
padding: 3px;
}
#links-metadata{
display: grid;
grid-auto-flow: column;
grid-column-gap: 10px;
grid-column: 1/span 2;
justify-content: start;
padding-top: 8px;
padding-bottom: 8px;
background-color: #bababa;
margin-bottom: 10px;
}
#number-of-results{
font-weight:bold;
}
.item-grid{
grid-column: 1 / span 2;
}
.item-list{
width:1000px;
grid-column: 1 / span 2;
}
.page-button-row{
grid-column: 1 / span 2;
}
.tab{
padding: 5px 75px;
}
</style>
</head>
<body>
$header
<main>
<img class="avatar" src="$avatar">
<div class="metadata">
<h2 class="title">$channel_title</h2>
<form method="POST" action="/youtube.com/subscriptions" class="subscribe">
<input type="submit" value="Subscribe">
<input type="hidden" name="channel_id" value="$channel_id">
<input type="hidden" name="channel_name" value="$channel_title">
<input type="hidden" name="action" value="subscribe">
</form>
</div>
<nav class="channel-tabs">
$channel_tabs
</nav>
<div id="links-metadata">
<div id="number-of-results">$number_of_results</div>
$sort_buttons
</div>
$items
<nav class="page-button-row">
$page_buttons
</nav>
</main>
</body>
</html>
|