diff --git a/app/modules/cupang/templates/cupang/box_calc.html b/app/modules/cupang/templates/cupang/box_calc.html index de33273..e3e4aef 100644 --- a/app/modules/cupang/templates/cupang/box_calc.html +++ b/app/modules/cupang/templates/cupang/box_calc.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
@@ -30,7 +30,7 @@
- + diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html index b09f549..c65fb50 100644 --- a/app/modules/cupang/templates/cupang/box_rules.html +++ b/app/modules/cupang/templates/cupang/box_rules.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html index 89124d9..254772d 100644 --- a/app/modules/cupang/templates/cupang/centers.html +++ b/app/modules/cupang/templates/cupang/centers.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/detail.html b/app/modules/cupang/templates/cupang/detail.html index c48247e..2a81585 100644 --- a/app/modules/cupang/templates/cupang/detail.html +++ b/app/modules/cupang/templates/cupang/detail.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/form.html b/app/modules/cupang/templates/cupang/form.html index 3c60d24..fdf1b2b 100644 --- a/app/modules/cupang/templates/cupang/form.html +++ b/app/modules/cupang/templates/cupang/form.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html index 7e9b688..f3a7b62 100644 --- a/app/modules/cupang/templates/cupang/index.html +++ b/app/modules/cupang/templates/cupang/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/modules/cupang/templates/cupang/products.html b/app/modules/cupang/templates/cupang/products.html index c5e7167..df8ac99 100644 --- a/app/modules/cupang/templates/cupang/products.html +++ b/app/modules/cupang/templates/cupang/products.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
diff --git a/app/static/cupang.css b/app/static/cupang.css index 4b60532..1b71fa0 100644 --- a/app/static/cupang.css +++ b/app/static/cupang.css @@ -337,10 +337,13 @@ .cpg-calc-table .cpg-calc-box { white-space: nowrap; font-size: 13px; } .cpg-calc-table .cpg-calc-act { text-align: center; } .cpg-calc-table .cpg-calc-del { padding: 2px 8px; line-height: 1.4; } -.cpg-calc-table col.cpg-col-qty { width: 68px; } -.cpg-calc-table col.cpg-col-box { width: 96px; } -.cpg-calc-table col.cpg-col-n { width: 46px; } -.cpg-calc-table col.cpg-col-act { width: 34px; } +/* 제품명 칸을 좁게 고정하고, 나머지 열은 헤더가 잘리지 않을 폭을 준다. + fixed 레이아웃이라 남는 폭은 지정 폭 비율대로 나눠 가진다. */ +.cpg-calc-table col.cpg-col-name { width: 180px; } +.cpg-calc-table col.cpg-col-qty { width: 78px; } +.cpg-calc-table col.cpg-col-box { width: 116px; } +.cpg-calc-table col.cpg-col-n { width: 64px; } +.cpg-calc-table col.cpg-col-act { width: 40px; } /* fixed 레이아웃에서 내용이 셀 밖으로 삐져나와 가로 스크롤이 생기는 것을 막는다. */ .cpg-calc-table th, .cpg-calc-table td { overflow: hidden; text-overflow: ellipsis; } .cpg-calc-table thead th { white-space: nowrap; }