New changes.
parent
2965e1ef47
commit
bedab56704
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,171 @@
|
||||
{% extends "main.html" %}
|
||||
{%load static%}
|
||||
{% block content %}
|
||||
|
||||
<div class="w-full px-10">
|
||||
<div class="w-full bg-white h-fit shadow-md rounded-md p-5">
|
||||
<h1 class="text-3xl text-slate-800 text-center font-semibold">
|
||||
Create Epic
|
||||
</h1>
|
||||
<div class="mx-auto w-full flex flex-col gap-3 justify-center items-center mt-5">
|
||||
<input type="text" placeholder="Epic Name"
|
||||
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
|
||||
|
||||
<textarea type="text" placeholder="Epic Description" rows="5" cols="5"
|
||||
class="w-full py-3 px-3 border border-gray-300 outline-none rounded-md resize-none"></textarea>
|
||||
|
||||
<select id=""
|
||||
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 Status</option>
|
||||
<option value="">Open</option>
|
||||
<option value="">Closed</option>
|
||||
</select>
|
||||
|
||||
<div class="w-full">
|
||||
<label class="text-gray-500">Start Date:</label>
|
||||
<input type="date" id="date" name="date"
|
||||
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
||||
</div>
|
||||
|
||||
<div class="w-full">
|
||||
<label class="text-gray-500">End Date:</label>
|
||||
<input type="date" id="date" name="date"
|
||||
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
||||
</div>
|
||||
|
||||
<div class="w-full">
|
||||
<button class="w-full border border-gray-300 text-gray-500 py-2 px-3 outline-none rounded-md text-xl"
|
||||
id="AddTaskButton">Add
|
||||
Task</button>
|
||||
</div>
|
||||
|
||||
<div class="w-full flex justify-center items-center mt-3">
|
||||
<button
|
||||
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
|
||||
Epic</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mx-auto w-[60%] h-full shadow-md rounded-md mt-5 border border-gray-300 p-3 hidden"
|
||||
id="taskFormContainer">
|
||||
<h1 class="text-3xl text-slate-800 text-center font-semibold">
|
||||
Create Task
|
||||
</h1>
|
||||
|
||||
<div class="w-full flex flex-col gap-3 justify-center items-center mt-5">
|
||||
<input type="text" placeholder="Task Name"
|
||||
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
|
||||
|
||||
<select id=""
|
||||
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md text-gray-500">
|
||||
<option value="" selected disabled>Assigned To</option>
|
||||
<option value="">Nataly</option>
|
||||
<option value="">Salim</option>
|
||||
</select>
|
||||
|
||||
<select id=""
|
||||
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="">Open</option>
|
||||
<option value="">Working On</option>
|
||||
<option value="">Closed</option>
|
||||
</select>
|
||||
|
||||
<select id=""
|
||||
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="">Yes</option>
|
||||
<option value="">No</option>
|
||||
</select>
|
||||
|
||||
<div class="w-full">
|
||||
<label class="text-gray-500">Start Date:</label>
|
||||
<input type="date" id="date" name="date"
|
||||
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
||||
</div>
|
||||
|
||||
<div class="w-full">
|
||||
<label class="text-gray-500">End Date:</label>
|
||||
<input type="date" id="date" name="date"
|
||||
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">
|
||||
</div>
|
||||
|
||||
<div class="w-full flex justify-between items-center gap-2">
|
||||
<input type="text" placeholder="Add Point"
|
||||
class="w-full h-[50px] py-1 px-3 border border-gray-300 outline-none rounded-md">
|
||||
<button
|
||||
class="w-[150px] h-[50px] py-1 px-3 bg-blue-500 rounded-md outline-none text-white border border-blue-500 cursor-pointer hover:bg-white hover:text-blue-500">Add
|
||||
Point</button>
|
||||
</div>
|
||||
|
||||
<div class="inbox-box border border-gray-300 py-1 px-3 w-full rounded-md">
|
||||
<div class="flex items-center justify-between">
|
||||
<input required 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
|
||||
Document</span>
|
||||
<label for="actual-btn"
|
||||
class="bg-transparent text-gray-500 border border-white px-4 py-2 h-14 cursor-pointer flex items-center"><i
|
||||
class="fa fa-upload"></i></label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- WHEN THE USER CHOOSE A FILE THE NAME OF THE FILE WILL APPEAR IN THE SPAN -->
|
||||
<script>
|
||||
const fileInput = document.getElementById('actual-btn');
|
||||
const fileNameSpan = document.getElementById('file-name');
|
||||
|
||||
fileInput.addEventListener('change', (event) => {
|
||||
const selectedFiles = event.target.files;
|
||||
if (selectedFiles.length > 0) {
|
||||
const fileNames = Array.from(selectedFiles).map(file => file.name).join(', ');
|
||||
fileNameSpan.textContent = fileNames;
|
||||
} else {
|
||||
fileNameSpan.textContent = 'Upload Documents (PDF, docx)';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="w-full flex justify-center items-center mt-3">
|
||||
<button
|
||||
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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const addTaskButton = document.getElementById('AddTaskButton');
|
||||
const taskFormContainer = document.getElementById('taskFormContainer');
|
||||
|
||||
// Add a click event listener to the button
|
||||
addTaskButton.addEventListener('click', () => {
|
||||
// Toggle the visibility of the taskFormContainer
|
||||
if (taskFormContainer.style.display === 'none' || taskFormContainer.style.display === '') {
|
||||
taskFormContainer.style.display = 'block';
|
||||
// Scroll to the taskFormContainer
|
||||
taskFormContainer.scrollIntoView({ behavior: 'smooth' });
|
||||
} else {
|
||||
taskFormContainer.style.display = 'none';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- POPUP MODAL -->
|
||||
<div class="w-full h-full bg-black bg-opacity-40 z-20 fixed justify-center items-center hidden" id="popUpModal">
|
||||
<div class="w-[95%] md:w-fit h-fit bg-white rounded-md p-9 relative">
|
||||
<button class="absolute top-3 right-5 text-slate-800 text-xl cursor-pointer outline-none border-none"
|
||||
id="closeModalButton">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<iframe id="popupModalFrame" frameborder="0"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src='{% static "js/pop-modals.js" %}'></script>
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
@ -0,0 +1,26 @@
|
||||
{% extends "main.html" %}
|
||||
{%load static%}
|
||||
{% block content %}
|
||||
|
||||
<div class="w-full px-10">
|
||||
<div class="w-full bg-white h-[600px] shadow-md rounded-md">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- POPUP MODAL -->
|
||||
<div class="w-full h-full bg-black bg-opacity-40 z-20 fixed justify-center items-center hidden" id="popUpModal">
|
||||
<div class="w-[95%] md:w-fit h-fit bg-white rounded-md p-9 relative">
|
||||
<button class="absolute top-3 right-5 text-slate-800 text-xl cursor-pointer outline-none border-none"
|
||||
id="closeModalButton">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<iframe id="popupModalFrame" frameborder="0"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src='{% static "js/pop-modals.js" %}'></script>
|
||||
</div>
|
||||
|
||||
{% endblock content %}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,301 +1,344 @@
|
||||
{% extends "main.html" %}
|
||||
{%load static%}
|
||||
{% block title %}My Projects{% endblock %}
|
||||
{% block content %}
|
||||
<!-- NOTES SECTION -->
|
||||
<div class="w-full h-fit flex justify-between items-center px-10 pb-5">
|
||||
<div class="relative w-full h-fit bg-white shadow-md rounded-md p-5">
|
||||
<div class="w-full flex justify-between items-center">
|
||||
<div>
|
||||
<p class="text-base text-gray-500">Recent Note:</p>
|
||||
<p class="text-slate-700">Send an Email to Salim.</p>
|
||||
</div>
|
||||
<div class="flex justify-end items-center gap-4">
|
||||
<button
|
||||
class="w-fit rounded-md py-1 px-3 bg-slate-800 border border-slate-800 text-white hover:bg-white hover:text-slate-800"
|
||||
id="showNotesButton">Show
|
||||
Notes</button>
|
||||
<button
|
||||
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex justify-center items-center shadow-md"
|
||||
id="addNoteButton">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{% block content %}
|
||||
<!-- NOTES SECTION -->
|
||||
<div class="w-full h-fit flex justify-between items-center px-10 pb-5">
|
||||
<div class="relative w-full h-fit bg-white shadow-md rounded-md p-5">
|
||||
<div class="w-full flex justify-between items-center">
|
||||
<div>
|
||||
<p class="text-base text-gray-500">Recent Note:</p>
|
||||
<p class="text-slate-700">Send an Email to Salim.</p>
|
||||
</div>
|
||||
<div class="flex justify-end items-center gap-4">
|
||||
<button
|
||||
class="w-fit rounded-md py-1 px-3 bg-slate-800 border border-slate-800 text-white hover:bg-white hover:text-slate-800"
|
||||
id="showNotesButton">Show
|
||||
Notes</button>
|
||||
<button
|
||||
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex justify-center items-center shadow-md"
|
||||
id="addNoteButton">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
|
||||
<div class="w-full h-fit relative hidden justify-start gap-3 items-center mt-5 overflow-hidden overflow-x-auto"
|
||||
id="notesContainer">
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-yellow-200 p-5">
|
||||
<p class="text-base text-slate-800">Send an Email to Salim.</p>
|
||||
</div>
|
||||
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
|
||||
<div class="w-full h-fit relative hidden justify-start gap-3 items-center mt-5 overflow-hidden overflow-x-auto"
|
||||
id="notesContainer">
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-yellow-200 p-5">
|
||||
<p class="text-base text-slate-800">Send an Email to Salim.</p>
|
||||
</div>
|
||||
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-pink-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Contact the client.</p>
|
||||
</div>
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-pink-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Contact the client.</p>
|
||||
</div>
|
||||
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-green-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-green-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-blue-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-blue-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-purple-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-purple-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-yellow-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-[16.33%] h-[150px] shadow-xl bg-yellow-200 top-90 right-10 p-5">
|
||||
<p class="text-base text-slate-80">Add daily report at the end of the day.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- PROJECTS AND USERS ACTIVITY SECTION -->
|
||||
<div class="w-full flex items-stretch justify-between gap-[2.5%] px-10 pb-5">
|
||||
<!-- LEFT SIDE / PROJECTS SECTION -->
|
||||
<div class="w-[74.5%]">
|
||||
<div class="w-full h-[800px] bg-white rounded-md shadow-md p-5">
|
||||
<h1 class="text-slate-800 text-[30px] font-semibold">My Projects</h1>
|
||||
|
||||
<!-- PROJECT FILTERING -->
|
||||
<div class="w-full py-4 px-3 bg-gray-200 rounded-md shadow-md mt-4 flex justify-between items-center">
|
||||
<div class="flex justify-start items-center gap-5">
|
||||
<input type="text" placeholder="Enter Project Name"
|
||||
class="w-[300px] h-[40px] py-2 px-3 border border-gray-300 rounded-md outline-none">
|
||||
|
||||
<select name="" id=""
|
||||
class="border border-gray-300 p-2 rounded-md outline-none w-[160px] text-gray-500 h-[40px]">
|
||||
<option value="" disabled selected>Status</option>
|
||||
<option value="">Open</option>
|
||||
<option value="">Working On</option>
|
||||
<option value="">Closed</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<a href="{% url 'createproject' %}">
|
||||
<button
|
||||
class="w-fit text-base px-3 py-2 bg-blue-500 text-white outline-none border border-blue-500 rounded-md cursor-pointer hover:bg-white hover:text-blue-500">Create
|
||||
Project</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- PROJECTS AND USERS ACTIVITY SECTION -->
|
||||
<div class="w-full flex items-stretch justify-between gap-[2.5%] px-10 pb-5">
|
||||
<!-- LEFT SIDE / PROJECTS SECTION -->
|
||||
<div class="w-[74.5%]">
|
||||
<div class="w-full h-[800px] bg-white rounded-md shadow-md p-5">
|
||||
<h1 class="text-slate-800 text-[30px] font-semibold">My Projects</h1>
|
||||
|
||||
<!-- PROJECT FILTERING -->
|
||||
<div
|
||||
class="w-full py-4 px-3 bg-gray-200 rounded-md shadow-md mt-4 flex justify-start items-center gap-5">
|
||||
<input type="text" placeholder="Enter Project Name"
|
||||
class="w-[300px] h-[40px] py-2 px-3 border border-gray-300 rounded-md outline-none">
|
||||
|
||||
<select name="" id=""
|
||||
class="border border-gray-300 p-2 rounded-md outline-none w-[160px] text-gray-500 h-[40px]">
|
||||
<option value="" disabled selected>Status</option>
|
||||
<option value="">Open</option>
|
||||
<option value="">Working On</option>
|
||||
<option value="">Closed</option>
|
||||
</select>
|
||||
<div class="mt-5 w-full h-[500px]">
|
||||
<div class="w-full border-x border-t border-gray-300 rounded-t-md ">
|
||||
<!-- TABLE HEADER -->
|
||||
<div
|
||||
class="w-full flex justify-between items-center h-[60px] border-b border-gray-300 rounded-t-md">
|
||||
<div class="w-[10%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">#</p>
|
||||
</div>
|
||||
|
||||
<div class="mt-5 w-full h-[500px]">
|
||||
<div class="w-full border-x border-t border-gray-300 rounded-t-md ">
|
||||
<!-- TABLE HEADER -->
|
||||
<div
|
||||
class="w-full flex justify-between items-center h-[60px] border-b border-gray-300 rounded-t-md">
|
||||
<div
|
||||
class="w-[10%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">#</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p>Project</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">Client</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">Status</p>
|
||||
</div>
|
||||
<div class="w-[15%] h-full flex justify-center items-center">
|
||||
<!-- <div>
|
||||
<div class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p>Project</p>
|
||||
</div>
|
||||
<div class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">Client</p>
|
||||
</div>
|
||||
<div class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-slate-800">Status</p>
|
||||
</div>
|
||||
<div class="w-[15%] h-full flex justify-center items-center">
|
||||
<!-- <div>
|
||||
<i class="fa fa-eye"></i>
|
||||
</div>
|
||||
<div>
|
||||
<i class="fa fa-trash"></i>
|
||||
</div> -->
|
||||
<p class="text-slate-800">Action</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-slate-800">Action</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- TABLE BODY -->
|
||||
<div class="w-full">
|
||||
<!-- 1st row -->
|
||||
{% for project in projects %}
|
||||
<div
|
||||
class="w-full h-[60px] flex justify-between items-center border-b border-gray-300">
|
||||
<div
|
||||
class="w-[10%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.project_id}}</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.name}}</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.customer}}</p>
|
||||
</div>
|
||||
{% if project.status == 'Completed' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-green-700">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Cancelled' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-red-500">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Active' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-orange-700">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Pending' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-yellow-400">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="w-[15%] h-full flex justify-center items-center gap-4">
|
||||
<a href="{% url 'detailed-project' project.project_id %}">
|
||||
<div class="text-[18px] text-blue-500 cursor-pointer">
|
||||
<i class="fa fa-eye"></i>
|
||||
</div>
|
||||
</a>
|
||||
<div class="text-[18px] text-red-500 cursor-pointer">
|
||||
<i class="fa fa-trash"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TABLE BODY -->
|
||||
<div class="w-full">
|
||||
<!-- 1st row -->
|
||||
{% for project in projects %}
|
||||
<div class="w-full h-[60px] flex justify-between items-center border-b border-gray-300">
|
||||
<div class="w-[10%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.project_id}}</p>
|
||||
</div>
|
||||
<div class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.name}}</p>
|
||||
</div>
|
||||
<div class="w-[30%] h-full border-r border-gray-300 flex justify-center items-center">
|
||||
<p class="text-gray-500">{{project.customer}}</p>
|
||||
</div>
|
||||
{% if project.status == 'Completed' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-green-700">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Cancelled' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-red-500">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Active' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-orange-700">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if project.status == 'Pending' %}
|
||||
<div
|
||||
class="w-[15%] h-full border-r border-gray-300 flex justify-center items-center bg-yellow-400">
|
||||
<p class="text-white">{{project.status}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="w-[15%] h-full flex justify-center items-center gap-4">
|
||||
<a href="{% url 'detailed-project' project.project_id %}">
|
||||
<div class="text-[18px] text-blue-500 cursor-pointer">
|
||||
<i class="fa fa-eye"></i>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</a>
|
||||
<div class="text-[18px] text-slate-800 cursor-pointer">
|
||||
<i class="fa fa-edit"></i>
|
||||
</div>
|
||||
<div class="text-[18px] text-red-500 cursor-pointer">
|
||||
<i class="fa fa-trash"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- RIGHT SIDE / USERS ACTIVITY -->
|
||||
<div class="w-[23%] bg-white flex-1 rounded-md shadow-md p-5">
|
||||
<h1 class="text-2xl text-slate-700 text-center font-semibold">USERS ACTIVITY</h1>
|
||||
<div class="w-full h-[300px] mt-2">
|
||||
<!-- RIGHT SIDE / USERS ACTIVITY -->
|
||||
<div class="w-[23%] bg-white flex-1 rounded-md shadow-md p-5">
|
||||
<h1 class="text-2xl text-slate-700 text-center font-semibold">USERS ACTIVITY</h1>
|
||||
<div class="w-full h-[300px] mt-2">
|
||||
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex justify-start gap-2 items-center">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar.svg" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Nataly</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
|
||||
<!-- 1ST ROW -->
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex flex-col justify-center items-start gap-2">
|
||||
<div class="w-full flex justify-between items-center gap-2">
|
||||
<div class="flex justify-start gap-2">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar.svg" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<!-- Add comment section -->
|
||||
<div
|
||||
class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Nataly</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex justify-start gap-2 items-center">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar2.png" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Salim</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
<!-- Status -->
|
||||
<div class="w-full">
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
|
||||
<!-- Add comment section -->
|
||||
<div class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 2NT ROW -->
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex flex-col justify-center items-start gap-2">
|
||||
<div class="w-full flex justify-between items-center gap-2">
|
||||
<div class="flex justify-start gap-2">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar2.png" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<!-- Add comment section -->
|
||||
<div
|
||||
class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Salim</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex justify-start gap-2 items-center">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar3.png" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Emile</h1>
|
||||
<p class="text-sm text-gray-500">12:30 PM</p>
|
||||
<p class="text-sm text-gray-500">Working - Create the Osina home page</p>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
<!-- Status -->
|
||||
<div class="w-full">
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
|
||||
<!-- Add comment section -->
|
||||
<div class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 3RD ROW -->
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex flex-col justify-center items-start gap-2">
|
||||
<div class="w-full flex justify-between items-center gap-2">
|
||||
<div class="flex justify-start gap-2">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar3.png" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<!-- Add comment section -->
|
||||
<div
|
||||
class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Emile</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex justify-start gap-2 items-center">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar.svg" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Nataly</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
<p class="text-sm text-gray-500">Closed - Create Enooma home page</p>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
<!-- Status -->
|
||||
<div class="w-full">
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
|
||||
<!-- Add comment section -->
|
||||
<div class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 4TH ROW -->
|
||||
<div class="w-full flex flex-col py-3">
|
||||
<div class="w-full flex flex-col justify-center items-start gap-2">
|
||||
<div class="w-full flex justify-between items-center gap-2">
|
||||
<div class="flex justify-start gap-2">
|
||||
<div class="w-[45px] h-[45px] rounded-full">
|
||||
<img src='{% static "images/avatar.svg" %}' alt="user profile"
|
||||
class="w-full h-full object-cover">
|
||||
</div>
|
||||
<!-- Add comment section -->
|
||||
<div
|
||||
class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="text-sm text-slate-700 font-semibold">Nataly</h1>
|
||||
<p class="text-sm text-gray-500">11:30 AM</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cursor-pointer">
|
||||
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Status -->
|
||||
<div class="w-full">
|
||||
<p class="text-sm text-gray-500">Closed - Create the Osina home page</p>
|
||||
</div>
|
||||
|
||||
<!-- Add comment section -->
|
||||
<div class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
||||
<input type="text" placeholder="Add Comment..."
|
||||
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
||||
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
||||
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- POPUP MODAL -->
|
||||
<div class="w-full h-full bg-black bg-opacity-40 z-20 fixed justify-center items-center hidden" id="popUpModal">
|
||||
<div class="w-[95%] md:w-fit h-fit bg-white rounded-md p-9 relative">
|
||||
<button class="absolute top-3 right-5 text-slate-800 text-xl cursor-pointer outline-none border-none"
|
||||
id="closeModalButton">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<iframe id="popupModalFrame" frameborder="0"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src='{% static "js/pop-modals.js" %}'></script>
|
||||
<!-- POPUP MODAL -->
|
||||
<div class="w-full h-full bg-black bg-opacity-40 z-20 fixed justify-center items-center hidden" id="popUpModal">
|
||||
<div class="w-[95%] md:w-fit h-fit bg-white rounded-md p-9 relative">
|
||||
<button class="absolute top-3 right-5 text-slate-800 text-xl cursor-pointer outline-none border-none"
|
||||
id="closeModalButton">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<iframe id="popupModalFrame" frameborder="0"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src='{% static "js/pop-modals.js" %}'></script>
|
||||
</div>
|
||||
|
||||
<!---------------------- JS SCRIPTS -------------------->
|
||||
|
||||
<!-- TO SHOW ALL THE ADDED NOTES BY THE USER WHEN CLICKING ON THE SHOW NOTES BUTTON -->
|
||||
<script type="text/javascript" src='{% static "js/show-notes.js" %}'></script>
|
||||
|
||||
{% endblock content %}
|
Loading…
Reference in New Issue