Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +893 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: flyercreation
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,893 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>FlyerCraft - Professional Flyer Design Service</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.status-received { background-color: #E5E7EB; color: #4B5563; }
|
| 11 |
+
.status-evaluation { background-color: #93C5FD; color: #1E40AF; }
|
| 12 |
+
.status-assigned { background-color: #FCD34D; color: #92400E; }
|
| 13 |
+
.status-in-progress { background-color: #A5B4FC; color: #3730A3; }
|
| 14 |
+
.status-waiting-approval { background-color: #FCA5A5; color: #991B1B; }
|
| 15 |
+
.status-completed { background-color: #86EFAC; color: #166534; }
|
| 16 |
+
|
| 17 |
+
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
|
| 18 |
+
@keyframes pulse {
|
| 19 |
+
0%, 100% { opacity: 1; }
|
| 20 |
+
50% { opacity: 0.5; }
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.flyer-card {
|
| 24 |
+
transition: all 0.3s ease;
|
| 25 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 26 |
+
}
|
| 27 |
+
.flyer-card:hover {
|
| 28 |
+
transform: translateY(-2px);
|
| 29 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.sidebar {
|
| 33 |
+
transition: all 0.3s ease;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.modal {
|
| 37 |
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
| 38 |
+
}
|
| 39 |
+
.modal-enter {
|
| 40 |
+
opacity: 0;
|
| 41 |
+
transform: scale(0.95);
|
| 42 |
+
}
|
| 43 |
+
.modal-enter-active {
|
| 44 |
+
opacity: 1;
|
| 45 |
+
transform: scale(1);
|
| 46 |
+
}
|
| 47 |
+
</style>
|
| 48 |
+
</head>
|
| 49 |
+
<body class="bg-gray-50 font-sans">
|
| 50 |
+
<!-- Navigation -->
|
| 51 |
+
<nav class="bg-indigo-700 text-white shadow-lg">
|
| 52 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 53 |
+
<div class="flex justify-between h-16 items-center">
|
| 54 |
+
<div class="flex items-center">
|
| 55 |
+
<div class="flex-shrink-0 flex items-center">
|
| 56 |
+
<i class="fas fa-paint-brush text-2xl mr-2"></i>
|
| 57 |
+
<span class="text-xl font-bold">FlyerCreation</span>
|
| 58 |
+
</div>
|
| 59 |
+
<div class="hidden md:block">
|
| 60 |
+
<div class="ml-10 flex items-baseline space-x-4">
|
| 61 |
+
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-indigo-900">Dashboard</a>
|
| 62 |
+
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Projects</a>
|
| 63 |
+
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Team</a>
|
| 64 |
+
<a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Clients</a>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="hidden md:block">
|
| 69 |
+
<div class="ml-4 flex items-center md:ml-6">
|
| 70 |
+
<button class="p-1 rounded-full text-indigo-200 hover:text-white focus:outline-none">
|
| 71 |
+
<i class="fas fa-bell"></i>
|
| 72 |
+
</button>
|
| 73 |
+
<div class="ml-3 relative">
|
| 74 |
+
<div>
|
| 75 |
+
<button class="max-w-xs flex items-center text-sm rounded-full focus:outline-none">
|
| 76 |
+
<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="">
|
| 77 |
+
</button>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
</div>
|
| 82 |
+
<div class="-mr-2 flex md:hidden">
|
| 83 |
+
<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">
|
| 84 |
+
<i class="fas fa-bars"></i>
|
| 85 |
+
</button>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
</nav>
|
| 90 |
+
|
| 91 |
+
<!-- Main Content -->
|
| 92 |
+
<div class="flex">
|
| 93 |
+
<!-- Sidebar -->
|
| 94 |
+
<div class="hidden md:flex md:flex-shrink-0">
|
| 95 |
+
<div class="flex flex-col w-64 bg-white border-r border-gray-200">
|
| 96 |
+
<div class="h-0 flex-1 flex flex-col pt-5 pb-4 overflow-y-auto">
|
| 97 |
+
<div class="px-4">
|
| 98 |
+
<h2 class="text-lg font-medium text-gray-900">Project Management</h2>
|
| 99 |
+
</div>
|
| 100 |
+
<nav class="mt-5 flex-1 space-y-1 px-2">
|
| 101 |
+
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-white bg-indigo-700">
|
| 102 |
+
<i class="fas fa-tachometer-alt mr-3 text-indigo-300"></i>
|
| 103 |
+
Dashboard
|
| 104 |
+
</a>
|
| 105 |
+
<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">
|
| 106 |
+
<i class="fas fa-inbox mr-3 text-gray-400 group-hover:text-gray-500"></i>
|
| 107 |
+
New Requests
|
| 108 |
+
</a>
|
| 109 |
+
<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">
|
| 110 |
+
<i class="fas fa-users mr-3 text-gray-400 group-hover:text-gray-500"></i>
|
| 111 |
+
Clients
|
| 112 |
+
</a>
|
| 113 |
+
<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">
|
| 114 |
+
<i class="fas fa-user-friends mr-3 text-gray-400 group-hover:text-gray-500"></i>
|
| 115 |
+
Team
|
| 116 |
+
</a>
|
| 117 |
+
<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">
|
| 118 |
+
<i class="fas fa-chart-bar mr-3 text-gray-400 group-hover:text-gray-500"></i>
|
| 119 |
+
Reports
|
| 120 |
+
</a>
|
| 121 |
+
<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">
|
| 122 |
+
<i class="fas fa-cog mr-3 text-gray-400 group-hover:text-gray-500"></i>
|
| 123 |
+
Settings
|
| 124 |
+
</a>
|
| 125 |
+
</nav>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="flex-shrink-0 flex border-t border-gray-200 p-4">
|
| 128 |
+
<div class="flex items-center">
|
| 129 |
+
<div>
|
| 130 |
+
<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="">
|
| 131 |
+
</div>
|
| 132 |
+
<div class="ml-3">
|
| 133 |
+
<p class="text-sm font-medium text-gray-700">John Doe</p>
|
| 134 |
+
<a href="#" class="text-xs font-medium text-gray-500 hover:text-gray-700">View profile</a>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<!-- Main Content Area -->
|
| 142 |
+
<div class="flex-1 overflow-auto">
|
| 143 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
|
| 144 |
+
<!-- Header -->
|
| 145 |
+
<div class="md:flex md:items-center md:justify-between mb-8">
|
| 146 |
+
<div class="flex-1 min-w-0">
|
| 147 |
+
<h1 class="text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate">Flyer Requests Dashboard</h1>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="mt-4 flex md:mt-0 md:ml-4">
|
| 150 |
+
<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">
|
| 151 |
+
<i class="fas fa-filter mr-2"></i> Filter
|
| 152 |
+
</button>
|
| 153 |
+
<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">
|
| 154 |
+
<i class="fas fa-plus mr-2"></i> New Request
|
| 155 |
+
</button>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
|
| 159 |
+
<!-- Stats Cards -->
|
| 160 |
+
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8">
|
| 161 |
+
<div class="bg-white overflow-hidden shadow rounded-lg">
|
| 162 |
+
<div class="px-4 py-5 sm:p-6">
|
| 163 |
+
<div class="flex items-center">
|
| 164 |
+
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
|
| 165 |
+
<i class="fas fa-inbox text-white"></i>
|
| 166 |
+
</div>
|
| 167 |
+
<div class="ml-5 w-0 flex-1">
|
| 168 |
+
<dl>
|
| 169 |
+
<dt class="text-sm font-medium text-gray-500 truncate">New Requests</dt>
|
| 170 |
+
<dd>
|
| 171 |
+
<div class="text-lg font-medium text-gray-900">12</div>
|
| 172 |
+
</dd>
|
| 173 |
+
</dl>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="bg-white overflow-hidden shadow rounded-lg">
|
| 179 |
+
<div class="px-4 py-5 sm:p-6">
|
| 180 |
+
<div class="flex items-center">
|
| 181 |
+
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
|
| 182 |
+
<i class="fas fa-tasks text-white"></i>
|
| 183 |
+
</div>
|
| 184 |
+
<div class="ml-5 w-0 flex-1">
|
| 185 |
+
<dl>
|
| 186 |
+
<dt class="text-sm font-medium text-gray-500 truncate">In Progress</dt>
|
| 187 |
+
<dd>
|
| 188 |
+
<div class="text-lg font-medium text-gray-900">8</div>
|
| 189 |
+
</dd>
|
| 190 |
+
</dl>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
<div class="bg-white overflow-hidden shadow rounded-lg">
|
| 196 |
+
<div class="px-4 py-5 sm:p-6">
|
| 197 |
+
<div class="flex items-center">
|
| 198 |
+
<div class="flex-shrink-0 bg-red-500 rounded-md p-3">
|
| 199 |
+
<i class="fas fa-clock text-white"></i>
|
| 200 |
+
</div>
|
| 201 |
+
<div class="ml-5 w-0 flex-1">
|
| 202 |
+
<dl>
|
| 203 |
+
<dt class="text-sm font-medium text-gray-500 truncate">Waiting Approval</dt>
|
| 204 |
+
<dd>
|
| 205 |
+
<div class="text-lg font-medium text-gray-900">5</div>
|
| 206 |
+
</dd>
|
| 207 |
+
</dl>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
<div class="bg-white overflow-hidden shadow rounded-lg">
|
| 213 |
+
<div class="px-4 py-5 sm:p-6">
|
| 214 |
+
<div class="flex items-center">
|
| 215 |
+
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
|
| 216 |
+
<i class="fas fa-check-circle text-white"></i>
|
| 217 |
+
</div>
|
| 218 |
+
<div class="ml-5 w-0 flex-1">
|
| 219 |
+
<dl>
|
| 220 |
+
<dt class="text-sm font-medium text-gray-500 truncate">Completed</dt>
|
| 221 |
+
<dd>
|
| 222 |
+
<div class="text-lg font-medium text-gray-900">24</div>
|
| 223 |
+
</dd>
|
| 224 |
+
</dl>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
|
| 231 |
+
<!-- Projects Table -->
|
| 232 |
+
<div class="bg-white shadow overflow-hidden sm:rounded-lg mb-8">
|
| 233 |
+
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
|
| 234 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900">Recent Flyer Requests</h3>
|
| 235 |
+
<p class="mt-1 text-sm text-gray-500">All recent requests from your clients.</p>
|
| 236 |
+
</div>
|
| 237 |
+
<div class="bg-white overflow-hidden">
|
| 238 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 239 |
+
<thead class="bg-gray-50">
|
| 240 |
+
<tr>
|
| 241 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project ID</th>
|
| 242 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Client</th>
|
| 243 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Request Date</th>
|
| 244 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Assigned To</th>
|
| 245 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 246 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
|
| 247 |
+
</tr>
|
| 248 |
+
</thead>
|
| 249 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 250 |
+
<tr class="hover:bg-gray-50">
|
| 251 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1024</td>
|
| 252 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 253 |
+
<div class="flex items-center">
|
| 254 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 255 |
+
<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="">
|
| 256 |
+
</div>
|
| 257 |
+
<div class="ml-4">
|
| 258 |
+
<div class="text-sm font-medium text-gray-900">Jane Cooper</div>
|
| 259 |
+
<div class="text-sm text-gray-500">jane@example.com</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
</td>
|
| 263 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td>
|
| 264 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 265 |
+
<div class="flex items-center">
|
| 266 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 267 |
+
<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="">
|
| 268 |
+
</div>
|
| 269 |
+
<div class="ml-4">
|
| 270 |
+
<div class="text-sm font-medium text-gray-900">Michael Foster</div>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
</td>
|
| 274 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 275 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-in-progress">
|
| 276 |
+
<i class="fas fa-spinner animate-spin mr-1"></i> In Progress
|
| 277 |
+
</span>
|
| 278 |
+
</td>
|
| 279 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 280 |
+
<button onclick="openProjectDetails('FC-1024')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
|
| 281 |
+
<button onclick="openEditModal('FC-1024')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
|
| 282 |
+
</td>
|
| 283 |
+
</tr>
|
| 284 |
+
<tr class="hover:bg-gray-50">
|
| 285 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1023</td>
|
| 286 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 287 |
+
<div class="flex items-center">
|
| 288 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 289 |
+
<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="">
|
| 290 |
+
</div>
|
| 291 |
+
<div class="ml-4">
|
| 292 |
+
<div class="text-sm font-medium text-gray-900">Kristin Watson</div>
|
| 293 |
+
<div class="text-sm text-gray-500">kristin@example.com</div>
|
| 294 |
+
</div>
|
| 295 |
+
</div>
|
| 296 |
+
</td>
|
| 297 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 14, 2023</td>
|
| 298 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 299 |
+
<div class="flex items-center">
|
| 300 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 301 |
+
<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="">
|
| 302 |
+
</div>
|
| 303 |
+
<div class="ml-4">
|
| 304 |
+
<div class="text-sm font-medium text-gray-900">Dries Vincent</div>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
</td>
|
| 308 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 309 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-waiting-approval">
|
| 310 |
+
<i class="fas fa-hourglass-half mr-1"></i> Waiting Approval
|
| 311 |
+
</span>
|
| 312 |
+
</td>
|
| 313 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 314 |
+
<button onclick="openProjectDetails('FC-1023')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
|
| 315 |
+
<button onclick="openEditModal('FC-1023')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
|
| 316 |
+
</td>
|
| 317 |
+
</tr>
|
| 318 |
+
<tr class="hover:bg-gray-50">
|
| 319 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1022</td>
|
| 320 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 321 |
+
<div class="flex items-center">
|
| 322 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 323 |
+
<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="">
|
| 324 |
+
</div>
|
| 325 |
+
<div class="ml-4">
|
| 326 |
+
<div class="text-sm font-medium text-gray-900">Jacob Jones</div>
|
| 327 |
+
<div class="text-sm text-gray-500">jacob@example.com</div>
|
| 328 |
+
</div>
|
| 329 |
+
</div>
|
| 330 |
+
</td>
|
| 331 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 13, 2023</td>
|
| 332 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 333 |
+
<div class="flex items-center">
|
| 334 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 335 |
+
<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="">
|
| 336 |
+
</div>
|
| 337 |
+
<div class="ml-4">
|
| 338 |
+
<div class="text-sm font-medium text-gray-900">Dries Vincent</div>
|
| 339 |
+
</div>
|
| 340 |
+
</div>
|
| 341 |
+
</td>
|
| 342 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 343 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-completed">
|
| 344 |
+
<i class="fas fa-check-circle mr-1"></i> Completed
|
| 345 |
+
</span>
|
| 346 |
+
</td>
|
| 347 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 348 |
+
<button onclick="openProjectDetails('FC-1022')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
|
| 349 |
+
<button onclick="openEditModal('FC-1022')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
|
| 350 |
+
</td>
|
| 351 |
+
</tr>
|
| 352 |
+
<tr class="hover:bg-gray-50">
|
| 353 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1021</td>
|
| 354 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 355 |
+
<div class="flex items-center">
|
| 356 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 357 |
+
<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="">
|
| 358 |
+
</div>
|
| 359 |
+
<div class="ml-4">
|
| 360 |
+
<div class="text-sm font-medium text-gray-900">Leslie Alexander</div>
|
| 361 |
+
<div class="text-sm text-gray-500">leslie@example.com</div>
|
| 362 |
+
</div>
|
| 363 |
+
</div>
|
| 364 |
+
</td>
|
| 365 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 12, 2023</td>
|
| 366 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 367 |
+
<div class="flex items-center">
|
| 368 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 369 |
+
<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="">
|
| 370 |
+
</div>
|
| 371 |
+
<div class="ml-4">
|
| 372 |
+
<div class="text-sm font-medium text-gray-900">Michael Foster</div>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</td>
|
| 376 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 377 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-assigned">
|
| 378 |
+
<i class="fas fa-user-tag mr-1"></i> Assigned
|
| 379 |
+
</span>
|
| 380 |
+
</td>
|
| 381 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 382 |
+
<button onclick="openProjectDetails('FC-1021')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
|
| 383 |
+
<button onclick="openEditModal('FC-1021')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
|
| 384 |
+
</td>
|
| 385 |
+
</tr>
|
| 386 |
+
<tr class="hover:bg-gray-50">
|
| 387 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#FC-1020</td>
|
| 388 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 389 |
+
<div class="flex items-center">
|
| 390 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 391 |
+
<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="">
|
| 392 |
+
</div>
|
| 393 |
+
<div class="ml-4">
|
| 394 |
+
<div class="text-sm font-medium text-gray-900">Tim Cook</div>
|
| 395 |
+
<div class="text-sm text-gray-500">tim@example.com</div>
|
| 396 |
+
</div>
|
| 397 |
+
</div>
|
| 398 |
+
</td>
|
| 399 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">May 10, 2023</td>
|
| 400 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 401 |
+
<div class="flex items-center">
|
| 402 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 403 |
+
<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="">
|
| 404 |
+
</div>
|
| 405 |
+
<div class="ml-4">
|
| 406 |
+
<div class="text-sm font-medium text-gray-900">Lindsay Walton</div>
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
</td>
|
| 410 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 411 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-evaluation">
|
| 412 |
+
<i class="fas fa-search mr-1"></i> Evaluation
|
| 413 |
+
</span>
|
| 414 |
+
</td>
|
| 415 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 416 |
+
<button onclick="openProjectDetails('FC-1020')" class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-eye"></i></button>
|
| 417 |
+
<button onclick="openEditModal('FC-1020')" class="text-yellow-600 hover:text-yellow-900"><i class="fas fa-edit"></i></button>
|
| 418 |
+
</td>
|
| 419 |
+
</tr>
|
| 420 |
+
</tbody>
|
| 421 |
+
</table>
|
| 422 |
+
</div>
|
| 423 |
+
</div>
|
| 424 |
+
|
| 425 |
+
<!-- Client View Preview -->
|
| 426 |
+
<div class="bg-white shadow overflow-hidden sm:rounded-lg mb-8">
|
| 427 |
+
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
|
| 428 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900">Client View Preview</h3>
|
| 429 |
+
<p class="mt-1 text-sm text-gray-500">This is how your clients see their project status.</p>
|
| 430 |
+
</div>
|
| 431 |
+
<div class="px-4 py-5 sm:p-6">
|
| 432 |
+
<div class="max-w-3xl mx-auto bg-gray-50 rounded-lg p-6">
|
| 433 |
+
<div class="flex justify-between items-center mb-6">
|
| 434 |
+
<div>
|
| 435 |
+
<h2 class="text-2xl font-bold text-gray-800">Flyer Design Project</h2>
|
| 436 |
+
<p class="text-gray-600">Project ID: #FC-1024</p>
|
| 437 |
+
</div>
|
| 438 |
+
<div>
|
| 439 |
+
<span class="px-3 py-1 rounded-full text-sm font-medium status-in-progress">
|
| 440 |
+
<i class="fas fa-spinner animate-spin mr-1"></i> In Progress
|
| 441 |
+
</span>
|
| 442 |
+
</div>
|
| 443 |
+
</div>
|
| 444 |
+
|
| 445 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
| 446 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
| 447 |
+
<h3 class="font-medium text-gray-900 mb-2">Project Details</h3>
|
| 448 |
+
<ul class="text-sm text-gray-600 space-y-1">
|
| 449 |
+
<li><strong>Client:</strong> Jane Cooper</li>
|
| 450 |
+
<li><strong>Request Date:</strong> May 15, 2023</li>
|
| 451 |
+
<li><strong>Designer:</strong> Michael Foster</li>
|
| 452 |
+
<li><strong>Last Update:</strong> May 18, 2023</li>
|
| 453 |
+
</ul>
|
| 454 |
+
</div>
|
| 455 |
+
|
| 456 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
| 457 |
+
<h3 class="font-medium text-gray-900 mb-2">Project Timeline</h3>
|
| 458 |
+
<div class="space-y-3">
|
| 459 |
+
<div class="flex items-start">
|
| 460 |
+
<div class="flex-shrink-0 pt-0.5">
|
| 461 |
+
<div class="h-2 w-2 rounded-full bg-green-500"></div>
|
| 462 |
+
</div>
|
| 463 |
+
<div class="ml-3">
|
| 464 |
+
<p class="text-sm text-gray-600">Request received</p>
|
| 465 |
+
<p class="text-xs text-gray-500">May 15, 2023</p>
|
| 466 |
+
</div>
|
| 467 |
+
</div>
|
| 468 |
+
<div class="flex items-start">
|
| 469 |
+
<div class="flex-shrink-0 pt-0.5">
|
| 470 |
+
<div class="h-2 w-2 rounded-full bg-green-500"></div>
|
| 471 |
+
</div>
|
| 472 |
+
<div class="ml-3">
|
| 473 |
+
<p class="text-sm text-gray-600">Evaluation completed</p>
|
| 474 |
+
<p class="text-xs text-gray-500">May 16, 2023</p>
|
| 475 |
+
</div>
|
| 476 |
+
</div>
|
| 477 |
+
<div class="flex items-start">
|
| 478 |
+
<div class="flex-shrink-0 pt-0.5">
|
| 479 |
+
<div class="h-2 w-2 rounded-full bg-blue-500"></div>
|
| 480 |
+
</div>
|
| 481 |
+
<div class="ml-3">
|
| 482 |
+
<p class="text-sm text-gray-600">Design in progress</p>
|
| 483 |
+
<p class="text-xs text-gray-500">May 17, 2023</p>
|
| 484 |
+
</div>
|
| 485 |
+
</div>
|
| 486 |
+
<div class="flex items-start">
|
| 487 |
+
<div class="flex-shrink-0 pt-0.5">
|
| 488 |
+
<div class="h-2 w-2 rounded-full bg-gray-300"></div>
|
| 489 |
+
</div>
|
| 490 |
+
<div class="ml-3">
|
| 491 |
+
<p class="text-sm text-gray-600">Waiting for approval</p>
|
| 492 |
+
<p class="text-xs text-gray-500">Pending</p>
|
| 493 |
+
</div>
|
| 494 |
+
</div>
|
| 495 |
+
</div>
|
| 496 |
+
</div>
|
| 497 |
+
|
| 498 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
| 499 |
+
<h3 class="font-medium text-gray-900 mb-2">Project Files</h3>
|
| 500 |
+
<div class="space-y-2">
|
| 501 |
+
<div class="flex items-center justify-between p-2 border rounded">
|
| 502 |
+
<div class="flex items-center">
|
| 503 |
+
<i class="fas fa-file-pdf text-red-500 mr-2"></i>
|
| 504 |
+
<span class="text-sm">Initial_design.pdf</span>
|
| 505 |
+
</div>
|
| 506 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
|
| 507 |
+
<i class="fas fa-download"></i>
|
| 508 |
+
</button>
|
| 509 |
+
</div>
|
| 510 |
+
<div class="flex items-center justify-between p-2 border rounded">
|
| 511 |
+
<div class="flex items-center">
|
| 512 |
+
<i class="fas fa-file-image text-blue-500 mr-2"></i>
|
| 513 |
+
<span class="text-sm">Flyer_draft.jpg</span>
|
| 514 |
+
</div>
|
| 515 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
|
| 516 |
+
<i class="fas fa-download"></i>
|
| 517 |
+
</button>
|
| 518 |
+
</div>
|
| 519 |
+
</div>
|
| 520 |
+
</div>
|
| 521 |
+
</div>
|
| 522 |
+
|
| 523 |
+
<div class="bg-white p-4 rounded-lg shadow mb-6">
|
| 524 |
+
<h3 class="font-medium text-gray-900 mb-3">Latest Version Preview</h3>
|
| 525 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-8 flex items-center justify-center bg-gray-100">
|
| 526 |
+
<div class="text-center">
|
| 527 |
+
<i class="fas fa-image text-4xl text-gray-400 mb-2"></i>
|
| 528 |
+
<p class="text-gray-500">Flyer preview will appear here</p>
|
| 529 |
+
</div>
|
| 530 |
+
</div>
|
| 531 |
+
</div>
|
| 532 |
+
|
| 533 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
| 534 |
+
<h3 class="font-medium text-gray-900 mb-3">Provide Feedback</h3>
|
| 535 |
+
<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>
|
| 536 |
+
<div class="mt-3 flex justify-end">
|
| 537 |
+
<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">
|
| 538 |
+
Submit Feedback
|
| 539 |
+
</button>
|
| 540 |
+
</div>
|
| 541 |
+
</div>
|
| 542 |
+
</div>
|
| 543 |
+
</div>
|
| 544 |
+
</div>
|
| 545 |
+
</div>
|
| 546 |
+
</div>
|
| 547 |
+
</div>
|
| 548 |
+
|
| 549 |
+
<!-- New Request Modal -->
|
| 550 |
+
<div id="newRequestModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
|
| 551 |
+
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
|
| 552 |
+
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
|
| 553 |
+
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span>
|
| 554 |
+
<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">
|
| 555 |
+
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
|
| 556 |
+
<div class="sm:flex sm:items-start">
|
| 557 |
+
<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">
|
| 558 |
+
<i class="fas fa-plus text-indigo-600"></i>
|
| 559 |
+
</div>
|
| 560 |
+
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
|
| 561 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">New Flyer Request</h3>
|
| 562 |
+
<div class="mt-2">
|
| 563 |
+
<form class="space-y-4">
|
| 564 |
+
<div>
|
| 565 |
+
<label for="clientName" class="block text-sm font-medium text-gray-700">Client Name</label>
|
| 566 |
+
<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">
|
| 567 |
+
</div>
|
| 568 |
+
|
| 569 |
+
<div>
|
| 570 |
+
<label for="clientEmail" class="block text-sm font-medium text-gray-700">Client Email</label>
|
| 571 |
+
<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">
|
| 572 |
+
</div>
|
| 573 |
+
|
| 574 |
+
<div>
|
| 575 |
+
<label for="projectTitle" class="block text-sm font-medium text-gray-700">Project Title</label>
|
| 576 |
+
<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">
|
| 577 |
+
</div>
|
| 578 |
+
|
| 579 |
+
<div>
|
| 580 |
+
<label for="projectDescription" class="block text-sm font-medium text-gray-700">Project Description</label>
|
| 581 |
+
<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>
|
| 582 |
+
</div>
|
| 583 |
+
|
| 584 |
+
<div>
|
| 585 |
+
<label for="projectFiles" class="block text-sm font-medium text-gray-700">Upload Files</label>
|
| 586 |
+
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
|
| 587 |
+
<div class="space-y-1 text-center">
|
| 588 |
+
<div class="flex text-sm text-gray-600">
|
| 589 |
+
<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">
|
| 590 |
+
<span>Upload a file</span>
|
| 591 |
+
<input id="file-upload" name="file-upload" type="file" class="sr-only">
|
| 592 |
+
</label>
|
| 593 |
+
<p class="pl-1">or drag and drop</p>
|
| 594 |
+
</div>
|
| 595 |
+
<p class="text-xs text-gray-500">PNG, JPG, PDF up to 10MB</p>
|
| 596 |
+
</div>
|
| 597 |
+
</div>
|
| 598 |
+
</div>
|
| 599 |
+
</form>
|
| 600 |
+
</div>
|
| 601 |
+
</div>
|
| 602 |
+
</div>
|
| 603 |
+
</div>
|
| 604 |
+
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
|
| 605 |
+
<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">
|
| 606 |
+
Submit Request
|
| 607 |
+
</button>
|
| 608 |
+
<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">
|
| 609 |
+
Cancel
|
| 610 |
+
</button>
|
| 611 |
+
</div>
|
| 612 |
+
</div>
|
| 613 |
+
</div>
|
| 614 |
+
</div>
|
| 615 |
+
|
| 616 |
+
<!-- Edit Project Modal -->
|
| 617 |
+
<div id="editProjectModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
|
| 618 |
+
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
|
| 619 |
+
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
|
| 620 |
+
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span>
|
| 621 |
+
<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">
|
| 622 |
+
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
|
| 623 |
+
<div class="sm:flex sm:items-start">
|
| 624 |
+
<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">
|
| 625 |
+
<i class="fas fa-edit text-indigo-600"></i>
|
| 626 |
+
</div>
|
| 627 |
+
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
|
| 628 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">Edit Project <span id="editProjectId"></span></h3>
|
| 629 |
+
<div class="mt-2">
|
| 630 |
+
<form class="space-y-4">
|
| 631 |
+
<div>
|
| 632 |
+
<label for="editStatus" class="block text-sm font-medium text-gray-700">Status</label>
|
| 633 |
+
<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">
|
| 634 |
+
<option value="received">Received</option>
|
| 635 |
+
<option value="evaluation">Evaluation</option>
|
| 636 |
+
<option value="assigned">Assigned</option>
|
| 637 |
+
<option value="in-progress">In Progress</option>
|
| 638 |
+
<option value="waiting-approval">Waiting Approval</option>
|
| 639 |
+
<option value="completed">Completed</option>
|
| 640 |
+
</select>
|
| 641 |
+
</div>
|
| 642 |
+
|
| 643 |
+
<div>
|
| 644 |
+
<label for="editAssignedTo" class="block text-sm font-medium text-gray-700">Assigned To</label>
|
| 645 |
+
<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">
|
| 646 |
+
<option value="">Unassigned</option>
|
| 647 |
+
<option value="1">Michael Foster</option>
|
| 648 |
+
<option value="2">Dries Vincent</option>
|
| 649 |
+
<option value="3">Lindsay Walton</option>
|
| 650 |
+
</select>
|
| 651 |
+
</div>
|
| 652 |
+
|
| 653 |
+
<div>
|
| 654 |
+
<label for="editNotes" class="block text-sm font-medium text-gray-700">Internal Notes</label>
|
| 655 |
+
<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>
|
| 656 |
+
</div>
|
| 657 |
+
|
| 658 |
+
<div>
|
| 659 |
+
<label class="block text-sm font-medium text-gray-700">Upload New Version</label>
|
| 660 |
+
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md">
|
| 661 |
+
<div class="space-y-1 text-center">
|
| 662 |
+
<div class="flex text-sm text-gray-600">
|
| 663 |
+
<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">
|
| 664 |
+
<span>Upload a file</span>
|
| 665 |
+
<input id="version-upload" name="version-upload" type="file" class="sr-only">
|
| 666 |
+
</label>
|
| 667 |
+
<p class="pl-1">or drag and drop</p>
|
| 668 |
+
</div>
|
| 669 |
+
<p class="text-xs text-gray-500">PNG, JPG, PDF up to 10MB</p>
|
| 670 |
+
</div>
|
| 671 |
+
</div>
|
| 672 |
+
</div>
|
| 673 |
+
</form>
|
| 674 |
+
</div>
|
| 675 |
+
</div>
|
| 676 |
+
</div>
|
| 677 |
+
</div>
|
| 678 |
+
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
|
| 679 |
+
<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">
|
| 680 |
+
Save Changes
|
| 681 |
+
</button>
|
| 682 |
+
<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">
|
| 683 |
+
Cancel
|
| 684 |
+
</button>
|
| 685 |
+
</div>
|
| 686 |
+
</div>
|
| 687 |
+
</div>
|
| 688 |
+
</div>
|
| 689 |
+
|
| 690 |
+
<!-- Project Details Modal -->
|
| 691 |
+
<div id="projectDetailsModal" class="fixed z-10 inset-0 overflow-y-auto hidden" aria-labelledby="modal-title" role="dialog" aria-modal="true">
|
| 692 |
+
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
|
| 693 |
+
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" aria-hidden="true"></div>
|
| 694 |
+
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span>
|
| 695 |
+
<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">
|
| 696 |
+
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
|
| 697 |
+
<div class="sm:flex sm:items-start">
|
| 698 |
+
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
|
| 699 |
+
<div class="flex justify-between items-center">
|
| 700 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">Project Details: <span id="projectDetailsId"></span></h3>
|
| 701 |
+
<div>
|
| 702 |
+
<span id="projectDetailsStatus" class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full"></span>
|
| 703 |
+
</div>
|
| 704 |
+
</div>
|
| 705 |
+
<div class="mt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
|
| 706 |
+
<div class="sm:col-span-3">
|
| 707 |
+
<label class="block text-sm font-medium text-gray-700">Client</label>
|
| 708 |
+
<div class="mt-1 flex items-center">
|
| 709 |
+
<img id="projectDetailsClientImg" class="h-8 w-8 rounded-full mr-2" src="" alt="">
|
| 710 |
+
<div>
|
| 711 |
+
<p id="projectDetailsClientName" class="text-sm text-gray-900"></p>
|
| 712 |
+
<p id="projectDetailsClientEmail" class="text-sm text-gray-500"></p>
|
| 713 |
+
</div>
|
| 714 |
+
</div>
|
| 715 |
+
</div>
|
| 716 |
+
|
| 717 |
+
<div class="sm:col-span-3">
|
| 718 |
+
<label class="block text-sm font-medium text-gray-700">Assigned To</label>
|
| 719 |
+
<div class="mt-1 flex items-center">
|
| 720 |
+
<img id="projectDetailsDesignerImg" class="h-8 w-8 rounded-full mr-2" src="" alt="">
|
| 721 |
+
<p id="projectDetailsDesignerName" class="text-sm text-gray-900"></p>
|
| 722 |
+
</div>
|
| 723 |
+
</div>
|
| 724 |
+
|
| 725 |
+
<div class="sm:col-span-3">
|
| 726 |
+
<label class="block text-sm font-medium text-gray-700">Request Date</label>
|
| 727 |
+
<p id="projectDetailsRequestDate" class="mt-1 text-sm text-gray-900"></p>
|
| 728 |
+
</div>
|
| 729 |
+
|
| 730 |
+
<div class="sm:col-span-3">
|
| 731 |
+
<label class="block text-sm font-medium text-gray-700">Last Update</label>
|
| 732 |
+
<p id="projectDetailsLastUpdate" class="mt-1 text-sm text-gray-900"></p>
|
| 733 |
+
</div>
|
| 734 |
+
|
| 735 |
+
<div class="sm:col-span-6">
|
| 736 |
+
<label class="block text-sm font-medium text-gray-700">Project Description</label>
|
| 737 |
+
<p id="projectDetailsDescription" class="mt-1 text-sm text-gray-900"></p>
|
| 738 |
+
</div>
|
| 739 |
+
|
| 740 |
+
<div class="sm:col-span-6">
|
| 741 |
+
<label class="block text-sm font-medium text-gray-700">Project Files</label>
|
| 742 |
+
<div id="projectDetailsFiles" class="mt-2 space-y-2">
|
| 743 |
+
<!-- Files will be added here dynamically -->
|
| 744 |
+
</div>
|
| 745 |
+
</div>
|
| 746 |
+
|
| 747 |
+
<div class="sm:col-span-6">
|
| 748 |
+
<label class="block text-sm font-medium text-gray-700">Client Link</label>
|
| 749 |
+
<div class="mt-1 flex rounded-md shadow-sm">
|
| 750 |
+
<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">
|
| 751 |
+
<i class="fas fa-link"></i>
|
| 752 |
+
</span>
|
| 753 |
+
<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">
|
| 754 |
+
<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">
|
| 755 |
+
<i class="fas fa-copy mr-1"></i> Copy
|
| 756 |
+
</button>
|
| 757 |
+
</div>
|
| 758 |
+
</div>
|
| 759 |
+
</div>
|
| 760 |
+
</div>
|
| 761 |
+
</div>
|
| 762 |
+
</div>
|
| 763 |
+
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
|
| 764 |
+
<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">
|
| 765 |
+
Close
|
| 766 |
+
</button>
|
| 767 |
+
</div>
|
| 768 |
+
</div>
|
| 769 |
+
</div>
|
| 770 |
+
</div>
|
| 771 |
+
|
| 772 |
+
<script>
|
| 773 |
+
// Modal functions
|
| 774 |
+
function openNewRequestModal() {
|
| 775 |
+
document.getElementById('newRequestModal').classList.remove('hidden');
|
| 776 |
+
}
|
| 777 |
+
|
| 778 |
+
function closeNewRequestModal() {
|
| 779 |
+
document.getElementById('newRequestModal').classList.add('hidden');
|
| 780 |
+
}
|
| 781 |
+
|
| 782 |
+
function submitNewRequest() {
|
| 783 |
+
// Here you would normally submit the form data to your backend
|
| 784 |
+
alert('New request submitted!');
|
| 785 |
+
closeNewRequestModal();
|
| 786 |
+
}
|
| 787 |
+
|
| 788 |
+
function openEditModal(projectId) {
|
| 789 |
+
document.getElementById('editProjectId').textContent = projectId;
|
| 790 |
+
|
| 791 |
+
// Here you would normally fetch the project data from your backend
|
| 792 |
+
// and populate the form fields
|
| 793 |
+
document.getElementById('editProjectModal').classList.remove('hidden');
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
function closeEditModal() {
|
| 797 |
+
document.getElementById('editProjectModal').classList.add('hidden');
|
| 798 |
+
}
|
| 799 |
+
|
| 800 |
+
function saveProjectChanges() {
|
| 801 |
+
// Here you would normally save the changes to your backend
|
| 802 |
+
alert('Changes saved!');
|
| 803 |
+
closeEditModal();
|
| 804 |
+
}
|
| 805 |
+
|
| 806 |
+
function openProjectDetails(projectId) {
|
| 807 |
+
document.getElementById('projectDetailsId').textContent = projectId;
|
| 808 |
+
|
| 809 |
+
// Here you would normally fetch the project details from your backend
|
| 810 |
+
// For demo purposes, we're using mock data
|
| 811 |
+
const mockData = {
|
| 812 |
+
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',
|
| 813 |
+
clientName: 'Jane Cooper',
|
| 814 |
+
clientEmail: 'jane@example.com',
|
| 815 |
+
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',
|
| 816 |
+
designerName: 'Michael Foster',
|
| 817 |
+
requestDate: 'May 15, 2023',
|
| 818 |
+
lastUpdate: 'May 18, 2023',
|
| 819 |
+
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.',
|
| 820 |
+
status: 'in-progress',
|
| 821 |
+
files: [
|
| 822 |
+
{name: 'Initial_design.pdf', type: 'pdf'},
|
| 823 |
+
{name: 'Flyer_draft.jpg', type: 'image'},
|
| 824 |
+
{name: 'Brand_guidelines.pdf', type: 'pdf'}
|
| 825 |
+
],
|
| 826 |
+
clientLink: 'https://flyercraft.com/projects/FC-1024?token=abc123xyz'
|
| 827 |
+
};
|
| 828 |
+
|
| 829 |
+
document.getElementById('projectDetailsClientImg').src = mockData.clientImg;
|
| 830 |
+
document.getElementById('projectDetailsClientName').textContent = mockData.clientName;
|
| 831 |
+
document.getElementById('projectDetailsClientEmail').textContent = mockData.clientEmail;
|
| 832 |
+
document.getElementById('projectDetailsDesignerImg').src = mockData.designerImg;
|
| 833 |
+
document.getElementById('projectDetailsDesignerName').textContent = mockData.designerName;
|
| 834 |
+
document.getElementById('projectDetailsRequestDate').textContent = mockData.requestDate;
|
| 835 |
+
document.getElementById('projectDetailsLastUpdate').textContent = mockData.lastUpdate;
|
| 836 |
+
document.getElementById('projectDetailsDescription').textContent = mockData.description;
|
| 837 |
+
document.getElementById('projectDetailsClientLink').value = mockData.clientLink;
|
| 838 |
+
|
| 839 |
+
// Set status with appropriate class
|
| 840 |
+
const statusElement = document.getElementById('projectDetailsStatus');
|
| 841 |
+
statusElement.textContent = 'In Progress';
|
| 842 |
+
statusElement.className = 'px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-in-progress';
|
| 843 |
+
statusElement.innerHTML = '<i class="fas fa-spinner animate-spin mr-1"></i> In Progress';
|
| 844 |
+
|
| 845 |
+
// Add files
|
| 846 |
+
const filesContainer = document.getElementById('projectDetailsFiles');
|
| 847 |
+
filesContainer.innerHTML = '';
|
| 848 |
+
|
| 849 |
+
mockData.files.forEach(file => {
|
| 850 |
+
const fileElement = document.createElement('div');
|
| 851 |
+
fileElement.className = 'flex items-center justify-between p-2 border rounded';
|
| 852 |
+
|
| 853 |
+
let iconClass, iconColor;
|
| 854 |
+
if (file.type === 'pdf') {
|
| 855 |
+
iconClass = 'fa-file-pdf';
|
| 856 |
+
iconColor = 'text-red-500';
|
| 857 |
+
} else if (file.type === 'image') {
|
| 858 |
+
iconClass = 'fa-file-image';
|
| 859 |
+
iconColor = 'text-blue-500';
|
| 860 |
+
} else {
|
| 861 |
+
iconClass = 'fa-file';
|
| 862 |
+
iconColor = 'text-gray-500';
|
| 863 |
+
}
|
| 864 |
+
|
| 865 |
+
fileElement.innerHTML = `
|
| 866 |
+
<div class="flex items-center">
|
| 867 |
+
<i class="fas ${iconClass} ${iconColor} mr-2"></i>
|
| 868 |
+
<span class="text-sm">${file.name}</span>
|
| 869 |
+
</div>
|
| 870 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm">
|
| 871 |
+
<i class="fas fa-download"></i>
|
| 872 |
+
</button>
|
| 873 |
+
`;
|
| 874 |
+
|
| 875 |
+
filesContainer.appendChild(fileElement);
|
| 876 |
+
});
|
| 877 |
+
|
| 878 |
+
document.getElementById('projectDetailsModal').classList.remove('hidden');
|
| 879 |
+
}
|
| 880 |
+
|
| 881 |
+
function closeProjectDetails() {
|
| 882 |
+
document.getElementById('projectDetailsModal').classList.add('hidden');
|
| 883 |
+
}
|
| 884 |
+
|
| 885 |
+
function copyClientLink() {
|
| 886 |
+
const linkInput = document.getElementById('projectDetailsClientLink');
|
| 887 |
+
linkInput.select();
|
| 888 |
+
document.execCommand('copy');
|
| 889 |
+
alert('Client link copied to clipboard!');
|
| 890 |
+
}
|
| 891 |
+
</script>
|
| 892 |
+
<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>
|
| 893 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
I need a website where I can receive submission to create flyers for my clients. I would like to be able to assign any requests to a team member. I also need to be able to change the status ( received, evaluation, assigned, in progress, waiting for approval and final version completed) The clients must have access to a private link to see the status of their request, see the result, give feedbacks and download the final version.
|