<?php include 'header.php'; ?>

<!-- Page Wrapper -->
<div class="px-0 py-3 md:p-2 lg:p-6 min-h-screen">

<!-- Header -->
    <div
        class="flex flex-col md:flex-row md:items-center md:justify-between gap-4 mb-5 p-4 rounded-lg ">

        <!-- Title -->
        <div>
            <h1 class="text-2xl font-bold text-gray-800">
             On Hold Task list
            </h1>
        </div>

    </div>


    <!-- Card -->
    <div class="bg-white rounded-lg border border-gray-200 shadow-sm overflow-x-auto overflow-y-hidden">

        <!-- Table -->
        <div class="overflow-x-auto">

            <table class="w-full min-w-[1000px]">

                <!-- Table Head -->
                <thead class="bg-gray-50 border-b border-gray-200">

                    <tr class="text-left">

                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Task ID
                        </th>

                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Task Name
                        </th>
                        
                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Assigned Developer
                        </th>

                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Project
                        </th>

                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Priority
                        </th>
                        
                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Start Date
                        </th>

                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                            Due Date
                        </th>
                        
                        <th class="px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                           Action
                        </th>

                    </tr>

                </thead>

                <!-- Table Body -->
                <tbody class="divide-y divide-gray-100 bg-white">

                    <!-- Row -->
                    <tr class="hover:bg-gray-50 transition">

                        <td class="px-6 py-4 text-sm font-semibold text-indigo-600">
                            TASK-001
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-700">
                            Login API Development
                        </td>
                        
                        <td class="px-6 py-4 text-sm text-gray-600">
                           Dev Pancholi
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-600">
                            CRM System
                        </td>

                        <td class="px-6 py-4">
                            <span
                                class="px-3 py-1 rounded-full text-xs font-semibold bg-red-100 text-red-700">
                                High
                            </span>
                        </td>
                        
                         <td class="px-6 py-4 text-sm text-gray-600">
                            18 May 2024
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-600">
                            22 May 2024
                        </td>
                        
                        <td class="px-6 py-4 align-middle">
                            <!-- View -->
                            <a href="view_onhold.php"
                                class="w-9 h-9 rounded-lg bg-green-50 text-green-600 hover:bg-green-100 transition flex items-center justify-center">
                                <i class="ri-eye-line"></i>
                            </a>
                        </td>
                    </tr>
                    
                    <!-- Row -->
                    <tr class="hover:bg-gray-50 transition">

                        <td class="px-6 py-4 text-sm font-semibold text-indigo-600">
                            TASK-002
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-700">
                            Front Website Design
                        </td>
                        
                        <td class="px-6 py-4 text-sm text-gray-600">
                           Dev Mistry
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-600">
                            Sit
                        </td>

                        <td class="px-6 py-4">
                            <span
                                class="px-3 py-1 rounded-full text-xs font-semibold bg-blue-100 text-blue-700">
                                Medium
                            </span>
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-600">
                            16 May 2024
                        </td>
                        
                        <td class="px-6 py-4 text-sm text-gray-600">
                            20 May 2024
                        </td>
                        
                     <td class="px-6 py-4 align-middle">
                            <!-- View -->
                            <a href="view_onhold.php"
                                class="w-9 h-9 rounded-lg bg-green-50 text-green-600 hover:bg-green-100 transition flex items-center justify-center">
                                <i class="ri-eye-line"></i>
                            </a>
                        </td
                    </tr>
                    
                    <!-- Row -->
                    <tr class="hover:bg-gray-50 transition">

                        <td class="px-6 py-4 text-sm font-semibold text-indigo-600">
                            TASK-003
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-700">
                            ERP Design
                        </td>
                        
                        <td class="px-6 py-4 text-sm text-gray-600">
                           Saif
                        </td>


                        <td class="px-6 py-4 text-sm text-gray-600">
                            ABC
                        </td>


                        <td class="px-6 py-4">
                            <span
                                class="px-3 py-1 rounded-full text-xs font-semibold bg-green-100 text-green-700">
                                Low
                            </span>
                        </td>

                        <td class="px-6 py-4 text-sm text-gray-600">
                            20 May 2024
                        </td>
                        
                        <td class="px-6 py-4 text-sm text-gray-600">
                            24 May 2024
                        </td>
                        
                        <td class="px-6 py-4 align-middle">
                            <!-- View -->
                            <a href="view_onhold.php"
                                class="w-9 h-9 rounded-lg bg-green-50 text-green-600 hover:bg-green-100 transition flex items-center justify-center">
                                <i class="ri-eye-line"></i>
                            </a>
                        </td
                    </tr>

                </tbody>

            </table>

        </div>

        <!-- Footer -->
        <div
            class="px-4 py-4 border-t border-gray-100 flex flex-col md:flex-row items-center justify-between gap-4">

            <!-- Left -->
            <p class="text-sm text-gray-500">
                Showing 1 to 4 of 62 tasks
            </p>

            <!-- Pagination -->
            <div class="flex items-center gap-2">

                <button
                    class="w-9 h-9 rounded-lg border border-gray-200 text-gray-500 hover:bg-gray-100 transition">
                    <i class="ri-arrow-left-s-line"></i>
                </button>

                <button
                   class="w-9 h-9 rounded-xl bg-gradient-to-r from-blue-500 to-indigo-600 text-white font-medium shadow-md">
                    1
                </button>

                <button
                    class="w-9 h-9 rounded-lg border border-gray-200 text-gray-600 hover:bg-gray-100 transition">
                    2
                </button>

                <button
                    class="w-9 h-9 rounded-lg border border-gray-200 text-gray-600 hover:bg-gray-100 transition">
                    3
                </button>

                <button
                    class="w-9 h-9 rounded-lg border border-gray-200 text-gray-600 hover:bg-gray-100 transition">
                    4
                </button>

                <button
                    class="w-9 h-9 rounded-lg border border-gray-200 text-gray-500 hover:bg-gray-100 transition">
                    <i class="ri-arrow-right-s-line"></i>
                </button>

            </div>

        </div>

    </div>

</div>


<?php include 'footer.php'; ?>