aboutsummaryrefslogtreecommitdiffstats
path: root/yt_channel_about_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'yt_channel_about_template.html')
-rw-r--r--yt_channel_about_template.html21
1 files changed, 16 insertions, 5 deletions
diff --git a/yt_channel_about_template.html b/yt_channel_about_template.html
index 221b838..6ed7a03 100644
--- a/yt_channel_about_template.html
+++ b/yt_channel_about_template.html
@@ -18,12 +18,16 @@
height:200px;
width:200px;
}
- main .title{
+ .metadata{
grid-row:1;
- grid-column:2;
+ grid-column:2;
+ margin-left: 10px;
+ display:grid;
+ align-content: start;
+ grid-row-gap:10px;
}
+
main .channel-tabs{
- grid-row:2;
grid-column: 1 / span 2;
display:grid;
@@ -34,7 +38,6 @@
padding: 3px;
}
main .channel-info{
- grid-row: 3;
grid-column: 1 / span 3;
}
.tab{
@@ -51,7 +54,15 @@
$header
<main>
<img class="avatar" src="$avatar">
- <h2 class="title">$channel_title</h2>
+ <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>