50 lines
1.7 KiB
HTML
50 lines
1.7 KiB
HTML
{% extends "YtManagerApp/main_master_detail.html" %}
|
|
{% load static %}
|
|
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{% static 'YtManagerApp/import/jstree/themes/default/style.min.css' %}" />
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
<script src="{% static 'YtManagerApp/import/jstree/jstree.js' %}"></script>
|
|
<script>
|
|
{% include 'YtManagerApp/js/subscription_tree.js' %}
|
|
</script>
|
|
|
|
{% include 'YtManagerApp/controls/folder_edit_dialog.html' %}
|
|
{% include 'YtManagerApp/controls/subscription_edit_dialog.html' %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block master %}
|
|
|
|
<div class="btn-toolbar" role="toolbar" aria-label="Subscriptions toolbar">
|
|
<div class="btn-group btn-group-sm mr-2" role="group">
|
|
<button id="btn_create_sub" type="button" class="btn btn-secondary" >
|
|
<span class="typcn typcn-plus" aria-hidden="true"></span>
|
|
</button>
|
|
<button id="btn_create_folder" type="button" class="btn btn-secondary">
|
|
<span class="typcn typcn-folder-add" aria-hidden="true"></span>
|
|
</button>
|
|
</div>
|
|
<div class="btn-group btn-group-sm mr-2" role="group">
|
|
<button id="btn_edit_node" type="button" class="btn btn-secondary" >
|
|
<span class="typcn typcn-edit" aria-hidden="true"></span>
|
|
</button>
|
|
<button id="btn_delete_node" type="button" class="btn btn-secondary" >
|
|
<span class="typcn typcn-trash" aria-hidden="true"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="tree-wrapper">
|
|
<p>Loading...</p>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block detail %}
|
|
<div id="main_detail">
|
|
|
|
</div>
|
|
{% endblock %} |