Checkbox + hopyfully final frontend changes

This commit is contained in:
2024-12-13 21:37:19 +01:00
parent f16522fd66
commit 83e45fc3e2
7 changed files with 81 additions and 605 deletions

View File

@ -2,15 +2,15 @@
<div class="space-y-6">
<div class="flex space-x-4">
<div class="w-full">
<label for="day-dropdown" class="block text-sm font-medium text-gray-300">Day</label>
<select id="day-dropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;" onchange="handleDayChange()">
<label for="homeDayDropdown" class="block text-sm font-medium text-gray-300">Day</label>
<select id="homeDayDropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;" onchange="handleDayChange()">
<option value="">Choose Day</option>
</select>
</div>
<div class="w-full">
<label for="type-dropdown" class="block text-sm font-medium text-gray-300">Change Type:</label>
<select id="type-dropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<label for="homeTypeDropdown" class="block text-sm font-medium text-gray-300">Change Type:</label>
<select id="homeTypeDropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<option value="Fix">Fix</option>
<option value="Feat">Feat</option>
<option value="Sonst">Sonst</option>
@ -21,30 +21,30 @@
<div class="flex space-x-4">
<div class="w-full">
<label for="role-dropdown" class="block text-sm font-medium text-gray-300">Ticket:</label>
<select id="role-dropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<label for="homeTicketTypeDropdown" class="block text-sm font-medium text-gray-300">Ticket:</label>
<select id="homeTicketTypeDropdown" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<option value="QA">QA</option>
<option value="DEV">DEV</option>
<option value="DEV">GD</option>
</select>
</div>
<div class="w-full">
<label for="short-input" class="block text-sm font-medium text-gray-300">Ticketnumber:</label>
<input id="short-input" type="text" maxlength="7" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<label for="homeTicketNumberInput" class="block text-sm font-medium text-gray-300">Ticketnumber:</label>
<input id="homeTicketNumberInput" type="text" maxlength="7" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
</div>
</div>
<div class="space-y-6">
<div>
<label for="long-input" class="block text-sm font-medium text-gray-300">Description:</label>
<input id="long-input" type="text" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-800 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
<label for="homeTicketDescriptionInput" class="block text-sm font-medium text-gray-300">Description:</label>
<input id="homeTicketDescriptionInput" type="text" class="mt-1 block w-full p-2 border border-gray-600 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-800 dark:text-white dark:border-gray-600" style="background-color: #2d3748 !important;">
</div>
</div>
<div class="text-right">
<button id="add-button" class="bg-blue-600 text-white px-4 py-2 rounded-md shadow hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-blue-700 dark:hover:bg-blue-600">
<button id="homeDayChangeAddButton" class="bg-blue-600 text-white px-4 py-2 rounded-md shadow hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-blue-700 dark:hover:bg-blue-600">
Add
</button>
</div>
@ -57,11 +57,11 @@
<thead class="bg-gray-700">
<tr>
<th class="px-4 py-2 border border-gray-600 text-left text-gray-200">Type</th>
<th class="px-4 py-2 border border-gray-600 text-left text-gray-200">Role</th>
<th class="px-4 py-2 border border-gray-600 text-left text-gray-200">Short Input</th>
<th class="px-4 py-2 border border-gray-600 text-left text-gray-200">Ticket</th>
<th class="px-4 py-2 border border-gray-600 text-left text-gray-200">Desciption</th>
</tr>
</thead>
<tbody id="task-table-body">
<tbody id="homeDay">
</tbody>
</table>
</section>