New changes.

main
nataly 11 months ago
parent cbc38b466e
commit 1598c1401b

@ -347,5 +347,6 @@ def add_payment_pdf(request, order_id):

@ -336,9 +336,7 @@
<div id="uploaded_files" class="w-full flex flex-col gap-3"></div>
</div>
</div>
</form>
</div>
</div>

Binary file not shown.

@ -61,14 +61,40 @@
<div class="w-full">
<label class="text-gray-500">Position:</label>
<select name="staff_position"
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500 mt-1">
<option value="" selected disabled>Select Staff Position</option>
{% for position in staffpositions %}
<option value="{{position.id}}">{{position.name}}</option>
{% endfor %}
</select>
<div
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-secondosiblue uppercase font-bold">Positions</p>
</div>
</div>
<div class="w-full flex flex-col gap-3 mt-3">
<div class="w-full bg-gray-50 border border-gray-100 rounded-md flex items-center gap-3 p-3">
<div class="w-full grid grid-cols-1 s:grid-cols-2 gap-3">
<input name="position[]" type="text"
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md" placeholder="Position">
<input name="date[]" type="date"
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
</div>
<div
class="w-[30px] h-[30px] rounded-full bg-secondosiblue border border-secondosiblue flex justify-center items-center gap-1 text-white cursor-pointer hover:bg-transparent hover:text-secondosiblue duration-300 removePositionOption">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" class="w-5">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
</svg>
</div>
</div>
</div>
<div class="w-full bg-gray-50 shadow-md rounded-md p-3 flex justify-start items-center gap-1 cursor-pointer mt-3" id="addCategoryLanguage">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" class="w-7 text-secondosiblue">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
</svg>
<p class="text-secondosiblue hover:underline duration-300">Add New Position</p>
</div>
</div>
<div class="w-full flex justify-start items-center gap-2">

Loading…
Cancel
Save