flyercreation / index.html
newdev2025's picture
Add 3 files
754f8c7 verified
Raw History Blame Contribute Delete
64.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlyerCraft - Professional Flyer Design Service</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.status-received { background-color: #E5E7EB; color: #4B5563; }
.status-evaluation { background-color: #93C5FD; color: #1E40AF; }
.status-assigned { background-color: #FCD34D; color: #92400E; }
.status-in-progress { background-color: #A5B4FC; color: #3730A3; }
.status-waiting-approval { background-color: #FCA5A5; color: #991B1B; }
.status-completed { background-color: #86EFAC; color: #166534; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.flyer-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.flyer-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.sidebar {
transition: all 0.3s ease;
}
.modal {
transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-enter {
opacity: 0;
transform: scale(0.95);
}
.modal-enter-active {
opacity: 1;
transform: scale(1);
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="bg-indigo-700 text-white shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-paint-brush text-2xl mr-2"></i>
<span class="text-xl font-bold">FlyerCreation</span>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-indigo-900">Dashboard</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Projects</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Team</a>
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Clients</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="p-1 rounded-full text-indigo-200 hover:text-white focus:outline-none">
<i class="fas fa-bell"></i>
</button>
<div class="ml-3 relative">
<div>
<button class="max-w-xs flex items-center text-sm rounded-full focus:outline-none">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</button>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button class="inline-flex items-center justify-center p-2 rounded-md text-indigo-200 hover:text-white hover:bg-indigo-600 focus:outline-none">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="flex">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 bg-white border-r border-gray-200">
<div class="h-0 flex-1 flex flex-col pt-5 pb-4 overflow-y-auto">
<div class="px-4">
<h2 class="text-lg font-medium text-gray-900">Project Management</h2>
</div>
<nav class="mt-5 flex-1 space-y-1 px-2">
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-white bg-indigo-700">
<i class="fas fa-tachometer-alt mr-3 text-indigo-300"></i>
Dashboard
</a>
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i class="fas fa-inbox mr-3 text-gray-400 group-hover:text-gray-500"></i>
New Requests
</a>
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i class="fas fa-users mr-3 text-gray-400 group-hover:text-gray-500"></i>
Clients
</a>
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i class="fas fa-user-friends mr-3 text-gray-400 group-hover:text-gray-500"></i>
Team
</a>
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i class="fas fa-chart-bar mr-3 text-gray-400 group-hover:text-gray-500"></i>
Reports
</a>
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i class="fas fa-cog mr-3 text-gray-400 group-hover:text-gray-500"></i>
Settings
</a>
</nav>
</div>
<div class="flex-shrink-0 flex border-t border-gray-200 p-4">
<div class="flex items-center">
<div>
<img class="inline-block h-9 w-9 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-700">John Doe</p>
<a href="#" class="text-xs font-medium text-gray-500 hover:text-gray-700">View profile</a>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="flex-1 overflow-auto">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<!-- Header -->
<div class="md:flex md:items-center md:justify-between mb-8">
<div class="flex-1 min-w-0">
<h1 class="text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate">Flyer Requests Dashboard</h1>
</div>
<div class="mt-4 flex md:mt-0 md:ml-4">
<button type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<i class="fas fa-filter mr-2"></i> Filter
</button>
<button type="button" onclick="openNewRequestModal()" class="ml-3 inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<i class="fas fa-plus mr-2"></i> New Request
</button>
</div>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8">
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
<i class="fas fa-inbox text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">New Requests</dt>
<dd>
<div class="text-lg font-medium text-gray-900">12</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
<i class="fas fa-tasks text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">In Progress</dt>
<dd>
<div class="text-lg font-medium text-gray-900">8</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-500 rounded-md p-3">
<i class="fas fa-clock text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Waiting Approval</dt>
<dd>
<div class="text-lg font-medium text-gray-900">5</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i class="fas fa-check-circle text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Completed</dt>
<dd>
<div class="text-lg font-medium text-gray-900">24</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
<!-- Projects Table -->
<div class="bg-white shadow overflow-hidden sm:rounded-lg mb-8">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">Recent Flyer Requests</h3>
<p class="mt-1 text-sm text-gray-500">All recent requests from your clients.</p>
</div>
<div class="bg-white overflow-hidden">
<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">Project ID</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Request Date</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Assigned To</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">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1024</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Jane Cooper</div>
<div class="text-sm text-gray-500">jane@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Michael Foster</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-in-progress">
<i class="fas fa-spinner animate-spin mr-1"></i> In Progress
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button onclick="openProjectDetails('FC-1024')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
<button onclick="openEditModal('FC-1024')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Kristin Watson</div>
<div class="text-sm text-gray-500">kristin@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 14, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Dries Vincent</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-waiting-approval">
<i class="fas fa-hourglass-half mr-1"></i> Waiting Approval
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button onclick="openProjectDetails('FC-1023')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
<button onclick="openEditModal('FC-1023')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1022</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Jacob Jones</div>
<div class="text-sm text-gray-500">jacob@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 13, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Dries Vincent</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-completed">
<i class="fas fa-check-circle mr-1"></i> Completed
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button onclick="openProjectDetails('FC-1022')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
<button onclick="openEditModal('FC-1022')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1021</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1498551172505-8eee7ad79f3e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Leslie Alexander</div>
<div class="text-sm text-gray-500">leslie@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 12, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Michael Foster</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-assigned">
<i class="fas fa-user-tag mr-1"></i> Assigned
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button onclick="openProjectDetails('FC-1021')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
<button onclick="openEditModal('FC-1021')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1020</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2.25&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Tim Cook</div>
<div class="text-sm text-gray-500">tim@example.com</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Lindsay Walton</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-evaluation">
<i class="fas fa-search mr-1"></i> Evaluation
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button onclick="openProjectDetails('FC-1020')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
<button onclick="openEditModal('FC-1020')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Client View Preview -->
<div class="bg-white shadow overflow-hidden sm:rounded-lg mb-8">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">Client View Preview</h3>
<p class="mt-1 text-sm text-gray-500">This is how your clients see their project status.</p>
</div>
<div class="px-4 py-5 sm:p-6">
<div class="max-w-3xl mx-auto bg-gray-50 rounded-lg p-6">
<div class="flex justify-between items-center mb-6">
<div>
<h2 class="text-2xl font-bold text-gray-800">Flyer Design Project</h2>
<p class="text-gray-600">Project ID: #FC-1024</p>
</div>
<div>
<span class="px-3 py-1 rounded-full text-sm font-medium status-in-progress">
<i class="fas fa-spinner animate-spin mr-1"></i> In Progress
</span>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-medium text-gray-900 mb-2">Project Details</h3>
<ul class="text-sm text-gray-600 space-y-1">
<li><strong>Client:</strong> Jane Cooper</li>
<li><strong>Request Date:</strong> May 15, 2023</li>
<li><strong>Designer:</strong> Michael Foster</li>
<li><strong>Last Update:</strong> May 18, 2023</li>
</ul>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-medium text-gray-900 mb-2">Project Timeline</h3>
<div class="space-y-3">
<div class="flex items-start">
<div class="flex-shrink-0 pt-0.5">
<div class="h-2 w-2 rounded-full bg-green-500"></div>
</div>
<div class="ml-3">
<p class="text-sm text-gray-600">Request received</p>
<p class="text-xs text-gray-500">May 15, 2023</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 pt-0.5">
<div class="h-2 w-2 rounded-full bg-green-500"></div>
</div>
<div class="ml-3">
<p class="text-sm text-gray-600">Evaluation completed</p>
<p class="text-xs text-gray-500">May 16, 2023</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 pt-0.5">
<div class="h-2 w-2 rounded-full bg-blue-500"></div>
</div>
<div class="ml-3">
<p class="text-sm text-gray-600">Design in progress</p>
<p class="text-xs text-gray-500">May 17, 2023</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 pt-0.5">
<div class="h-2 w-2 rounded-full bg-gray-300"></div>
</div>
<div class="ml-3">
<p class="text-sm text-gray-600">Waiting for approval</p>
<p class="text-xs text-gray-500">Pending</p>
</div>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-medium text-gray-900 mb-2">Project Files</h3>
<div class="space-y-2">
<div class="flex items-center justify-between p-2 border rounded">
<div class="flex items-center">
<i class="fas fa-file-pdf text-red-500 mr-2"></i>
<span class="text-sm">Initial_design.pdf</span>
</div>
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
<i class="fas fa-download"></i>
</button>
</div>
<div class="flex items-center justify-between p-2 border rounded">
<div class="flex items-center">
<i class="fas fa-file-image text-blue-500 mr-2"></i>
<span class="text-sm">Flyer_draft.jpg</span>
</div>
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
<i class="fas fa-download"></i>
</button>
</div>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow mb-6">
<h3 class="font-medium text-gray-900 mb-3">Latest Version Preview</h3>
<div class="border-2 border-dashed border-gray-300 rounded-lg p-8 flex items-center justify-center bg-gray-100">
<div class="text-center">
<i class="fas fa-image text-4xl text-gray-400 mb-2"></i>
<p class="text-gray-500">Flyer preview will appear here</p>
</div>
</div>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<h3 class="font-medium text-gray-900 mb-3">Provide Feedback</h3>
<textarea class="w-full border-gray-300 rounded-md shadow-sm focus:border-indigo-500 focus:ring-indigo-500" rows="3" placeholder="Enter your feedback here..."></textarea>
<div class="mt-3 flex justify-end">
<button type="button" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
Submit Feedback
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- New Request Modal -->
<div id="newRequestModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-3xl sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 sm:mx-0 sm:h-10 sm:w-10">
<i class="fas fa-plus text-indigo-600"></i>
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">New Flyer Request</h3>
<div class="mt-2">
<form class="space-y-4">
<div>
<label for="clientName" class="block text-sm font-medium text-gray-700">Client Name</label>
<input type="text" name="clientName" id="clientName" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
</div>
<div>
<label for="clientEmail" class="block text-sm font-medium text-gray-700">Client Email</label>
<input type="email" name="clientEmail" id="clientEmail" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
</div>
<div>
<label for="projectTitle" class="block text-sm font-medium text-gray-700">Project Title</label>
<input type="text" name="projectTitle" id="projectTitle" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
</div>
<div>
<label for="projectDescription" class="block text-sm font-medium text-gray-700">Project Description</label>
<textarea id="projectDescription" name="projectDescription" rows="3" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
</div>
<div>
<label for="projectFiles" class="block text-sm font-medium text-gray-700">Upload Files</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-gray-600">
<label for="file-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500">
<span>Upload a file</span>
<input id="file-upload" name="file-upload" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">PNG, JPG, PDF up to 10MB</p>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" onclick="submitNewRequest()" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">
Submit Request
</button>
<button type="button" onclick="closeNewRequestModal()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel
</button>
</div>
</div>
</div>
</div>
<!-- Edit Project Modal -->
<div id="editProjectModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 sm:mx-0 sm:h-10 sm:w-10">
<i class="fas fa-edit text-indigo-600"></i>
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">Edit Project <span id="editProjectId"></span></h3>
<div class="mt-2">
<form class="space-y-4">
<div>
<label for="editStatus" class="block text-sm font-medium text-gray-700">Status</label>
<select id="editStatus" name="editStatus" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
<option value="received">Received</option>
<option value="evaluation">Evaluation</option>
<option value="assigned">Assigned</option>
<option value="in-progress">In Progress</option>
<option value="waiting-approval">Waiting Approval</option>
<option value="completed">Completed</option>
</select>
</div>
<div>
<label for="editAssignedTo" class="block text-sm font-medium text-gray-700">Assigned To</label>
<select id="editAssignedTo" name="editAssignedTo" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
<option value="">Unassigned</option>
<option value="1">Michael Foster</option>
<option value="2">Dries Vincent</option>
<option value="3">Lindsay Walton</option>
</select>
</div>
<div>
<label for="editNotes" class="block text-sm font-medium text-gray-700">Internal Notes</label>
<textarea id="editNotes" name="editNotes" rows="3" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"></textarea>
</div>
<div>
<label class="block text-sm font-medium text-gray-700">Upload New Version</label>
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
<div class="space-y-1 text-center">
<div class="flex text-sm text-gray-600">
<label for="version-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500">
<span>Upload a file</span>
<input id="version-upload" name="version-upload" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">PNG, JPG, PDF up to 10MB</p>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" onclick="saveProjectChanges()" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">
Save Changes
</button>
<button type="button" onclick="closeEditModal()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel
</button>
</div>
</div>
</div>
</div>
<!-- Project Details Modal -->
<div id="projectDetailsModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<div class="flex justify-between items-center">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">Project Details: <span id="projectDetailsId"></span></h3>
<div>
<span id="projectDetailsStatus" class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full"></span>
</div>
</div>
<div class="mt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-3">
<label class="block text-sm font-medium text-gray-700">Client</label>
<div class="mt-1 flex items-center">
<img id="projectDetailsClientImg" class="h-8 w-8 rounded-full mr-2" src="" alt="">
<div>
<p id="projectDetailsClientName" class="text-sm text-gray-900"></p>
<p id="projectDetailsClientEmail" class="text-sm text-gray-500"></p>
</div>
</div>
</div>
<div class="sm:col-span-3">
<label class="block text-sm font-medium text-gray-700">Assigned To</label>
<div class="mt-1 flex items-center">
<img id="projectDetailsDesignerImg" class="h-8 w-8 rounded-full mr-2" src="" alt="">
<p id="projectDetailsDesignerName" class="text-sm text-gray-900"></p>
</div>
</div>
<div class="sm:col-span-3">
<label class="block text-sm font-medium text-gray-700">Request Date</label>
<p id="projectDetailsRequestDate" class="mt-1 text-sm text-gray-900"></p>
</div>
<div class="sm:col-span-3">
<label class="block text-sm font-medium text-gray-700">Last Update</label>
<p id="projectDetailsLastUpdate" class="mt-1 text-sm text-gray-900"></p>
</div>
<div class="sm:col-span-6">
<label class="block text-sm font-medium text-gray-700">Project Description</label>
<p id="projectDetailsDescription" class="mt-1 text-sm text-gray-900"></p>
</div>
<div class="sm:col-span-6">
<label class="block text-sm font-medium text-gray-700">Project Files</label>
<div id="projectDetailsFiles" class="mt-2 space-y-2">
<!-- Files will be added here dynamically -->
</div>
</div>
<div class="sm:col-span-6">
<label class="block text-sm font-medium text-gray-700">Client Link</label>
<div class="mt-1 flex rounded-md shadow-sm">
<span class="inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 text-gray-500 text-sm">
<i class="fas fa-link"></i>
</span>
<input type="text" id="projectDetailsClientLink" readonly class="flex-1 min-w-0 block w-full px-3 py-2 rounded-none rounded-r-md border-gray-300 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border">
<button onclick="copyClientLink()" class="ml-2 inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<i class="fas fa-copy mr-1"></i> Copy
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" onclick="closeProjectDetails()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Close
</button>
</div>
</div>
</div>
</div>
<script>
// Modal functions
function openNewRequestModal() {
document.getElementById('newRequestModal').classList.remove('hidden');
}
function closeNewRequestModal() {
document.getElementById('newRequestModal').classList.add('hidden');
}
function submitNewRequest() {
// Here you would normally submit the form data to your backend
alert('New request submitted!');
closeNewRequestModal();
}
function openEditModal(projectId) {
document.getElementById('editProjectId').textContent = projectId;
// Here you would normally fetch the project data from your backend
// and populate the form fields
document.getElementById('editProjectModal').classList.remove('hidden');
}
function closeEditModal() {
document.getElementById('editProjectModal').classList.add('hidden');
}
function saveProjectChanges() {
// Here you would normally save the changes to your backend
alert('Changes saved!');
closeEditModal();
}
function openProjectDetails(projectId) {
document.getElementById('projectDetailsId').textContent = projectId;
// Here you would normally fetch the project details from your backend
// For demo purposes, we're using mock data
const mockData = {
clientImg: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60',
clientName: 'Jane Cooper',
clientEmail: 'jane@example.com',
designerImg: 'https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80',
designerName: 'Michael Foster',
requestDate: 'May 15, 2023',
lastUpdate: 'May 18, 2023',
description: 'Design a promotional flyer for our summer sale event. The flyer should include our logo, sale dates (June 1-15), and highlight key products with 20-50% discounts.',
status: 'in-progress',
files: [
{name: 'Initial_design.pdf', type: 'pdf'},
{name: 'Flyer_draft.jpg', type: 'image'},
{name: 'Brand_guidelines.pdf', type: 'pdf'}
],
clientLink: 'https://flyercraft.com/projects/FC-1024?token=abc123xyz'
};
document.getElementById('projectDetailsClientImg').src = mockData.clientImg;
document.getElementById('projectDetailsClientName').textContent = mockData.clientName;
document.getElementById('projectDetailsClientEmail').textContent = mockData.clientEmail;
document.getElementById('projectDetailsDesignerImg').src = mockData.designerImg;
document.getElementById('projectDetailsDesignerName').textContent = mockData.designerName;
document.getElementById('projectDetailsRequestDate').textContent = mockData.requestDate;
document.getElementById('projectDetailsLastUpdate').textContent = mockData.lastUpdate;
document.getElementById('projectDetailsDescription').textContent = mockData.description;
document.getElementById('projectDetailsClientLink').value = mockData.clientLink;
// Set status with appropriate class
const statusElement = document.getElementById('projectDetailsStatus');
statusElement.textContent = 'In Progress';
statusElement.className = 'px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-in-progress';
statusElement.innerHTML = '<i class="fas fa-spinner animate-spin mr-1"></i> In Progress';
// Add files
const filesContainer = document.getElementById('projectDetailsFiles');
filesContainer.innerHTML = '';
mockData.files.forEach(file => {
const fileElement = document.createElement('div');
fileElement.className = 'flex items-center justify-between p-2 border rounded';
let iconClass, iconColor;
if (file.type === 'pdf') {
iconClass = 'fa-file-pdf';
iconColor = 'text-red-500';
} else if (file.type === 'image') {
iconClass = 'fa-file-image';
iconColor = 'text-blue-500';
} else {
iconClass = 'fa-file';
iconColor = 'text-gray-500';
}
fileElement.innerHTML = `
<div class="flex items-center">
<i class="fas ${iconClass} ${iconColor} mr-2"></i>
<span class="text-sm">${file.name}</span>
</div>
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
<i class="fas fa-download"></i>
</button>
`;
filesContainer.appendChild(fileElement);
});
document.getElementById('projectDetailsModal').classList.remove('hidden');
}
function closeProjectDetails() {
document.getElementById('projectDetailsModal').classList.add('hidden');
}
function copyClientLink() {
const linkInput = document.getElementById('projectDetailsClientLink');
linkInput.select();
document.execCommand('copy');
alert('Client link copied to clipboard!');
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=newdev2025/flyercreation" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>