summaryrefslogtreecommitdiff
path: root/day9/task5/index.html
blob: eca610bb909770c73889a95519e97be422c03256 (plain)
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
<html lang="ru">

<head>
    <meta charset="UTF-8">
    <title>"table_task1" table view</title>

    <link rel="stylesheet" href="/static/css/ContentBoxStyle.css">
    <link rel="stylesheet" href="/static/css/FormStyle.css">
    <link rel="stylesheet" href="/static/css/NewEntryStyle.css">
    <link rel="stylesheet" href="/static/css/TableStyle.css">
</head>

<body onload="onPageLoad()">
    <div id="backgroundTint" class="backgroundTint hidden">
        <div id="contentBox" class="contentBox hidden"></div>
    </div>

    <table id="table"></table>

    <form action="/api/upload" method="post" enctype="multipart/form-data">
        <input type="file" name="csvFile" id="csvFileInput"
               accept="text/csv" style="display: none;"
               onchange="form.submit()">
    </form>

    <button class="fixedButton uploadFileBtn" id="uploadFileBtn"
            onmouseenter="uploadFileOnHover()"
            onmouseleave="uploadFileOnEndHover()"
            onclick="triggerUploadFile()">
    </button>

    <button class="fixedButton newEntryBtn" id="newEntryBtn"
            onclick="showCreateForm()"
            onmouseenter="addNewRowOnHover()"
            onmouseleave="addNewRowOnEndHover()">
        +
    </button>

    <script src="/static/js/main.js"></script>
    <script src="/static/js/editForm.js"></script>
    <script src="/static/js/utils.js"></script>
    <script src="/static/js/overlayButtonsCallbacks.js"></script>
    <script src="/static/js/tableCallbacks.js"></script>
    <script src="/static/js/config.js"></script>
</body>

</html>