조직도 내부 상단 바 제거
This commit is contained in:
@@ -11,13 +11,7 @@
|
||||
<link rel="stylesheet" href="/legacy/static/organization.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="top-wrap">
|
||||
<h1 class="text-sm font-black text-slate-800 tracking-tight">MH 조직현황 관리</h1>
|
||||
<div class="flex items-center gap-2">
|
||||
<input type="file" id="upload-excel" class="hidden" accept=".xlsx, .csv" />
|
||||
<button id="upload-button" class="btn-primary">조직현황 업로드</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="search-section">
|
||||
<div class="flex flex-col w-full">
|
||||
|
||||
@@ -6,31 +6,8 @@ body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.top-wrap {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background: white;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #4f46e5;
|
||||
color: white;
|
||||
padding: 7px 16px;
|
||||
border-radius: 8px;
|
||||
font-weight: 800;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.org-canvas {
|
||||
padding: 40px 20px;
|
||||
padding: 20px 20px 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -598,7 +575,7 @@ body {
|
||||
|
||||
.search-section {
|
||||
position: fixed;
|
||||
top: 75px;
|
||||
top: 18px;
|
||||
left: 25px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 12px;
|
||||
@@ -631,7 +608,7 @@ body {
|
||||
|
||||
.stats-section {
|
||||
position: fixed;
|
||||
top: 75px;
|
||||
top: 18px;
|
||||
right: 25px;
|
||||
width: 400px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
|
||||
@@ -515,12 +515,20 @@ function updateFabMenu() {
|
||||
let html = '<button class="fab-sub shadow-xl" data-label="리스트" onclick="openListViewModal(event)">📋</button>';
|
||||
html += '<button class="fab-sub shadow-xl" data-label="조직도 인쇄(A3)" onclick="printA3()">🖨️</button>';
|
||||
if (isAdmin) {
|
||||
html += '<button class="fab-sub shadow-xl" data-label="조직현황 업로드" onclick="triggerUpload(event)">⬆️</button>';
|
||||
html += '<button class="fab-sub shadow-xl" data-label="신규 구성원" onclick="openAddModal(event)">👤</button>';
|
||||
html += '<button class="fab-sub shadow-xl" data-label="신규 팀/그룹/셀" onclick="openUnitAddModal(event)">🏢</button>';
|
||||
}
|
||||
menu.innerHTML = html;
|
||||
}
|
||||
|
||||
function triggerUpload(event) {
|
||||
if (event) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
document.getElementById('upload-excel').click();
|
||||
}
|
||||
|
||||
function printA3() {
|
||||
window.print();
|
||||
}
|
||||
@@ -1288,9 +1296,6 @@ window.addEventListener('click', () => {
|
||||
});
|
||||
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
document.getElementById('upload-button').addEventListener('click', () => {
|
||||
document.getElementById('upload-excel').click();
|
||||
});
|
||||
document.getElementById('upload-excel').addEventListener('change', async (event) => {
|
||||
const file = event.target.files?.[0];
|
||||
if (!file) {
|
||||
|
||||
Reference in New Issue
Block a user