{% set page_title = 'Subscription Manager' %} {% extends "base.html" %} {% block style %} .import-export{ display: flex; flex-direction: row; } .subscriptions-import-form{ background-color: #dadada; display: flex; flex-direction: column; align-items: flex-start; max-width: 300px; padding:10px; } .subscriptions-import-form h2{ font-size: 20px; margin-bottom: 10px; } .import-submit-button{ margin-top:15px; align-self: flex-end; } .subscriptions-export-links{ margin: 0px 0px 0px 20px; background-color: #dadada; list-style: none; max-width: 300px; padding:10px; } .sub-list-controls{ background-color: #dadada; padding:10px; } .tag-group-list{ list-style: none; margin-left: 10px; margin-right: 10px; padding: 0px; } .tag-group{ border-style: solid; margin-bottom: 10px; } .sub-list{ list-style: none; padding:10px; column-width: 300px; column-gap: 40px; } .sub-list-item{ display:flex; margin-bottom: 10px; background-color: #dadada; } .tag-list{ margin-left:15px; font-weight:bold; } .sub-list-item-name{ margin-left:15px; } .sub-list-checkbox{ height: 1.5em; width: 1.5em; } .muted{ background-color: #888888; } {% endblock style %} {% macro subscription_list(sub_list) %} {% for subscription in sub_list %}
  • {{ subscription['channel_name'] }} {{ ', '.join(subscription['tags']) }}
  • {% endfor %} {% endmacro %} {% block main %}

    Import 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 %}