aboutsummaryrefslogtreecommitdiffstats
path: root/yt_channel_about_template.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-02-16 23:41:52 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-02-16 23:41:52 -0800
commit3905e7e64059b45479894ba1fdfb0ef9cef64475 (patch)
tree4c5dbbfd204d0351cac8412cc87a65fea49c1a52 /yt_channel_about_template.html
parent24642455d0dc5841ddec99f456598c4f763c1e8a (diff)
downloadyt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.tar.lz
yt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.tar.xz
yt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.zip
basic subscriptions system
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>