|
|
@ -51,6 +51,13 @@
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Create
|
|
|
|
class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Create
|
|
|
|
Story</button>
|
|
|
|
Story</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="" class="w-full md:w-fit">
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Add
|
|
|
|
|
|
|
|
Ticket</button>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
<a href="{% url 'editproject' project.project_id %}" class="w-full md:w-fit">
|
|
|
|
<a href="{% url 'editproject' project.project_id %}" class="w-full md:w-fit">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Edit
|
|
|
|
class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Edit
|
|
|
@ -84,6 +91,70 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TYPE -->
|
|
|
|
|
|
|
|
<div class="w-full">
|
|
|
|
|
|
|
|
<p class="text-gray-500 text-xl">Type:
|
|
|
|
|
|
|
|
{% for type in project.project_type.all %}
|
|
|
|
|
|
|
|
<span class="text-secondosiblue text-xl font-semibold">
|
|
|
|
|
|
|
|
{{type.name}} {% if not forloop.last %}, {% endif %}
|
|
|
|
|
|
|
|
{% endfor %}</span>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- STATUS -->
|
|
|
|
|
|
|
|
<p class="text-gray-500 text-xl">Status:
|
|
|
|
|
|
|
|
{% if project.projectstatus_set.exists %}
|
|
|
|
|
|
|
|
{% with latest_status=project.projectstatus_set.last.status %}
|
|
|
|
|
|
|
|
{% if latest_status == 'Cancelled' %}
|
|
|
|
|
|
|
|
<span class="text-red-500 text-xl font-semibold">{{ latest_status }}</span>
|
|
|
|
|
|
|
|
{% elif latest_status == 'Completed' %}
|
|
|
|
|
|
|
|
<span class="text-green-700 text-xl font-semibold">{{ latest_status }}</span>
|
|
|
|
|
|
|
|
{% elif latest_status == 'In Progress' %}
|
|
|
|
|
|
|
|
<span class="text-orange-500 text-xl font-semibold">{{ latest_status }}</span>
|
|
|
|
|
|
|
|
{% elif latest_status == 'Pending' %}
|
|
|
|
|
|
|
|
<span class="text-yellow-400 text-xl font-semibold">{{ latest_status }}</span>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<span class="text-gray-700 text-xl font-semibold">Unknown</span>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endwith %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<span class="text-gray-700 text-xl font-semibold">No status available</span>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- PROJECT DETAILS -->
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<p class="text-gray-500 text-xl">Project Details:</p>
|
|
|
|
|
|
|
|
<div class="w-full pr-8">
|
|
|
|
|
|
|
|
<p class="text-secondosiblue font-semibold">
|
|
|
|
|
|
|
|
{{project.details}}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TAGS -->
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<p class="text-gray-500 text-xl">Tags:</p>
|
|
|
|
|
|
|
|
<div class="w-full h-fit px-4 mt-3 flex flex-wrap justify-start items-center gap-3">
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Media
|
|
|
|
|
|
|
|
Streaming</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Live
|
|
|
|
|
|
|
|
Streaming</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Audio
|
|
|
|
|
|
|
|
On Demand</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MEMBERS -->
|
|
|
|
<!-- MEMBERS -->
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
@ -126,64 +197,107 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TYPE -->
|
|
|
|
<!-- TICKETS -->
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<p class="text-gray-500 text-xl">Type:
|
|
|
|
<div class="overflow-x-auto border border-gray-300 rounded-md">
|
|
|
|
{% for type in project.project_type.all %}
|
|
|
|
<div
|
|
|
|
<span class="text-secondosiblue text-xl font-semibold">
|
|
|
|
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
|
|
|
|
{{type.name}} {% if not forloop.last %}, {% endif %}
|
|
|
|
<div class="px-3">
|
|
|
|
{% endfor %}</span>
|
|
|
|
<p class="text-secondosiblue uppercase font-bold">Tickets</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- STATUS -->
|
|
|
|
<button
|
|
|
|
<div>
|
|
|
|
class="h-full rounded-tr-md px-4 bg-secondosiblue text-gray-200 text-[18px] outline-none border-none cursor-pointer flex justify-center items-center">
|
|
|
|
<p class="text-gray-500 text-xl">Status:
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
{% if project.status == 'Cancelled' %}
|
|
|
|
</button>
|
|
|
|
<span class="text-red-500 text-xl font-semibold">{{project.status}}</span>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<table class="min-w-full divide-y">
|
|
|
|
{% if project.status == 'Completed' %}
|
|
|
|
<!-- TABLE HEADER -->
|
|
|
|
<span class="text-green-700 text-xl font-semibold">{{project.status}}</span>
|
|
|
|
<thead class="bg-gray-50">
|
|
|
|
{% endif %}
|
|
|
|
<tr>
|
|
|
|
{% if project.status == 'Active' %}
|
|
|
|
<th scope="col"
|
|
|
|
<span class="text-orange-500 text-xl font-semibold">{{project.status}}</span>
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
|
|
|
|
{% endif %}
|
|
|
|
Subject
|
|
|
|
{% if project.status == 'Pending' %}
|
|
|
|
</th>
|
|
|
|
<span class="text-yellow-400 text-xl font-semibold">{{project.status}}</span>
|
|
|
|
<th scope="col"
|
|
|
|
{% endif %}
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
|
|
|
|
</p>
|
|
|
|
Ticket ID
|
|
|
|
</div>
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th scope="col"
|
|
|
|
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
|
|
|
|
|
|
|
|
Regarding
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th scope="col"
|
|
|
|
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
|
|
|
|
|
|
|
|
Last Updated
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th scope="col"
|
|
|
|
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
|
|
|
|
|
|
|
|
Updated By
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th scope="col"
|
|
|
|
|
|
|
|
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase whitespace-nowrap">
|
|
|
|
|
|
|
|
Actions
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TABLE BODY -->
|
|
|
|
|
|
|
|
<tbody class="bg-white divide-y divide-gray-200">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
|
|
|
|
<p class="text-secondosiblue">hhh</p>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- PROJECT DETAILS -->
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
<div>
|
|
|
|
<p class="text-secondosiblue">hhh</p>
|
|
|
|
<div>
|
|
|
|
</td>
|
|
|
|
<p class="text-gray-500 text-xl">Project Details:</p>
|
|
|
|
|
|
|
|
<div class="w-full pr-8">
|
|
|
|
|
|
|
|
<p class="text-secondosiblue font-semibold">
|
|
|
|
|
|
|
|
{{project.details}}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
|
|
|
|
<p class="text-secondosiblue">hhh</p>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TAGS -->
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
<div>
|
|
|
|
<p class="text-secondosiblue">hhh</p>
|
|
|
|
<p class="text-gray-500 text-xl">Tags:</p>
|
|
|
|
</td>
|
|
|
|
<div class="w-full h-fit px-4 mt-3 flex flex-wrap justify-start items-center gap-3">
|
|
|
|
|
|
|
|
<button
|
|
|
|
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Media
|
|
|
|
<p class="text-secondosiblue">hhh</p>
|
|
|
|
Streaming</button>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<button
|
|
|
|
<td class="px-6 py-4 text-center text-sm">
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Live
|
|
|
|
<div class="w-full flex justify-center items-center gap-3">
|
|
|
|
Streaming</button>
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-[16px] cursor-pointer text-fifthosiblue hover:scale-110 duration-500 transition-transform">
|
|
|
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M7.217 10.907a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z" />
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
<button
|
|
|
|
<a href="">
|
|
|
|
class="text-sm text-gray-400 border border-gray-400 rounded-md w-fit py-2 px-3 outline-none">Audio
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"class="w-[18px] text-fifthosiblue hover:scale-110 duration-500 transition-transform">
|
|
|
|
On Demand</button>
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" />
|
|
|
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" />
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="">
|
|
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-[18px] text-fifthosiblue hover:scale-110 duration-500 transition-transform">
|
|
|
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" />
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="cursor-pointer deleteTicketButton"
|
|
|
|
|
|
|
|
data-modal-url="">
|
|
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-[18px] text-red-500 hover:scale-110 duration-500 transition-transform">
|
|
|
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" />
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<!-- <tr>
|
|
|
|
|
|
|
|
<td colspan="6" class="px-6 py-4 text-center text-sm text-secondosiblue">
|
|
|
|
|
|
|
|
No Tickets at the moment
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr> -->
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -253,15 +367,16 @@
|
|
|
|
class="w-fit py-2 px-3 bg-green-700 border border-green-700 text-white rounded-md cursor-pointer hover:bg-white hover:text-green-700">Add
|
|
|
|
class="w-fit py-2 px-3 bg-green-700 border border-green-700 text-white rounded-md cursor-pointer hover:bg-white hover:text-green-700">Add
|
|
|
|
Task</button>
|
|
|
|
Task</button>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
<a href="">
|
|
|
|
<a href="">
|
|
|
|
<div class="text-[15px] text-blue-500 cursor-pointer">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-[18px] text-fifthosiblue hover:scale-110 duration-500 transition-transform">
|
|
|
|
<i class="fa fa-edit"></i>
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" />
|
|
|
|
</div>
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="cursor-pointer deleteTicketButton"
|
|
|
|
<div class="text-[15px] text-red-500 cursor-pointer">
|
|
|
|
data-modal-url="">
|
|
|
|
<i class="fa fa-trash"></i>
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-[18px] text-red-500 hover:scale-110 duration-500 transition-transform">
|
|
|
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" />
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -281,7 +396,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CREDENTIALS -->
|
|
|
|
<!-- CREDENTIALS -->
|
|
|
|
<div class="mt-5 relative">
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
|
|
|
|
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
|
|
|
|
<div class="px-3">
|
|
|
|
<div class="px-3">
|
|
|
@ -349,7 +464,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!-- RELATED FILES -->
|
|
|
|
<!-- RELATED FILES -->
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div class="w-full mt-5">
|
|
|
|
<div class="overflow-x-auto border border-gray-300 rounded-md mt-5">
|
|
|
|
<div class="overflow-x-auto border border-gray-300 rounded-md">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
|
|
|
|
class=" bg-gray-200 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
|
|
|
|
<div class="px-3">
|
|
|
|
<div class="px-3">
|
|
|
|