imp8880 / index.html
dre2000x's picture
Create the pages for the next level down. - Initial Deployment
b7e40f5 verified
Raw History Blame Contribute Delete
31.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Documentation Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3B82F6',
secondary: '#10B981',
dark: '#1F2937',
light: '#F9FAFB',
danger: '#EF4444',
warning: '#F59E0B',
success: '#10B981',
}
}
}
}
</script>
<style>
.progress-bar {
height: 6px;
border-radius: 3px;
background-color: #E5E7EB;
overflow: hidden;
}
.progress-bar-fill {
height: 100%;
transition: width 0.5s ease;
}
.document-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.sidebar {
transition: all 0.3s ease;
}
.sidebar-collapsed {
width: 80px;
}
.sidebar-collapsed .sidebar-item-text {
display: none;
}
.sidebar-collapsed .sidebar-item {
justify-content: center;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-white shadow-md w-64 flex-shrink-0">
<div class="p-4 border-b border-gray-200 flex items-center justify-between">
<h1 class="text-xl font-bold text-primary flex items-center">
<i data-feather="file-text" class="mr-2"></i>
<span>FlexLIS Dashboard</span>
</h1>
<button id="sidebar-toggle" class="text-gray-500 hover:text-gray-700">
<i data-feather="chevron-left"></i>
</button>
</div>
<div class="p-4">
<div class="mb-6">
<h2 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Main Menu</h2>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md bg-primary-50 text-primary mb-1">
<i data-feather="home" class="mr-3 text-primary"></i>
<span class="sidebar-item-text">Dashboard</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="file" class="mr-3"></i>
<span class="sidebar-item-text">Documents</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="calendar" class="mr-3"></i>
<span class="sidebar-item-text">Timeline</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="users" class="mr-3"></i>
<span class="sidebar-item-text">Team</span>
</a>
</div>
<div>
<h2 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Categories</h2>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="code" class="mr-3"></i>
<span class="sidebar-item-text">Software Docs</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="shield" class="mr-3"></i>
<span class="sidebar-item-text">Risk Management</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="check-circle" class="mr-3"></i>
<span class="sidebar-item-text">Verification</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="clipboard" class="mr-3"></i>
<span class="sidebar-item-text">510(k)</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="file-text" class="mr-3"></i>
<span class="sidebar-item-text">SOPs</span>
</a>
<a href="#" class="sidebar-item flex items-center px-3 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-100 mb-1">
<i data-feather="alert-circle" class="mr-3"></i>
<span class="sidebar-item-text">Issues</span>
</a>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-auto">
<!-- Top Navigation -->
<header class="bg-white shadow-sm z-10">
<div class="px-6 py-4 flex items-center justify-between">
<div class="flex items-center">
<h2 class="text-lg font-semibold text-gray-800">Documentation Dashboard</h2>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search documents..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
<i data-feather="bell"></i>
</button>
<div class="flex items-center">
<img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full mr-2">
<span class="text-sm font-medium">Barkat</span>
</div>
</div>
</div>
</header>
<!-- Dashboard Content -->
<main class="p-6">
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6">
<div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-primary">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Total Documents</p>
<p class="text-2xl font-semibold text-gray-800">108</p>
</div>
<div class="p-3 rounded-full bg-primary-50 text-primary">
<i data-feather="file-text"></i>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-success">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Completed</p>
<p class="text-2xl font-semibold text-gray-800">45</p>
<p class="text-xs text-gray-500">42% completion</p>
</div>
<div class="p-3 rounded-full bg-green-50 text-success">
<i data-feather="check-circle"></i>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-warning">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">In Progress</p>
<p class="text-2xl font-semibold text-gray-800">38</p>
<p class="text-xs text-gray-500">35% in review</p>
</div>
<div class="p-3 rounded-full bg-yellow-50 text-warning">
<i data-feather="clock"></i>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border-l-4 border-danger">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500">Not Started</p>
<p class="text-2xl font-semibold text-gray-800">25</p>
<p class="text-xs text-gray-500">23% pending</p>
</div>
<div class="p-3 rounded-full bg-red-50 text-danger">
<i data-feather="alert-circle"></i>
</div>
</div>
</div>
</div>
<!-- Document Status Overview -->
<div class="bg-white p-6 rounded-lg shadow-sm mb-6">
<div class="flex items-center justify-between mb-4">
<h3 class="text-lg font-semibold text-gray-800">Document Status Overview</h3>
<div class="flex items-center space-x-2">
<button class="px-3 py-1 text-sm bg-primary-50 text-primary rounded-md flex items-center">
<i data-feather="filter" class="mr-1 w-4 h-4"></i>
Filter
</button>
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-600 rounded-md flex items-center">
<i data-feather="download" class="mr-1 w-4 h-4"></i>
Export
</button>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Serial No</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Document No</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Owner</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">% Completion</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ETA</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<!-- Sample rows - in a real app, you would loop through your data -->
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">1</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">PT0001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Project Schedule/Timeline</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Barkat</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Done</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="progress-bar">
<div class="progress-bar-fill bg-success" style="width: 100%"></div>
</div>
<span class="text-xs text-gray-500 mt-1">100%</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Done</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-primary hover:text-primary-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">3</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">SD0001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Software Device Description</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Barkat</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">In Progress</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="progress-bar">
<div class="progress-bar-fill bg-warning" style="width: 80%"></div>
</div>
<span class="text-xs text-gray-500 mt-1">80%</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">9/5/2025</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-primary hover:text-primary-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">5</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">SRS0001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Software Requirements Specification</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">NovinoAI</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">In Review</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="progress-bar">
<div class="progress-bar-fill bg-warning" style="width: 95%"></div>
</div>
<span class="text-xs text-gray-500 mt-1">95%</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Done</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-primary hover:text-primary-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">6</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">UND001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">FlexLIS-IMS User Needs</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">NovinoAI + Barkat</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Not Started</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="progress-bar">
<div class="progress-bar-fill bg-danger" style="width: 0%"></div>
</div>
<span class="text-xs text-gray-500 mt-1">0%</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">9/30/2025</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-primary hover:text-primary-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">12</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">SDS0001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Software Design Specifications</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">NovinoAI</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Needs Input</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="progress-bar">
<div class="progress-bar-fill bg-danger" style="width: 5%"></div>
</div>
<span class="text-xs text-gray-500 mt-1">5%</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">10/8/2025</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
<button class="text-primary hover:text-primary-700">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 flex items-center justify-between">
<div class="text-sm text-gray-500">
Showing <span class="font-medium">1</span> to <span class="font-medium">5</span> of <span class="font-medium">108</span> documents
</div>
<div class="flex space-x-2">
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
Previous
</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium bg-primary-50 text-primary">
1
</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
2
</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
3
</button>
<span class="px-3 py-1 text-sm text-gray-500">...</span>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
22
</button>
<button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
Next
</button>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-lg shadow-sm lg:col-span-2">
<div class="flex items-center justify-between mb-4">
<h3 class="text-lg font-semibold text-gray-800">Recent Updates</h3>
<button class="text-sm text-primary hover:text-primary-700">View All</button>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="p-2 rounded-full bg-green-50 text-success mr-3">
<i data-feather="check-circle" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">SRS0001 - Software Requirements Specification</p>
<p class="text-xs text-gray-500">Updated SRS and added SRS-26a [PR-20-W] and SRS-30a [PR-14-HW] for FDA recommended scanner and image data integrity warnings</p>
<p class="text-xs text-gray-400 mt-1">2 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-blue-50 text-primary mr-3">
<i data-feather="edit" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">PR0001 - FlexLIS-IMS Product Requirements</p>
<p class="text-xs text-gray-500">Updated PR entry for warnings and alerts</p>
<p class="text-xs text-gray-400 mt-1">5 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-yellow-50 text-warning mr-3">
<i data-feather="alert-circle" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">VP-005 - Clinical Study Protocol</p>
<p class="text-xs text-gray-500">Needs update after PWC testing for predicate protocol and FDA suggested changes</p>
<p class="text-xs text-gray-400 mt-1">1 day ago</p>
</div>
</div>
</div>
</div>
<!-- Upcoming Deadlines -->
<div class="bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center justify-between mb-4">
<h3 class="text-lg font-semibold text-gray-800">Upcoming Deadlines</h3>
<button class="text-sm text-primary hover:text-primary-700">View All</button>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="p-2 rounded-full bg-purple-50 text-purple-600 mr-3">
<i data-feather="calendar" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">VP-004 - Human Factors Testing</p>
<p class="text-xs text-gray-500">Due by Nov 17, 2025</p>
<div class="mt-1 flex items-center">
<div class="progress-bar w-full mr-2">
<div class="progress-bar-fill bg-danger" style="width: 0%"></div>
</div>
<span class="text-xs text-gray-500">0%</span>
</div>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-purple-50 text-purple-600 mr-3">
<i data-feather="calendar" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">SDS0001 - Software Design Specs</p>
<p class="text-xs text-gray-500">Due by Oct 8, 2025</p>
<div class="mt-1 flex items-center">
<div class="progress-bar w-full mr-2">
<div class="progress-bar-fill bg-danger" style="width: 5%"></div>
</div>
<span class="text-xs text-gray-500">5%</span>
</div>
</div>
</div>
<div class="flex items-start">
<div class="p-2 rounded-full bg-purple-50 text-purple-600 mr-3">
<i data-feather="calendar" class="w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">UND001 - User Needs</p>
<p class="text-xs text-gray-500">Due by Sep 30, 2025</p>
<div class="mt-1 flex items-center">
<div class="progress-bar w-full mr-2">
<div class="progress-bar-fill bg-danger" style="width: 0%"></div>
</div>
<span class="text-xs text-gray-500">0%</span>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
// Initialize AOS
AOS.init();
// Initialize Feather icons
feather.replace();
// Sidebar toggle functionality
document.getElementById('sidebar-toggle').addEventListener('click', function() {
const sidebar = document.querySelector('.sidebar');
sidebar.classList.toggle('sidebar-collapsed');
const icon = this.querySelector('i');
if (sidebar.classList.contains('sidebar-collapsed')) {
icon.setAttribute('data-feather', 'chevron-right');
} else {
icon.setAttribute('data-feather', 'chevron-left');
}
feather.replace();
});
// Progress animation (example)
document.querySelectorAll('.progress-bar-fill').forEach(bar => {
const width = bar.style.width;
bar.style.width = '0';
setTimeout(() => {
bar.style.width = width;
}, 100);
});
</script>
</body>
</html>