File size: 2,718 Bytes
8058d85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
616be1a
8058d85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Employee Database System</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="https://cdn.sheetjs.com/xlsx-0.20.1/package/dist/xlsx.full.min.css">
    <script src="https://cdn.sheetjs.com/xlsx-0.20.1/package/dist/xlsx.full.min.js"></script>
</head>
<body>
    <div class="app-container">
        <div class="splash-screen" id="splashScreen">
            <div class="splash-content">
                <img src="https://sun9-42.userapi.com/impf/c858036/v858036285/1855c/ZwoaHhx7m54.jpg?size=1200x772&quality=96&sign=7c74500dc2086c35adc5a8e1e02cb691&c_uniq_tag=mTRocJUOr2Mi9H-Qr0GjOSa_B8FMskeVeaL5yBnLzAg&type=album" 
                     alt="Background" class="splash-bg">
                <div class="splash-actions">
                    <button id="loadConfig" class="action-btn">Загрузить файл Настройка</button>
                    <button id="load1C" class="action-btn">Загрузить данные 1С</button>
                    <button id="loadFlight" class="action-btn">Загрузить данные Прилет/Вылет</button>
                    <button id="loadPosition" class="action-btn">Загрузить данные факт. должности и участка</button>
                    <button id="continueBtn" class="action-btn">ПРОДОЛЖИТЬ</button>
                    <button id="exitBtn" class="action-btn">ВЫЙТИ</button>
                </div>
            </div>
        </div>

        <div class="main-content" id="mainContent" style="display:none;">
            <div class="toolbar">
                <button id="exportBtn">Экспорт в Excel</button>
                <button id="filterBtn">Фильтры</button>
                <button id="refreshBtn">Обновить данные</button>
            </div>
            <div class="excel-container" id="excelContainer"></div>
        </div>

        <div class="file-input-modal" id="fileModal" style="display:none;">
            <div class="modal-content">
                <h3 id="modalTitle">Загрузка файла</h3>
                <input type="file" id="fileInput" accept=".xlsx,.xls,.xlsb">
                <div class="modal-actions">
                    <button id="cancelBtn">Отмена</button>
                    <button id="confirmBtn">OK</button>
                </div>
            </div>
        </div>
    </div>

    <script src="components/database.js"></script>
    <script src="components/excel-viewer.js"></script>
    <script src="script.js"></script>
</body>
</html>