from django.urls import path from . import ui_views app_name = "projects" urlpatterns = [ # QI Project Views path("", ui_views.project_list, name="project_list"), path("create/", ui_views.project_create, name="project_create"), path("create/from-template//", ui_views.project_create, name="project_create_from_template"), path("/", ui_views.project_detail, name="project_detail"), path("/edit/", ui_views.project_edit, name="project_edit"), path("/delete/", ui_views.project_delete, name="project_delete"), # Task Management (legacy project-level + new phase-level) path("/tasks/add/", ui_views.task_create, name="task_create"), path("/tasks//edit/", ui_views.task_edit, name="task_edit"), path("/tasks//delete/", ui_views.task_delete, name="task_delete"), path("/tasks//toggle/", ui_views.task_toggle_status, name="task_toggle_status"), # PDCA Phase Management path("/pdca//", ui_views.pdca_phase_detail, name="pdca_phase_detail"), path("/pdca//edit/", ui_views.pdca_phase_edit, name="pdca_phase_edit"), path("/pdca//tasks/add/", ui_views.task_create, name="phase_task_create"), path("/pdca//tasks//edit/", ui_views.task_edit, name="phase_task_edit"), path( "/pdca//tasks//delete/", ui_views.task_delete, name="phase_task_delete", ), path( "/pdca//tasks//toggle/", ui_views.task_toggle_status, name="phase_task_toggle_status", ), # FOCUS Phase Management path("/focus//", ui_views.focus_phase_detail, name="focus_phase_detail"), path("/focus//edit/", ui_views.focus_phase_edit, name="focus_phase_edit"), path("/focus//tasks/add/", ui_views.task_create, name="focus_phase_task_create"), path( "/focus//tasks//edit/", ui_views.task_edit, name="focus_phase_task_edit", ), path( "/focus//tasks//delete/", ui_views.task_delete, name="focus_phase_task_delete", ), path( "/focus//tasks//toggle/", ui_views.task_toggle_status, name="focus_phase_task_toggle_status", ), # Template Management path("templates/", ui_views.template_list, name="template_list"), path("templates/create/", ui_views.template_create, name="template_create"), path("templates//", ui_views.template_detail, name="template_detail"), path("templates//edit/", ui_views.template_edit, name="template_edit"), path("templates//delete/", ui_views.template_delete, name="template_delete"), # Save Project as Template path("/save-as-template/", ui_views.project_save_as_template, name="project_save_as_template"), # Export path("/export/excel/", ui_views.project_export_excel, name="project_export_excel"), # PX Action Conversion path("convert-action//", ui_views.convert_action_to_project, name="convert_action"), # HTMX Endpoints path("/htmx/tasks//toggle/", ui_views.htmx_task_toggle_status, name="htmx_task_toggle"), path("/htmx/tasks//delete/", ui_views.htmx_task_delete, name="htmx_task_delete"), path("/htmx/tasks/add///", ui_views.htmx_task_create, name="htmx_task_create"), path("/htmx/tasks//edit-form/", ui_views.htmx_task_edit_form, name="htmx_task_edit_form"), path("/htmx/pdca//column/", ui_views.htmx_pdca_column, name="htmx_pdca_column"), path("/htmx/focus//column/", ui_views.htmx_focus_column, name="htmx_focus_column"), path("/htmx/phase///edit-form/", ui_views.htmx_phase_edit_form, name="htmx_phase_edit_form"), ]