|
|
@ -7,59 +7,62 @@
|
|
|
|
<div class="w-full px-10 mb-4">
|
|
|
|
<div class="w-full px-10 mb-4">
|
|
|
|
<div class="w-full h-full shadow-md rounded-md mt-5 py-5 px-3 bg-white">
|
|
|
|
<div class="w-full h-full shadow-md rounded-md mt-5 py-5 px-3 bg-white">
|
|
|
|
<h1 class="text-3xl text-slate-800 text-center font-semibold">
|
|
|
|
<h1 class="text-3xl text-slate-800 text-center font-semibold">
|
|
|
|
Create Task
|
|
|
|
Create Task For {{project.name}}
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full flex flex-col gap-3 justify-center items-center mt-5">
|
|
|
|
<form class="w-full flex flex-col gap-3 justify-center items-center mt-5" method="POST" action="{% url 'save_task' %}">
|
|
|
|
<input type="text" placeholder="Task Name"
|
|
|
|
{% csrf_token %}
|
|
|
|
|
|
|
|
<input required name="name" type="text" placeholder="Task Name"
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
|
|
|
|
|
|
|
|
|
|
|
|
<select id=""
|
|
|
|
<select required name="project" id=""
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500 cursor-not-allowed" disabled>
|
|
|
|
class="hidden w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
<option value="" selected disabled>{{project.name}}</option>
|
|
|
|
|
|
|
|
|
|
|
|
<option value="{{project.id}}">{{project.name}}</option>
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id=""
|
|
|
|
<select required name="epic" id=""
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
<option value="" selected disabled>Select Epic</option>
|
|
|
|
<option value="" selected disabled>Select Epic</option>
|
|
|
|
<option value="">Epic 1</option>
|
|
|
|
{% for epic in epics_of_my_project %}
|
|
|
|
<option value="">Epic 2</option>
|
|
|
|
<option value="{{epic.id}}">{{epic.title}}</option>
|
|
|
|
<option value="">Epic 3</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id=""
|
|
|
|
<select required name="status" id=""
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
<option value="" selected disabled>Status</option>
|
|
|
|
<option value="" selected disabled>Status</option>
|
|
|
|
<option value="">Open</option>
|
|
|
|
<option value="Open">Open</option>
|
|
|
|
<option value="">Working On</option>
|
|
|
|
<option value="Working On">Working On</option>
|
|
|
|
<option value="">Closed</option>
|
|
|
|
<option value="Closed">Closed</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id=""
|
|
|
|
<select required name="extra" id=""
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
|
|
|
<option value="" selected disabled>Extra</option>
|
|
|
|
<option value="" selected disabled>Extra</option>
|
|
|
|
<option value="">Yes</option>
|
|
|
|
<option value="True">Yes</option>
|
|
|
|
<option value="">No</option>
|
|
|
|
<option value="False">No</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<textarea type="text" placeholder="Task Description" rows="5" cols="5"
|
|
|
|
<textarea required name="description" type="text" placeholder="Task Description" rows="5" cols="5"
|
|
|
|
class="w-full py-3 px-3 border border-gray-300 outline-none rounded-md resize-none"></textarea>
|
|
|
|
class="w-full py-3 px-3 border border-gray-300 outline-none rounded-md resize-none"></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full">
|
|
|
|
<div class="w-full">
|
|
|
|
<label class="text-gray-500">Start Date:</label>
|
|
|
|
<label class="text-gray-500">Start Date:</label>
|
|
|
|
<input type="date" id="date" name="date"
|
|
|
|
<input required name="start_date" type="date" id="date" name="date"
|
|
|
|
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
|
|
|
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full">
|
|
|
|
<div class="w-full">
|
|
|
|
<label class="text-gray-500">End Date:</label>
|
|
|
|
<label class="text-gray-500">End Date:</label>
|
|
|
|
<input type="date" id="date" name="date"
|
|
|
|
<input required name="end_date" type="date" id="date" name="date"
|
|
|
|
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
|
|
|
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="inbox-box border border-gray-300 py-1 px-3 w-full rounded-md">
|
|
|
|
<div class="inbox-box border border-gray-300 py-1 px-3 w-full rounded-md">
|
|
|
|
<div class="flex items-center justify-between">
|
|
|
|
<div class="flex items-center justify-between">
|
|
|
|
<input required name="cv" type="file" id="actual-btn" accept=".pdf,.docx" hidden multiple />
|
|
|
|
<input name="cv" type="file" id="actual-btn" accept=".pdf,.docx" hidden multiple />
|
|
|
|
<span id="file-name" class="text-gray-500 text-base focus:outline-none outline-none">Upload
|
|
|
|
<span id="file-name" class="text-gray-500 text-base focus:outline-none outline-none">Upload
|
|
|
|
Document(s)</span>
|
|
|
|
Document(s)</span>
|
|
|
|
<label for="actual-btn"
|
|
|
|
<label for="actual-btn"
|
|
|
@ -86,11 +89,11 @@
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full flex justify-center items-center mt-3">
|
|
|
|
<div class="w-full flex justify-center items-center mt-3">
|
|
|
|
<button
|
|
|
|
<button type="submit"
|
|
|
|
class="w-fit py-1 px-3 bg-blue-500 rounded-md outline-none text-white border border-blue-500 text-xl cursor-pointer hover:bg-white hover:text-blue-500">Add
|
|
|
|
class="w-fit py-1 px-3 bg-blue-500 rounded-md outline-none text-white border border-blue-500 text-xl cursor-pointer hover:bg-white hover:text-blue-500">Add
|
|
|
|
Task</button>
|
|
|
|
Task</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|