diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 8c28ef9..a01803c 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -45,5 +45,5 @@ {% endif %} - + {% endblock %} diff --git a/app/modules/project/templates/project/index.html b/app/modules/project/templates/project/index.html index 5980f41..264a05c 100644 --- a/app/modules/project/templates/project/index.html +++ b/app/modules/project/templates/project/index.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -101,5 +101,5 @@ - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index 6a9d772..273bc59 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + @@ -44,6 +44,16 @@ {% endmacro %} +{% block topbar_actions %} + + notifications + + +{% if can_manage %} + +{% endif %} +{% endblock %} + {% block content %}
보드
-
- - notifications - - - {% if can_manage %} - - {% endif %} -
@@ -283,5 +284,5 @@ - + {% endblock %} diff --git a/app/static/project.js b/app/static/project.js index e7d376d..889acac 100644 --- a/app/static/project.js +++ b/app/static/project.js @@ -287,13 +287,6 @@ } board.appendChild(col); }); - if (canManage) { - const add = document.createElement("div"); - add.className = "pj-col pj-col-add"; - add.innerHTML = ''; - add.querySelector("#pj-add-stage").addEventListener("click", addStage); - board.appendChild(add); - } } async function reloadStages() { @@ -332,12 +325,6 @@ }); } - async function addStage() { - const name = prompt("새 단계 이름"); - if (!name || !name.trim()) return; - try { await api("POST", "/project/api/projects/" + projectId + "/stages", { name: name.trim() }); await reloadStages(); renderBoard(); } - catch (e) { alert("추가 실패: " + e.message); } - } function taskCard(t) { const card = document.createElement("div"); diff --git a/app/templates/erp_base.html b/app/templates/erp_base.html index dd6f5b9..f44b98c 100644 --- a/app/templates/erp_base.html +++ b/app/templates/erp_base.html @@ -115,6 +115,7 @@
+ {% block topbar_actions %}{% endblock %}
{% if user.picture %} {{ user.name }}