feat(erp): 사이드바 컬러 아이콘·축소 메뉴 간격 축소
- 메뉴 항목에 data-key 부여, 모듈별 아이콘 색(--erp-ic) 지정 - 축소 상태 항목 padding/gap 줄여 세로 간격 압축 - erp-shell.css 캐시 버전 갱신 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{{ page_title or "ERP" }} — DBX Corporation</title>
|
||||
<link rel="stylesheet" href="/static/erp.css?v=20260615b" />
|
||||
<link rel="stylesheet" href="/static/erp-shell.css?v=20260615b" />
|
||||
<link rel="stylesheet" href="/static/erp-shell.css?v=20261020a" />
|
||||
<link rel="stylesheet" href="/static/erp-attach-viewer.css" />
|
||||
<link rel="stylesheet" href="/static/erp-dialog.css?v=20261017a" />
|
||||
<link rel="stylesheet" href="/static/erp-notice.css?v=20261015a" />
|
||||
@@ -59,9 +59,9 @@
|
||||
{% if item.disabled %}{% set classes = classes + " is-disabled" %}{% endif %}
|
||||
|
||||
{% if item.disabled %}
|
||||
<div class="{{ classes }}" title="{{ item.disabled_reason or '준비중' }}">
|
||||
<div class="{{ classes }}" data-key="{{ item.key }}" title="{{ item.disabled_reason or '준비중' }}">
|
||||
{% else %}
|
||||
<a class="{{ classes }}" href="{{ item.url }}"
|
||||
<a class="{{ classes }}" data-key="{{ item.key }}" href="{{ item.url }}"
|
||||
{% if item.target == '_blank' %}target="_blank" rel="noopener noreferrer"{% endif %}>
|
||||
{% endif %}
|
||||
<span class="erp-sidebar-icon">{{ item.icon | safe }}</span>
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
<div class="erp-sidebar-foot">
|
||||
{% if user.is_super_admin %}
|
||||
<a class="erp-sidebar-item" href="/modules" title="업무 모듈 선택 화면">
|
||||
<a class="erp-sidebar-item" data-key="modules" href="/modules" title="업무 모듈 선택 화면">
|
||||
<span class="erp-sidebar-icon">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
@@ -98,7 +98,7 @@
|
||||
<span class="erp-sidebar-label">업무 모듈</span>
|
||||
</a>
|
||||
{# 긴급 공지 관리 — 수퍼관리자만(app/modules/notice) #}
|
||||
<a class="erp-sidebar-item" href="/notice/" title="정한 시각에 받는 사람 화면 가운데에 띄우는 공지">
|
||||
<a class="erp-sidebar-item" data-key="notice" href="/notice/" title="정한 시각에 받는 사람 화면 가운데에 띄우는 공지">
|
||||
<span class="erp-sidebar-icon">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
@@ -109,7 +109,7 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if is_admin %}
|
||||
<a class="erp-sidebar-item" href="/admin">
|
||||
<a class="erp-sidebar-item" data-key="admin" href="/admin">
|
||||
<span class="erp-sidebar-icon">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
|
||||
Reference in New Issue
Block a user