Spaces:
Configuration error
Configuration error
File size: 5,155 Bytes
fb3d3c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Submit Report | Lost & Found Tracker Pro</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow py-8 px-4 sm:px-6 lg:px-8">
<div class="max-w-3xl mx-auto">
<div class="mb-8">
<h1 class="text-2xl font-bold text-gray-900">Submit New Report</h1>
<p class="mt-2 text-sm text-gray-600">Fill out the form below to report a lost or found item.</p>
</div>
<div class="bg-white shadow overflow-hidden sm:rounded-lg">
<div class="px-4 py-5 sm:p-6">
<form class="space-y-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Report Type</label>
<div class="mt-1 grid grid-cols-2 gap-3">
<label class="inline-flex items-center border rounded-lg py-3 px-4 cursor-pointer hover:border-primary-500">
<input type="radio" name="report-type" value="lost" class="h-4 w-4 text-primary-600 focus:ring-primary-500">
<span class="ml-2 text-sm text-gray-700">Lost Item</span>
</label>
<label class="inline-flex items-center border rounded-lg py-3 px-4 cursor-pointer hover:border-primary-500">
<input type="radio" name="report-type" value="found" class="h-4 w-4 text-primary-600 focus:ring-primary-500" checked>
<span class="ml-2 text-sm text-gray-700">Found Item</span>
</label>
</div>
</div>
<div>
<label for="item-category" class="block text-sm font-medium text-gray-700 mb-1">Category</label>
<select id="item-category" name="item-category" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm rounded-md">
<option>Wallet/Purse</option>
<option>Keys</option>
<option>Phone</option>
<option>Laptop/Tablet</option>
<option>Jewelry</option>
<option>Bag/Backpack</option>
<option>Clothing</option>
<option>Documents</option>
<option>Other</option>
</select>
</div>
<div>
<label for="item-description" class="block text-sm font-medium text-gray-700 mb-1">Description</label>
<textarea id="item-description" name="item-description" rows="4" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border border-gray-300 rounded-md"></textarea>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Upload Photos (Optional)</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-primary-600 hover:text-primary-500 focus-within:outline-none">
<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, GIF up to 10MB</p>
</div>
</div>
</div>
<div class="flex justify-end space-x-3">
<a href="/dashboard.html" class="inline-flex justify-center py-2 px-4 border border-gray-300 shadow-sm text-sm 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-primary-500">
Cancel
</a>
<button type="submit" class="inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
Submit Report
</button>
</div>
</form>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html> |