diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-09-19 15:33:11 +0530 |
commit | a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd (patch) | |
tree | 5b8f407dbb7e9d1ab2106ac0cc8564897e7a2098 /youtube/templates/unsubscribe_verify.html | |
download | yt-local-master.tar.gz yt-local-master.tar.bz2 yt-local-master.zip |
Diffstat (limited to 'youtube/templates/unsubscribe_verify.html')
-rw-r--r-- | youtube/templates/unsubscribe_verify.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/youtube/templates/unsubscribe_verify.html b/youtube/templates/unsubscribe_verify.html new file mode 100644 index 0000000..e899783 --- /dev/null +++ b/youtube/templates/unsubscribe_verify.html @@ -0,0 +1,21 @@ +{% set page_title = 'Unsubscribe?' %} +{% extends "base.html" %} +{% block style %} + <link href="/youtube.com/static/unsubscribe.css" rel="stylesheet"/> +{% endblock style %} + +{% block main %} + <p>Are you sure you want to unsubscribe from these channels?</p> + <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 class="list-channel"> + {% 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 %} |