diff --git a/DashBoard-organization.html b/DashBoard-organization.html
index 779e1e6..1953412 100644
--- a/DashBoard-organization.html
+++ b/DashBoard-organization.html
@@ -11,13 +11,7 @@
-
diff --git a/legacy/static/organization.css b/legacy/static/organization.css
index cc85d65..a7a8c5b 100644
--- a/legacy/static/organization.css
+++ b/legacy/static/organization.css
@@ -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);
diff --git a/legacy/static/organization.js b/legacy/static/organization.js
index db1202d..ce22ffe 100644
--- a/legacy/static/organization.js
+++ b/legacy/static/organization.js
@@ -515,12 +515,20 @@ function updateFabMenu() {
let html = '';
html += '';
if (isAdmin) {
+ html += '';
html += '';
html += '';
}
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) {