aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/unsubscribe_verify.html
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-08-10 17:05:14 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-08-10 17:05:14 -0700
commit33bba9762c7f96a754351f3422f74364c5bdecac (patch)
tree5491da71c27269e5505f4d23cf90a68d95f15c38 /youtube/templates/unsubscribe_verify.html
parent163814d35cbcad575d0deec54b31b94e2bbaaebb (diff)
downloadyt-local-33bba9762c7f96a754351f3422f74364c5bdecac.tar.lz
yt-local-33bba9762c7f96a754351f3422f74364c5bdecac.tar.xz
yt-local-33bba9762c7f96a754351f3422f74364c5bdecac.zip
Convert subscription manager to flask framework
Diffstat (limited to 'youtube/templates/unsubscribe_verify.html')
-rw-r--r--youtube/templates/unsubscribe_verify.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/youtube/templates/unsubscribe_verify.html b/youtube/templates/unsubscribe_verify.html
new file mode 100644
index 0000000..98581c0
--- /dev/null
+++ b/youtube/templates/unsubscribe_verify.html
@@ -0,0 +1,19 @@
+{% set page_title = 'Unsubscribe?' %}
+{% extends "base.html" %}
+
+{% block main %}
+ <span>Are you sure you want to unsubscribe from these channels?</span>
+ <form class="subscriptions-import-form" action="/youtube.com/subscription_manager" method="POST">
+ {% for channel_id, channel_name in unsubscribe_list %}
+ <input type="hidden" name="channel_ids" value="{{ channel_id }}">
+ {% endfor %}
+
+ <input type="hidden" name="action" value="unsubscribe">
+ <input type="submit" value="Yes, unsubscribe">
+ </form>
+ <ul>
+ {% for channel_id, channel_name in unsubscribe_list %}
+ <li><a href="{{ '/https://www.youtube.com/channel/' + channel_id }}" title="{{ channel_name }}">{{ channel_name }}</a></li>
+ {% endfor %}
+ </ul>
+{% endblock main %}