From a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 19 Sep 2024 15:33:11 +0530 Subject: youtube fronend --- youtube/templates/subscription_manager.html | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 youtube/templates/subscription_manager.html (limited to 'youtube/templates/subscription_manager.html') diff --git a/youtube/templates/subscription_manager.html b/youtube/templates/subscription_manager.html new file mode 100644 index 0000000..96082c3 --- /dev/null +++ b/youtube/templates/subscription_manager.html @@ -0,0 +1,78 @@ +{% set page_title = 'Subscription Manager' %} +{% extends "base.html" %} +{% block style %} + +{% endblock style %} + + +{% macro subscription_list(sub_list) %} + {% for subscription in sub_list %} +
  • + + {{ subscription['channel_name'] }} + {{ ', '.join(subscription['tags']) }} +
  • + {% endfor %} +{% endmacro %} + +{% block main %} +
    +
    +

    Import subscriptions

    +
    + + +
    +
    + +
    +

    Export subscriptions

    +
    + + + + +
    +
    +
    + +
    + +
    + {% if group_by_tags %} + Don't group + {% else %} + Group by tags + {% endif %} + + + + + + + +
    + + + {% if group_by_tags %} + + {% else %} +
      + {{ subscription_list(sub_list) }} +
    + {% endif %} + +{% endblock main %} -- cgit v1.2.3-59-g8ed1b