Feat: Implement Select2 for User Dropdowns

This commit is contained in:
Sallu9007
2025-04-17 09:56:38 +05:30
parent 559e0f7658
commit e0985d0c4f
6 changed files with 168 additions and 37 deletions

View File

@@ -13,22 +13,19 @@
<table id="responses-table" class="table-auto w-full table-striped border-collapse border border-gray-200 rounded-lg">
<thead class="bg-gray-100">
<tr>
<th class="px-4 py-2 border border-gray-200">ID</th>
<th class="px-4 py-2 border border-gray-200">Title</th>
<th class="px-4 py-2 border border-gray-200">Resource Person</th>
<th class="px-4 py-2 border border-gray-200">Organisation</th>
<th class="px-4 py-2 border border-gray-200">Target Audience</th>
<th class="px-4 py-2 border border-gray-200">Department</th>
<th class="px-4 py-2 border border-gray-200">Faculty</th>
<th class="px-4 py-2 border border-gray-200">Start Date</th>
<th class="px-4 py-2 border border-gray-200">End Date</th>
<th class="px-4 py-2 border border-gray-200">Num Days</th>
<th class="px-4 py-2 border border-gray-200">Venue</th>
<th class="px-4 py-2 border border-gray-200">Activity Type</th>
<th class="px-4 py-2 border border-gray-200">Category</th>
<th class="px-4 py-2 border border-gray-200">Level</th>
<th class="px-4 py-2 border border-gray-200">Participants</th>
<th class="px-4 py-2 border border-gray-200">Actions</th>
<th class="px-4 py-1 border border-gray-200">ID</th>
<th class="px-1 py-1 border border-gray-200">Title</th>
<th class="px-1 py-1 border border-gray-200">Resource Person</th>
<th class="px-1 py-1 border border-gray-200">Organisation</th>
<th class="px-1 py-1 border border-gray-200">Target Audience</th>
<th class="px-1 py-1 border border-gray-200">Department</th>
<th class="px-1 py-1 border border-gray-200">Faculty</th>
<th class="px-1 py-1 border border-gray-200">Venue</th>
<th class="px-1 py-1 border border-gray-200">Activity Type</th>
<th class="px-1 py-1 border border-gray-200">Category</th>
<th class="px-1 py-1 border border-gray-200">Level</th>
<th class="px-1 py-1 border border-gray-200">Participants</th>
<th class="px-5 py-1 border border-gray-200">Actions</th>
</tr>
</thead>
<tbody>
@@ -98,21 +95,21 @@
name: 'user_name',
orderable: false
},
{
data: 'start_date',
name: 'start_date',
orderable: false
},
{
data: 'end_date',
name: 'end_date',
orderable: false
},
{
data: 'num_days',
name: 'num_days',
orderable: false
},
// {
// data: 'start_date',
// name: 'start_date',
// orderable: false
// },
// {
// data: 'end_date',
// name: 'end_date',
// orderable: false
// },
// {
// data: 'num_days',
// name: 'num_days',
// orderable: false
// },
{
data: 'venue',
name: 'venue',