completionflow-pro / documents.html
alterzick's picture
Fitur Utama yang Wajib Ada
9173a27 verified
<!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>