File size: 22,319 Bytes
9173a27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document Management | CompletionFlow Pro</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
    <style>
        .vanta-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.15;
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .active-tab {
            border-bottom: 3px solid #3b82f6;
            color: #3b82f6;
            font-weight: 600;
        }
        .document-card:hover .document-actions {
            opacity: 1;
        }
        .document-actions {
            opacity: 0;
            transition: opacity 0.2s ease;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div id="vanta-bg" class="vanta-bg"></div>

    <!-- Navigation -->
    <nav class="bg-white shadow-sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <i data-feather="tool" class="h-8 w-8 text-primary"></i>
                        <span class="ml-2 text-xl font-bold text-gray-800">CompletionFlow Pro</span>
                    </div>
                    <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
                        <a href="index.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
                        <a href="documents.html" class="active-tab inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Documents</a>
                        <a href="workflows.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Workflows</a>
                        <a href="checklists.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Checklists</a>
                        <a href="punchlists.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Punch Lists</a>
                        <a href="assets.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Assets</a>
                        <a href="reports.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Reports</a>
                        <a href="collaboration.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Collaboration</a>
                    </div>
                </div>
                <div class="hidden sm:ml-6 sm:flex sm:items-center">
                    <button class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none">
                        <i data-feather="bell" class="h-6 w-6"></i>
                    </button>
                    <div class="ml-3 relative">
                        <div>
                            <button class="flex text-sm rounded-full focus:outline-none">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/technology/200x200/5" alt="">
                            </button>
                        </div>
                    </div>
                </div>
                <div class="-mr-2 flex items-center sm:hidden">
                    <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none">
                        <i data-feather="menu" class="h-6 w-6"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
        <div class="flex justify-between items-center mb-8">
            <div>
                <h1 class="text-3xl font-bold text-gray-800">Document Management</h1>
                <p class="mt-2 text-gray-600">Centralized repository for all project documents</p>
            </div>
            <button class="bg-primary text-white px-4 py-2 rounded-md hover:bg-primary-600 flex items-center">
                <i data-feather="upload" class="h-4 w-4 mr-2"></i>
                Upload Document
            </button>
        </div>

        <!-- Search and Filter -->
        <div class="bg-white shadow rounded-lg p-4 mb-8">
            <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
                <div class="relative flex-1">
                    <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                        <i data-feather="search" class="h-5 w-5 text-gray-400"></i>
                    </div>
                    <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm" placeholder="Search documents...">
                </div>
                <div class="flex space-x-2">
                    <select class="block w-full pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md">
                        <option>All Categories</option>
                        <option>Check Sheets</option>
                        <option>ITRs</option>
                        <option>Certificates</option>
                        <option>Reports</option>
                        <option>Drawings</option>
                    </select>
                    <select class="block w-full pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md">
                        <option>All Status</option>
                        <option>Draft</option>
                        <option>Pending Approval</option>
                        <option>Approved</option>
                        <option>Rejected</option>
                    </select>
                </div>
            </div>
        </div>

        <!-- Document List -->
        <div class="grid grid-cols-1 gap-4">
            <!-- Document Card -->
            <div class="bg-white shadow rounded-lg overflow-hidden document-card">
                <div class="p-4 sm:p-6">
                    <div class="flex items-start justify-between">
                        <div class="flex-1 min-w-0">
                            <div class="flex items-center">
                                <i data-feather="file-text" class="h-5 w-5 text-primary mr-2"></i>
                                <h3 class="text-lg font-medium text-gray-900 truncate">Pump P-101 FAT Checklist</h3>
                            </div>
                            <div class="mt-1 flex flex-col sm:flex-row sm:flex-wrap sm:mt-0 sm:space-x-6">
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="folder" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Check Sheets
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="tag" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Mechanical Completion
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Updated 3 hours ago
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="user" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    John Smith
                                </div>
                            </div>
                        </div>
                        <div class="ml-4 flex-shrink-0 flex document-actions">
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="download" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="share-2" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="more-vertical" class="h-4 w-4"></i>
                            </button>
                        </div>
                    </div>
                    <div class="mt-4 flex items-center justify-between">
                        <div class="flex items-center">
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                <i data-feather="check-circle" class="mr-1 h-3 w-3"></i>
                                Approved
                            </span>
                            <span class="ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                                v1.2
                            </span>
                        </div>
                        <div class="flex items-center text-sm text-gray-500">
                            <i data-feather="hard-drive" class="mr-1 h-4 w-4"></i>
                            2.4 MB PDF
                        </div>
                    </div>
                </div>
            </div>

            <!-- Document Card -->
            <div class="bg-white shadow rounded-lg overflow-hidden document-card">
                <div class="p-4 sm:p-6">
                    <div class="flex items-start justify-between">
                        <div class="flex-1 min-w-0">
                            <div class="flex items-center">
                                <i data-feather="file" class="h-5 w-5 text-yellow-500 mr-2"></i>
                                <h3 class="text-lg font-medium text-gray-900 truncate">Vessel V-203 Inspection Report</h3>
                            </div>
                            <div class="mt-1 flex flex-col sm:flex-row sm:flex-wrap sm:mt-0 sm:space-x-6">
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="folder" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Reports
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="tag" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Pre-Commissioning
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Updated 1 day ago
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="user" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Sarah Johnson
                                </div>
                            </div>
                        </div>
                        <div class="ml-4 flex-shrink-0 flex document-actions">
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="download" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="share-2" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="more-vertical" class="h-4 w-4"></i>
                            </button>
                        </div>
                    </div>
                    <div class="mt-4 flex items-center justify-between">
                        <div class="flex items-center">
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">
                                <i data-feather="alert-circle" class="mr-1 h-3 w-3"></i>
                                Pending Approval
                            </span>
                            <span class="ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                                v0.4
                            </span>
                        </div>
                        <div class="flex items-center text-sm text-gray-500">
                            <i data-feather="hard-drive" class="mr-1 h-4 w-4"></i>
                            5.1 MB PDF
                        </div>
                    </div>
                </div>
            </div>

            <!-- Document Card -->
            <div class="bg-white shadow rounded-lg overflow-hidden document-card">
                <div class="p-4 sm:p-6">
                    <div class="flex items-start justify-between">
                        <div class="flex-1 min-w-0">
                            <div class="flex items-center">
                                <i data-feather="file-text" class="h-5 w-5 text-green-500 mr-2"></i>
                                <h3 class="text-lg font-medium text-gray-900 truncate">Compressor C-501 ITR 3.1</h3>
                            </div>
                            <div class="mt-1 flex flex-col sm:flex-row sm:flex-wrap sm:mt-0 sm:space-x-6">
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="folder" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    ITRs
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="tag" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Commissioning
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Updated 2 days ago
                                </div>
                                <div class="mt-2 flex items-center text-sm text-gray-500">
                                    <i data-feather="user" class="flex-shrink-0 mr-1.5 h-4 w-4 text-gray-400"></i>
                                    Michael Chen
                                </div>
                            </div>
                        </div>
                        <div class="ml-4 flex-shrink-0 flex document-actions">
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="download" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="share-2" class="h-4 w-4"></i>
                            </button>
                            <button class="ml-1 bg-gray-100 p-2 rounded-full text-gray-500 hover:text-gray-700">
                                <i data-feather="more-vertical" class="h-4 w-4"></i>
                            </button>
                        </div>
                    </div>
                    <div class="mt-4 flex items-center justify-between">
                        <div class="flex items-center">
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                <i data-feather="check-circle" class="mr-1 h-3 w-3"></i>
                                Approved
                            </span>
                            <span class="ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                                v2.0
                            </span>
                        </div>
                        <div class="flex items-center text-sm text-gray-500">
                            <i data-feather="hard-drive" class="mr-1 h-4 w-4"></i>
                            3.7 MB PDF
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Pagination -->
        <div class="bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6 mt-8 rounded-b-lg">
            <div class="flex-1 flex justify-between sm:hidden">
                <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    Previous
                </a>
                <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    Next
                </a>
            </div>
            <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
                <div>
                    <p class="text-sm text-gray-700">
                        Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">24</span> documents
                    </p>
                </div>
                <div>
                    <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
                        <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                            <span class="sr-only">Previous</span>
                            <i data-feather="chevron-left" class="h-5 w-5"></i>
                        </a>
                        <a href="#" aria-current="page" class="z-10 bg-primary-50 border-primary-500 text-primary-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
                            1
                        </a>
                        <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
                            2
                        </a>
                        <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
                            3
                        </a>
                        <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
                            ...
                        </span>
                        <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
                            8
                        </a>
                        <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                            <span class="sr-only">Next</span>
                            <i data-feather="chevron-right" class="h-5 w-5"></i>
                        </a>
                    </nav>
                </div>
            </div>
        </div>
    </div>

    <script>
        feather.replace();
        VANTA.NET({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x3b82f6,
            backgroundColor: 0xf8fafc,
            points: 12.00,
            maxDistance: 25.00,
            spacing: 20.00
        });
    </script>
</body>
</html>