diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5bb447b..4009c67 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,63 +2,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - + + + - - - - - - + + + @@ -114,9 +76,9 @@ - + - + @@ -125,27 +87,27 @@ - - + + - + - - - + + + - - + + - + - - - + + + @@ -155,82 +117,80 @@ - + - + - + - + - + - - + + - + - + - + - + - - + + - - - - - - - + + + + + + + + + + - + - - + + + + + + - + - - - - - - - - - - - + + @@ -238,21 +198,64 @@ - - - + + + - - + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -270,10 +273,6 @@ - lds - get_selected - url - delete_fo folder modal folderEditDialog @@ -298,6 +297,12 @@ dialog_ .find .show + videos_wrapper + videos_loading + submit + modal_edit_folder + modal_update_folder + modal_delete_folder loading @@ -308,6 +313,8 @@ = dj_settings modal_ + videos-wrapper + videos-loading @@ -316,11 +323,6 @@ @@ -382,10 +389,10 @@ - @@ -530,13 +537,6 @@ - - - - - - - + +{% endblock modal_footer %} \ No newline at end of file diff --git a/YtManagerApp/templates/YtManagerApp/controls/folder_delete_modal.html b/YtManagerApp/templates/YtManagerApp/controls/folder_delete_modal.html new file mode 100644 index 0000000..faeca72 --- /dev/null +++ b/YtManagerApp/templates/YtManagerApp/controls/folder_delete_modal.html @@ -0,0 +1,21 @@ +{% extends 'YtManagerApp/controls/modal.html' %} +{% load crispy_forms_tags %} + +{% block modal_title %} + Delete folder +{% endblock modal_title %} + +{% block modal_content %} +
+ {{ block.super }} +
+{% endblock %} + +{% block modal_body %} + {% crispy form %} +{% endblock modal_body %} + +{% block modal_footer %} + + +{% endblock modal_footer %} \ No newline at end of file diff --git a/YtManagerApp/templates/YtManagerApp/controls/folder_edit_dialog.html b/YtManagerApp/templates/YtManagerApp/controls/folder_edit_dialog.html deleted file mode 100644 index 8cefaa1..0000000 --- a/YtManagerApp/templates/YtManagerApp/controls/folder_edit_dialog.html +++ /dev/null @@ -1,40 +0,0 @@ - \ No newline at end of file diff --git a/YtManagerApp/templates/YtManagerApp/controls/folder_update_modal.html b/YtManagerApp/templates/YtManagerApp/controls/folder_update_modal.html new file mode 100644 index 0000000..a481a74 --- /dev/null +++ b/YtManagerApp/templates/YtManagerApp/controls/folder_update_modal.html @@ -0,0 +1,21 @@ +{% extends 'YtManagerApp/controls/modal.html' %} +{% load crispy_forms_tags %} + +{% block modal_title %} + Edit folder +{% endblock modal_title %} + +{% block modal_content %} +
+ {{ block.super }} +
+{% endblock %} + +{% block modal_body %} + {% crispy form %} +{% endblock modal_body %} + +{% block modal_footer %} + + +{% endblock modal_footer %} \ No newline at end of file diff --git a/YtManagerApp/templates/YtManagerApp/index.html b/YtManagerApp/templates/YtManagerApp/index.html index a73a571..56c83f9 100644 --- a/YtManagerApp/templates/YtManagerApp/index.html +++ b/YtManagerApp/templates/YtManagerApp/index.html @@ -11,14 +11,19 @@ - - {% include 'YtManagerApp/controls/folder_edit_dialog.html' %} - {% include 'YtManagerApp/controls/subscription_edit_dialog.html' %} - {% endblock %} {% block body %} + +
@@ -55,10 +60,10 @@ {% crispy filter_form %}
-
+
-