New changes.

main
nataly 1 year ago
parent 7fd912e1d7
commit adb4efe623

Binary file not shown.

@ -2,6 +2,7 @@
@tailwind components;
@tailwind utilities;
::-webkit-scrollbar {
width: 5px;
/* Width of the entire scrollbar */

@ -109,6 +109,18 @@ def my_tasks(request, *args, **kwargs):
return render(request, 'listing_pages/tasks.html', context)
@login_required
def my_notes(request):
my_notes = Note.objects.filter(user=request.user).order_by('-id')
context = {
'my_notes': my_notes,
}
return render(request, 'listing_pages/notes.html', context)
@login_required
def customers(request, *args, **kwargs):
customers = CustomerProfile.objects.all().order_by('-customer_id')
@ -157,12 +169,12 @@ def tags(request):
context = {
'tags' : tags,
}
return render(request, 'listing_pages/tags.html', context)
def daily_reports(request):
dailyreports = DailyReport.objects.all().order_by('-id')
@ -412,6 +424,13 @@ def add_note_modal(request, *args, **kwargs):
return render(request, 'popup_modals/addnote-modal.html', context)
def add_project_note_modal(request, *args, **kwargs):
context = {
}
return render(request, 'popup_modals/add-project-note-modal.html', context)
def add_status_modal(request, *args, **kwargs):
context = {
@ -1648,6 +1667,21 @@ def delete_customer_modal(request, customer_id):
return render(request, "delete_modals/delete-customer-modal.html", context)
@login_required
def delete_note_modal(request, note_id):
note = get_object_or_404(Note, id=note_id)
if request.method == 'POST':
note.delete()
return redirect('my-notes')
context = {
'note': note,
}
return render(request, "delete_modals/delete-note-modal.html", context)
@login_required
def delete_business_modal(request, business_id):
business = get_object_or_404(Business, id=business_id)

@ -28,6 +28,7 @@ urlpatterns = [
path('', login_required(views.home), name='home'),
path('my-projects/', login_required(views.my_projects), name='my-projects'),
path('my-tasks/', login_required(views.my_tasks), name='my-tasks'),
path('my-notes/', login_required(views.my_notes), name='my-notes'),
path('customers/', views.customers, name='customers'),
path('addcustomer/', views.add_customer, name='addcustomer'),
path('add-business/', views.addbusiness, name='addbusiness'),
@ -70,6 +71,7 @@ urlpatterns = [
#Modals urls
path('add-status/', views.add_status_modal, name='addstatus'),
path('add-note/', views.add_note_modal, name='addnote'),
path('add-project-note/', views.add_project_note_modal, name='addprojectnote'),
path('add-file/', views.add_file_modal, name='addfile'),
path('add-user-story/', views.add_user_story_modal, name='adduserstory'),
path('add-credentials/', views.add_credentials_modal, name='addcredentials'),
@ -94,6 +96,7 @@ urlpatterns = [
path('deletestaffmodal/<int:staff_id>', views.delete_staff_modal, name='deletestaffmodal'),
path('deleteprojectmodal/<int:project_id>', views.delete_project_modal, name='deleteprojectmodal'),
path('deletetaskmodal/<int:task_id>', views.delete_task_modal, name='deletetaskmodal'),
path('deletenotemodal/<int:note_id>', views.delete_note_modal, name='deletenotemodal'),
#Save Urls
path('save_note/', views.save_note, name='save_note'),

Binary file not shown.

Binary file not shown.

@ -693,6 +693,10 @@ video {
right: 0px;
}
.right-1 {
right: 0.25rem;
}
.right-10 {
right: 2.5rem;
}
@ -721,6 +725,10 @@ video {
top: 2.5rem;
}
.top-2 {
top: 0.5rem;
}
.top-3 {
top: 0.75rem;
}
@ -930,10 +938,6 @@ video {
height: 70px;
}
.h-\[800px\] {
height: 800px;
}
.h-\[80px\] {
height: 80px;
}
@ -959,6 +963,10 @@ video {
width: 12rem;
}
.w-\[100px\] {
width: 100px;
}
.w-\[120px\] {
width: 120px;
}
@ -1278,6 +1286,10 @@ video {
white-space: nowrap;
}
.whitespace-pre-wrap {
white-space: pre-wrap;
}
.rounded-full {
border-radius: 9999px;
}
@ -1300,6 +1312,11 @@ video {
border-end-end-radius: 0.375rem;
}
.rounded-l-md {
border-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
}
.rounded-t-md {
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
@ -1447,6 +1464,10 @@ video {
border-color: rgb(234 179 8 / var(--tw-border-opacity));
}
.border-opacity-30 {
--tw-border-opacity: 0.3;
}
.bg-black {
--tw-bg-opacity: 1;
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
@ -2266,6 +2287,12 @@ video {
}
}
.hover\:scale-105:hover {
--tw-scale-x: 1.05;
--tw-scale-y: 1.05;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:bg-blue-500:hover {
--tw-bg-opacity: 1;
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
@ -2366,6 +2393,10 @@ video {
width: fit-content;
}
.s\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.s\:flex-row {
flex-direction: row;
}
@ -2420,6 +2451,10 @@ video {
width: fit-content;
}
.md\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.md\:flex-row {
flex-direction: row;
}
@ -2448,6 +2483,10 @@ video {
width: fit-content;
}
.l\:max-w-xl {
max-width: 36rem;
}
.l\:flex-row {
flex-direction: row;
}
@ -2523,6 +2562,10 @@ video {
width: fit-content;
}
.xl\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.xl\:flex-row {
flex-direction: row;
}

@ -0,0 +1,22 @@
var modal = document.getElementById("notesModal");
var modalContent = document.getElementById("noteContent");
function showModal(text, color) {
modalContent.innerHTML = text;
modalContent.style.backgroundColor = color;
modal.style.display = "flex";
}
function closeModal() {
modal.style.display = "none";
}
// Close the modal when clicking outside the container
window.onclick = function (event) {
if (event.target == modal) {
modal.style.display = "none";
}
}

@ -45,6 +45,7 @@ document.addEventListener("DOMContentLoaded", function () {
// Add button click listeners with dimensions for specific class names
addButtonClickListener("addStatusButton", "450px", "200px");
addButtonClickListener("addNoteButton", "400px", "225px");
addButtonClickListener("addProjectNoteButton", "400px", "225px");
addButtonClickListener("updateStatusButton", "fit-content", "160px");
addButtonClickListener("showPointsButton", "600px", "450px");
addButtonClickListener("addPointButton", "500px", "225px");
@ -62,7 +63,7 @@ document.addEventListener("DOMContentLoaded", function () {
addButtonClickListener("usersActivityIcon", "400px", "600px");
addButtonClickListener("addStatusButtonMobile", "500px", "80px");
addButtonClickListener("userRecentActivitiesButton", "400px", "600px");
addButtonClickListener("addUserStoryButton", "400px", "180px");
addButtonClickListener("addUserStoryButton", "400px", "160px");
@ -72,9 +73,8 @@ document.addEventListener("DOMContentLoaded", function () {
addButtonClickListener("deleteStaffButton", "400px", "140px");
addButtonClickListener("deleteProjectButton", "400px", "140px");
addButtonClickListener("deleteTaskButton", "400px", "140px");
addButtonClickListener("deleteNoteButton", "400px", "140px");

@ -0,0 +1,30 @@
{%load static%}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href='{% static "dist/output.css" %}'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<form id="hiddenContent" method="post" action="{% url 'deletenotemodal' note.id %}" target="_parent">
{% csrf_token %}
<div class="h-[140px] flex flex-col justify-center items-center">
<h1 class="text-slate-800 text-xl font-semibold text-center">Are you sure you want to delete this note?</h1>
<div class="w-full flex justify-center items-center mt-5 gap-5">
<button
class="w-fit bg-red-500 border border-red-500 rounded-md text-white text-base px-3 py-2 hover:bg-white hover:text-red-500">Delete</button>
</div>
</div>
</form>
</body>
</html>

@ -9,6 +9,26 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"
fill="grey" />
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,25 +61,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -77,7 +104,8 @@
<!-- LEFT SIDE / BUSINESS DETAIL SECTION -->
<div class="w-full xxlg1:w-[75%] bg-white h-fit rounded-md shadow-md p-5">
<div class="w-full bg-slate-700 rounded-t-md flex flex-col justify-center items-center py-2 gap-3 mt-[50px]">
<div class="w-[70px] s:w-[100px] h-[70px] s:h-[100px] rounded-full mt-[-50px] s:mt-[-63px] border border-gray-300">
<div
class="w-[70px] s:w-[100px] h-[70px] s:h-[100px] rounded-full mt-[-50px] s:mt-[-63px] border border-gray-300">
<img src="{{business.logo.url}}" alt="" class="w-full h-full object-cover rounded-full">
</div>
<h1 class="text-xl s:text-3xl text-white font-semibold">{{business.name}}</h1>
@ -85,7 +113,8 @@
<div class="w-full h-fit flex justify-end items-center bg-gray-100 shadow-md rounded-md px-3 py-3 mt-4">
<div class="w-full s:w-fit flex flex-col s:flex-row justify-end items-center gap-3">
<button
class="w-full s:w-fit text-base px-3 py-2 bg-red-500 text-white outline-none border border-red-500 rounded-md cursor-pointer hover:bg-white hover:text-red-500 deleteBusinessButton" data-modal-url="{% url 'deletebusinessmodal' business.id %}">Delete
class="w-full s:w-fit text-base px-3 py-2 bg-red-500 text-white outline-none border border-red-500 rounded-md cursor-pointer hover:bg-white hover:text-red-500 deleteBusinessButton"
data-modal-url="{% url 'deletebusinessmodal' business.id %}">Delete
Business</button>
<a href="{% url 'editbusiness' business.business_id %}" class="w-full s:w-fit">
<button
@ -97,7 +126,8 @@
<div class="w-full flex flex-col gap-4 mt-5">
<div>
<p class="text-gray-500 text-xl">Name: <span class="text-slate-800 text-xl font-semibold">{{business.name}}</span>
<p class="text-gray-500 text-xl">Name: <span
class="text-slate-800 text-xl font-semibold">{{business.name}}</span>
</p>
</div>
@ -107,7 +137,8 @@
</div>
<div>
<p class="text-gray-500 text-xl">VAT: <span class="text-slate-800 text-xl font-semibold">{{business.vat}}</span>
<p class="text-gray-500 text-xl">VAT: <span
class="text-slate-800 text-xl font-semibold">{{business.vat}}</span>
</p>
</div>
@ -132,12 +163,15 @@
</div>
<div>
<p class="text-gray-500 text-xl">Related Customer:
{% for customer_profile in business.customerprofile_set.all %}
<a class="cursor-pointer" href="{% url 'customerdetails' customer_profile.customer_id %}"> <span class="text-blue-500 text-xl font-semibold hover:text-slate-700 underline">{{ customer_profile.user.first_name }} {{customer_profile.user.last_name}} <i class="fa fa-angle-double-right"></i>
{% if not forloop.last %}, {% endif %}
<p class="text-gray-500 text-xl">Related Customer:
{% for customer_profile in business.customerprofile_set.all %}
<a class="cursor-pointer" href="{% url 'customerdetails' customer_profile.customer_id %}"> <span
class="text-blue-500 text-xl font-semibold hover:text-slate-700 underline">{{
customer_profile.user.first_name }} {{customer_profile.user.last_name}} <i
class="fa fa-angle-double-right"></i>
{% if not forloop.last %}, {% endif %}
</span> </a>
{%endfor%}
{%endfor%}
</p>
</div>
@ -189,4 +223,7 @@
<!-- THE SCRIPT FOR THE EPICS BAR -->
<script type="text/javascript" src='{% static "js/epics.js" %}'></script>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,26 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,25 +61,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -166,7 +193,7 @@
<!-- BUSINESS -->
<div class="mt-5 relative">
<div
class=" bg-slate-700 border border-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
class=" bg-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-white uppercase font-bold">Businesses</p>
</div>
@ -291,4 +318,7 @@
<!-- THE SCRIPT FOR THE EPICS BAR -->
<script type="text/javascript" src='{% static "js/epics.js" %}'></script>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,21 +9,46 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"
fill="grey" />
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
<div class="w-full flex flex-col s:flex-row justify-between gap-3 s:gap-0 items-center">
<div class="w-full s:w-fit">
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ last_note_color }};">
<div class="w-full s:w-fit flex justify-between items-center">
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
</div>
<button
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
</div>
<div class="w-full s:w-fit flex justify-start s:justify-end items-center gap-4">
<div class="w-full s:w-fit hidden s:flex justify-start s:justify-end items-center gap-4">
<button
class="w-full s: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
@ -36,41 +61,38 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit hidden mt-5" id="notesContainer">
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div>
</div>
</div>
</div>
@ -234,13 +256,14 @@
<div class="w-full mt-5">
<div class="overflow-x-auto border border-gray-300 rounded-md mt-5">
<div
class=" bg-slate-700 border border-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
class=" bg-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-white uppercase font-bold">User Stories</p>
</div>
<button
class="h-full rounded-tr-md px-4 bg-gray-300 text-slate-700 text-[18px] outline-none border-none cursor-pointer flex justify-center items-center addUserStoryButton" data-modal-url="{% url 'adduserstory' %}">
class="h-full rounded-tr-md px-4 bg-gray-300 text-slate-700 text-[18px] outline-none border-none cursor-pointer flex justify-center items-center addUserStoryButton"
data-modal-url="{% url 'adduserstory' %}">
<i class="fa fa-plus"></i>
</button>
</div>
@ -274,7 +297,7 @@
</td>
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
<a class="text-slate-800">Cars and classics inner pages</a>
<p class="text-slate-800">-</p>
</td>
@ -310,11 +333,10 @@
</div>
<!-- CREDENTIALS -->
<div class="mt-5 relative">
<div
class=" bg-slate-700 border border-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
class=" bg-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-white uppercase font-bold">Credentials</p>
</div>
@ -380,9 +402,9 @@
<!-- RELATED FILES -->
<div class="w-full mt-5">
<div class="overflow-x-auto border border-gray-300 rounded-md mt-5" id="customersContainer">
<div class="overflow-x-auto border border-gray-300 rounded-md mt-5">
<div
class=" bg-slate-700 border border-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
class=" bg-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-white uppercase font-bold">Related files</p>
</div>
@ -444,6 +466,77 @@
</div>
</div>
<!-- NOTES -->
<div class="w-full mt-5">
<div class="overflow-x-auto border border-gray-300 rounded-md mt-5">
<div
class=" bg-slate-700 rounded-t-md flex justify-between items-center text-white text-xl font-bold h-[50px]">
<div class="px-3">
<p class="text-white uppercase font-bold">Notes</p>
</div>
<button
class="h-full rounded-tr-md px-4 bg-gray-300 text-slate-700 text-[18px] outline-none border-none cursor-pointer flex justify-center items-center addProjectNoteButton"
data-modal-url="{% url 'addprojectnote' %}">
<i class="fa fa-plus"></i>
</button>
</div>
<table class="min-w-full divide-y">
<!-- TABLE HEADER -->
<thead class="bg-gray-50">
<tr>
<th scope="col"
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
Note
</th>
<th scope="col"
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
Date
</th>
<th scope="col"
class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
Added 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">
<!-- 1st row -->
<tr>
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
<p class="text-slate-800">Note Content</p>
</td>
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
<p class="text-slate-800">2-11-2023</p>
</td>
<td class="px-6 py-4 text-center text-sm border-r border-gray-300">
<p class="text-slate-800">Nataly Abi Wajeh</p>
</td>
<td class="px-6 py-4 text-center text-sm">
<button
class="w-full py-2 px-3 bg-red-500 border border-red-500 text-white cursor-pointer rounded-md hover:bg-white hover:text-red-500">Delete</button>
</td>
</tr>
<!-- <tr>
<td colspan="3" class="px-6 py-4 text-center text-sm text-slate-800">
No Available Notes
</td>
</tr> -->
</tbody>
</table>
</div>
</div>
<!-- TAGS -->
<div>
@ -571,4 +664,7 @@
<!-- TO DISPLAY THE PROJECT PROGRESS BAR BASED ON ITS REMAINING TIME -->
<script type="text/javascript" src='{% static "js/calculate-project-time.js" %}'></script>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,26 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,25 +61,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -181,4 +208,7 @@
<!-- THE SCRIPT FOR THE EPICS BAR -->
<script type="text/javascript" src='{% static "js/epics.js" %}'></script>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -8,6 +8,26 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -16,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -42,25 +60,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -398,4 +425,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -2,6 +2,51 @@
{%load static%}
{% block content %}
<style>
/* .bread{
height:40px;
background:red;
color:#fff;
position:relative;
width:200px;
text-align:center;
line-height:40px;
}
.bread:after{
content:"";
position:absolute;
height:0;
width:0;
left:100%;
top:0;
border:20px solid transparent;
border-left: 20px solid red;
} */
/* .nextbread {
height:40px;
background:red;
color:#fff;
position:relative;
width:200px;
text-align:center;
line-height:40px;
}
.nextbread:after {
content:"";
position:absolute;
height:0;
width:0;
left:100%;
top:0;
border:20px solid transparent;
border-left: 20px solid red;
} */
</style>
<!-- USERS ACTIVITIES ON MOBILE -->
<div class="w-[55px] h-[55px] bg-slate-700 rounded-full fixed xxlg1:hidden bottom-3 right-3 p-2 flex justify-center items-center cursor-pointer usersActivityIcon z-20"
@ -9,6 +54,25 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md relative" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"
fill="grey" />
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
@ -18,15 +82,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -44,25 +106,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-sm text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
<p class="text-sm text-slate-800">{{note.text}}</p>
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -73,6 +144,20 @@
</div>
</div>
<!-- <div class="w-full px-5 s:px-9 pb-5">
<div class="w-full px-3 py-5 flex items-center bg-white shadow-md rounded-md text-gray-500 font-light">
<div
class="bread ">
<p>Home</p>
</div>
<div
class="nextbread ">
<p>Home</p>
</div>
</div>
</div> -->
<!-- TASKS AND USERS ACTIVITY SECTION -->
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
<!-- LEFT SIDE / TASKS SECTION -->
@ -539,5 +624,8 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,47 +60,45 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<!-- PROJECT TYPES LISTING AND USERS ACTIVITY SECTION -->
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
<!-- LEFT SIDE / BUSINESS TYPES SECTION -->
@ -197,4 +212,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -10,6 +10,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -18,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -44,47 +61,45 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<!-- BUSINESSES AND USERS ACTIVITY SECTION -->
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
<!-- LEFT SIDE / BUSINESSES SECTION -->
@ -227,4 +242,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,25 +60,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -235,4 +261,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,41 +60,38 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
@ -201,4 +215,7 @@
<!-- TO DISPLAY THE DAILY REPORT CONTENT -->
<script type="text/javascript" src='{% static "js/daily-reports.js" %}'></script>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -0,0 +1,190 @@
{% extends "main.html" %}
{%load static%}
{% block content %}
<!-- USERS ACTIVITIES ON MOBILE -->
<div class="w-[55px] h-[55px] bg-slate-700 rounded-full fixed xxlg1:hidden bottom-3 right-3 p-2 flex justify-center items-center cursor-pointer usersActivityIcon z-20"
data-modal-url="{% url 'getupdatedactivities' %}">
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
<div class="w-full flex flex-col s:flex-row justify-between gap-3 s:gap-0 items-center">
<div class="w-full s:w-fit flex justify-between items-center">
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
</div>
<div class="w-full s:w-fit hidden s:flex justify-start s:justify-end items-center gap-4">
<button
class="w-full s: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 addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PROJECT TYPES LISTING AND USERS ACTIVITY SECTION -->
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
<!-- LEFT SIDE / PROJECT TYPES SECTION -->
<div class="w-full xxlg1:w-[75%]">
<div class="w-full h-fit bg-white rounded-md shadow-md p-5">
<h1 class="text-slate-800 text-[30px] font-semibold">Notes</h1>
<!-- FILTERING -->
<div class="w-full py-3 px-3 bg-gray-200 rounded-md shadow-md mt-4 flex justify-end items-center">
<button
class="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 addNoteButton"
data-modal-url="{% url 'addnote' %}">Add
Note</button>
</div>
<!-- NOTES -->
<div class="w-full grid grid-cols-1 s:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-5 mt-5">
{% for note in my_notes %}
<div>
<div class="w-full rounded-t-md px-3 py-2 flex justify-between items-center border-b border-white border-opacity-30"
style="background-color: {{note.color}}">
<p class="text-sm text-gray-500">{{ note.date|date:"F j, Y" }}</p>
<button
class="w-[30px] h-[30px] bg-white shadow-md rounded-md p-2 flex justify-center items-center cursor-pointer hover:scale-105 duration-300 transition-transform deleteNoteButton" data-modal-url="{% url 'deletenotemodal' note.id %}"
style="color: {{note.color}};">
<i class="fa fa-trash"></i>
</button>
</div>
<div class="h-[150px] shadow-md rounded-b-md p-5 cursor-pointer"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- RIGHT SIDE / USERS ACTIVITY -->
{% if latest_statuses_time_ago %}
<div class="hidden xxlg1:block w-[25%] bg-white h-[630px] overflow-y-auto overflow-hidden 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-fit mt-2" id="activitiesContainer">
{% include 'recent-activities.html' %}
</div>
</div>
{% else %}
<div class="hidden xxlg1:block w-[25%] bg-white h-[305px] overflow-y-auto overflow-hidden 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-fit mt-2" id="activitiesContainer">
{% include 'recent-activities.html' %}
</div>
</div>
{% endif %}
</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>
<!---------------------- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,41 +60,38 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
@ -198,4 +212,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -10,6 +10,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -18,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -44,25 +61,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -249,4 +275,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,41 +60,38 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
@ -207,4 +221,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -10,6 +10,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -18,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -44,48 +61,44 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<!-- USERS AND USERS ACTIVITY SECTION -->
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
<!-- LEFT SIDE / USERS SECTION -->
@ -201,4 +214,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -10,6 +10,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -18,15 +37,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -44,25 +61,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -209,4 +235,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -9,6 +9,25 @@
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -17,15 +36,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -43,41 +60,38 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
</div>
<!-- <div class="flex justify-center items-center gap-3 mt-5">
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderLeft">
<i class="fa fa-angle-left"></i>
</div>
<div class="w-[35px] h-[35px] bg-slate-700 b rounded-md text-white flex justify-center items-center text-[18px] cursor-pointer z-10"
id="sliderRight">
<i class="fa fa-angle-right"></i>
</div>
</div> -->
</div>
</div>
</div>
@ -200,4 +214,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -8,6 +8,25 @@
<img src="{% static 'images/usersactivity.png' %}" alt="Users">
</div>
<!-- NOTES POPUP THAT APPEARS WHEN CLICKING ON A SPECIFIC NOTE -->
<div id="notesModal"
class="w-full h-full bg-black bg-opacity-40 z-20 fixed hidden justify-center items-center inset-0 p-5">
<div class="w-full s:w-[500px] h-fit rounded-md p-5 cursor-pointer relative"
style="background-color: {{note.color}}">
<p class="text-base text-gray-500 p-5 rounded-md" id="noteContent">
</p>
<div class="bg-white rounded-full h-[30px] w-[30px] shadow-md absolute top-2 right-2 p-2 flex justify-center items-center cursor-pointer"
onclick="closeModal()">
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512">
<path
d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z" fill="grey"/>
</svg>
</div>
</div>
</div>
<!-- NOTES SECTION -->
<div class="w-full px-5 s:px-9 pb-5">
<div class="w-full h-fit bg-white shadow-md rounded-md p-5">
@ -16,15 +35,13 @@
<div>
<p class="text-base text-gray-500">Recent Note:</p>
<div class="flex justify-start items-center gap-2">
<div class="w-[13px] h-[13px] bg-red-200 rounded-full"
style="background-color: {{ recent_note.color }};">
<div class="w-[13px] h-[13px] rounded-full" style="background-color: {{ recent_note.color }};">
</div>
<p class="text-slate-700">{{recent_note.text}}</p>
<p class="text-slate-700 truncate max-w-xs l:max-w-xl">{{recent_note.text}}</p>
</div>
</div>
<button
class="w-[35px] h-[35px] rounded-full p-2 bg-gray-300 text-white text-[20px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
class="w-[30px] h-[30px] rounded-full p-2 bg-gray-300 text-white text-[18px] outline-none border-none cursor-pointer flex s:hidden justify-center items-center shadow-md addNoteButton"
data-modal-url="{% url 'addnote' %}">
<i class="fa fa-plus"></i>
</button>
@ -42,25 +59,34 @@
</div>
</div>
<!-- ALL NOTES CONTAINER (it appears when clicking on the "Show notes" button) -->
<!-- ALL NOTES CONTAINER (appears when clicking on the "Show notes" button) -->
<div class="w-full h-fit mt-5 hidden" id="notesContainer">
<div class="w-full hidden lg:grid grid-cols-3 xlg:grid-cols-6 gap-3">
{% for note in notes %}
<div class="h-[150px] shadow-sm p-5" style="background-color: {{note.color}}">
<p class="text-base text-slate-800">{{note.text}}</p>
<div class="h-[150px] shadow-md rounded-md p-5 cursor-pointer" style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
{% endfor %}
</div>
<!-- MOBILE NOTES IN SLIDER -->
<div class="w-full black lg:hidden">
<div class="swiper-container mt-5">
<div class="swiper-wrapper">
{% for note in notes %}
<div class="swiper-slide">
<div class="w-full h-[150px] p-3 flex justify-start items-start"
style="background-color: {{note.color}}">
{{note.text}}
<div class="swiper-slide cursor-pointer">
<div class="w-full h-[150px] p-3 flex justify-start items-start rounded-md shadow-md"
style="background-color: {{note.color}}"
onclick="showModal('{{ note.text }}', '{{ note.color }}')">
<p class="text-sm text-gray-500 overflow-hidden"
style="word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;">
{{ note.text }}
</p>
</div>
</div>
{% endfor %}
@ -505,4 +531,7 @@
<!-- 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>
<!-- IT OPENS A POPUP FOR THE WHOLE NOTE CONTENT -->
<script type="text/javascript" src='{% static "js/notes-pop-modal.js" %}'></script>
{% endblock content %}

@ -125,6 +125,12 @@
</div>
</a>
<a href="{% url 'my-notes' %}">
<div class="w-full flex justify-start items-center gap-3 text-white py-2 text-[18px]">
<p class="text-white">My Notes</p>
</div>
</a>
<a href="{% url 'dailyreports' %}">
<div class="w-full flex justify-start items-center gap-3 text-white py-2 text-[18px]">
<p class="text-white">Daily Reports</p>

@ -0,0 +1,111 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Osina</title>
<link rel="stylesheet" type="text/css" href='{% static "dist/output.css" %}'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<form id="hiddenContent" method="POST" action="">
{% csrf_token %}
<h1 class="text-slate-800 text-2xl font-semibold text-center">Add Note</h1>
<div class="w-full flex justify-center items-center">
<input required name="note_text" type="text" placeholder="Type your note here..."
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4">
</div>
<div class="w-full flex justify-between items-center flex-wrap mt-4">
<div class="color-option w-[40px] h-[40px] rounded-full bg-blue-200 cursor-pointer"
style="background-color: #BFDBFF;" id="blue">
</div>
<div class="color-option w-[40px] h-[40px] rounded-full bg-pink-200 cursor-pointer"
style="background-color: #FBCFE8;" id="pink">
</div>
<div class="color-option w-[40px] h-[40px] rounded-full bg-yellow-200 cursor-pointer"
style="background-color: #FEEF91;" id="yellow">
</div>
<div class="color-option w-[40px] h-[40px] rounded-full bg-green-200 cursor-pointer"
style="background-color: #B6FAD0;" id="green">
</div>
<div class="color-option w-[40px] h-[40px] rounded-full bg-purple-200 cursor-pointer"
style="background-color: #EBD6F9;" id="purple">
</div>
<div class="color-option w-[40px] h-[40px] rounded-full bg-red-200 cursor-pointer"
style="background-color: #FFCACA;" id="red">
</div>
</div>
<div>
<input required name="note_color" type="text"
class="w-full border border-gray-300 rounded-md py-1 px-3 outline-none h-[50px] mt-4 hidden"
id="hexCodeDisplay">
</div>
<script>
// TO GET THE COLOR OF THE DIV
const colorOptions = document.querySelectorAll('.color-option');
const hexCodeDisplay = document.getElementById('hexCodeDisplay');
colorOptions.forEach((colorOption) => {
colorOption.addEventListener('click', () => {
// Remove borders from all color-options
colorOptions.forEach((option) => {
option.style.border = 'none';
});
// Get the id and background color of the clicked color div
const colorId = colorOption.id;
const bgColor = colorOption.style.backgroundColor;
// Convert the RGB color to a hex code (if it's in RGB format)
const hexColor = rgbToHex(bgColor);
// Display the hex code in the input field
hexCodeDisplay.value = hexColor;
// Apply a black border to the selected color-option
colorOption.style.border = '3px solid gray';
console.log(`Selected color ID: ${colorId}`);
});
});
// Function to convert RGB color to hex code
function rgbToHex(rgb) {
const rgbaArray = rgb.match(/\d+/g);
const hexArray = rgbaArray.map((value) => {
const hex = parseInt(value, 10).toString(16);
return hex.length === 1 ? '0' + hex : hex;
});
return '#' + hexArray.join('');
}
</script>
<div class="w-full flex justify-center items-center mt-6">
<button type="submit"
class="w-fit bg-blue-500 border border-blue-500 rounded-md text-white text-xl px-3 py-2 hover:bg-white hover:text-blue-500">Add</button>
</div>
</form>
</body>
</html>

@ -18,9 +18,6 @@
<h1 class="text-slate-800 text-2xl font-semibold text-center">Add User Story</h1>
<div class="w-full flex justify-center items-center">
<input name="project" type="text" value=""
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4"
required>
<input name="content" type="text" placeholder="User Story"
class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4"
required>

@ -23,11 +23,11 @@
</div>
<div class="w-full flex justify-center items-center">
<input type="password" placeholder="Password" class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4">
<input type="text" placeholder="Password" class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4">
</div>
<div class="w-full flex justify-center items-center">
<input type="password" placeholder="Used for" class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4">
<input type="text" placeholder="Used for" class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4">
</div>
<div class="w-full flex justify-center items-center mt-6">

Loading…
Cancel
Save