Spaces:
Running

File size: 3,150 Bytes
2c04734
 
 
 
 
 
 
 
 
 
 
 
 
 
d478bcb
2c04734
d478bcb
e8b30a8
2c04734
e8b30a8
2c04734
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32961bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c04734
 
 
 
 
 
 
 
 
 
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DocuBank | Документ</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
</head>
<body>
    <div class="app-container">
        <header class="app-header">
            <div class="logo">
                <span>DocuBank <small style="font-size: 0.8rem; color: var(--text-light); font-weight: 400;">by Дом.РФ</small></span>
            </div>
<nav class="app-nav">
                <a href="/" class="active"><i class="fas fa-file-alt"></i> Документы</a>
            </nav>
</header>

        <main class="app-main">
            <div class="document-view">
                <div class="document-header">
                    <h1 th:text="${document.fileName}">Название документа</h1>
                    <div class="document-meta">
                        <span><i class="fas fa-calendar-alt"></i> <span th:text="${document.createdAt}">Дата загрузки</span></span>
                        <span><i class="fas fa-fingerprint"></i> ID: <span th:text="${document.id}">Идентификатор</span></span>
                    </div>
                </div>

                <div class="document-content">
                    <div class="document-preview">
                        <i class="fas fa-file-word"></i>
                        <p>Предпросмотр документа</p>
                    </div>
                </div>
                <div class="document-actions">
                    <a href="#" class="action-button download">
                        <i class="fas fa-download"></i> Скачать
                    </a>
                    <a href="#" class="action-button delete">
                        <i class="fas fa-trash"></i> Удалить
                    </a>
                </div>

                <div class="dkpz-table">
                    <h3>Результаты парсинга ДКПЗ</h3>
                    <table>
                        <thead>
                            <tr>
                                <th>Пункт</th>
                                <th>Текст</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr th:each="item : ${dkpzItems}">
                                <td th:text="${item.point}">1.1</td>
                                <td th:text="${item.text}">Текст пункта</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
</div>
        </main>

        <footer class="app-footer">
            <p>© 2023 DocuBank. Все права защищены.</p>
        </footer>
    </div>

    <script src="script.js"></script>
</body>
</html>