You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			488 lines
		
	
	
		
			25 KiB
		
	
	
	
		
			HTML
		
	
			
		
		
	
	
			488 lines
		
	
	
		
			25 KiB
		
	
	
	
		
			HTML
		
	
{% extends "main.html" %}
 | 
						|
{%load static%}
 | 
						|
{% block title %}My Projects{% endblock %}
 | 
						|
{% 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 class="hidden md:block">
 | 
						|
                    <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>
 | 
						|
 | 
						|
                <div class="w-full flex justify-between items-center md:hidden">
 | 
						|
                    <p class="text-base text-gray-500">My Notes</p>
 | 
						|
 | 
						|
                    <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>
 | 
						|
 | 
						|
            <div class="w-full s:w-fit hidden md: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 hidden mt-3 s:mt-5" 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 block lg:hidden">
 | 
						|
                <div class="swiper-container mt-3">
 | 
						|
                    <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>
 | 
						|
 | 
						|
 | 
						|
<!-- CUSTOMER DETAIL AND USERS ACTIVITY SECTION -->
 | 
						|
<div class="w-full flex justify-between gap-5 px-5 s:px-9 pb-5">
 | 
						|
    <!-- LEFT SIDE / CUSTOMER DETAIL SECTION -->
 | 
						|
    <div class="w-full xxlg1:w-[75%] bg-white h-fit rounded-md shadow-md p-5">
 | 
						|
        {% if customer.status == 'Active' %}
 | 
						|
        <div class="w-full bg-green-700 rounded-t-md flex flex-col justify-center items-center py-3">
 | 
						|
            <h1 class="text-3xl text-white font-semibold">{{customer.first_name}} {{customer.last_name}}</h1>
 | 
						|
            <p class="text-white text-base">{{customer.customer_id}}</p>
 | 
						|
        </div>
 | 
						|
        {% endif %}
 | 
						|
        {% if customer.status == 'Suspended' %}
 | 
						|
        <div class="w-full bg-red-500 rounded-t-md flex flex-col justify-center items-center py-3">
 | 
						|
            <h1 class="text-3xl text-white font-semibold">{{customer.first_name}} {{customer.last_name}}</h1>
 | 
						|
            <p class="text-white text-base">{{customer.customer_id}}</p>
 | 
						|
        </div>
 | 
						|
        {% endif %}
 | 
						|
        {% if customer.status == 'Terminated' %}
 | 
						|
        <div class="w-full bg-gray-500 rounded-t-md flex flex-col justify-center items-center py-3">
 | 
						|
            <h1 class="text-3xl text-white font-semibold">{{customer.first_name}} {{customer.last_name}}</h1>
 | 
						|
            <p class="text-white text-base">{{customer.customer_id}}</p>
 | 
						|
        </div>
 | 
						|
        {% endif %}
 | 
						|
 | 
						|
        <div class="w-full h-fit flex justify-end items-center bg-gray-100 shadow-md rounded-md px-3 py-3 mt-3">
 | 
						|
            <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 deleteCustomerButton"
 | 
						|
                    data-modal-url="{% url 'deletecustomermodal' customer.id %}">Delete
 | 
						|
                    Customer</button>
 | 
						|
                <a href="{% url 'editcustomer' customer.customer_id %}" class="w-full s:w-fit">
 | 
						|
                    <button
 | 
						|
                        class="w-full s:w-fit text-base px-3 py-2 bg-blue-500 text-white outline-none border border-blue-500 rounded-md cursor-pointer hover:bg-white hover:text-blue-500">Edit
 | 
						|
                        Customer</button>
 | 
						|
                </a>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
        <div class="w-full flex flex-col gap-4 mt-5">
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">First Name: <span
 | 
						|
                        class="text-slate-800 text-xl font-semibold">{{customer.user.first_name}}</span></p>
 | 
						|
            </div>
 | 
						|
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Last Name: <span
 | 
						|
                        class="text-slate-800 text-xl font-semibold">{{customer.user.last_name}}</span></p>
 | 
						|
            </div>
 | 
						|
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Email: <span
 | 
						|
                        class="text-slate-800 text-xl font-semibold">{{customer.user.email}}</span></p>
 | 
						|
            </div>
 | 
						|
            {% if customer.personal_website %}
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Personal Website: <span
 | 
						|
                        class="text-slate-800 text-xl font-semibold">{{customer.personal_website}}</span></p>
 | 
						|
            </div>
 | 
						|
            {% endif %}
 | 
						|
 | 
						|
 | 
						|
            {% if customer.status == 'Active' %}
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Status: <span
 | 
						|
                        class="text-green-700 text-xl font-semibold">{{customer.status}}</span></p>
 | 
						|
            </div>
 | 
						|
            {% endif %}
 | 
						|
 | 
						|
 | 
						|
            {% if customer.status == 'Suspended' %}
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Status: <span
 | 
						|
                        class="text-red-500 text-xl font-semibold">{{customer.status}}</span></p>
 | 
						|
            </div>
 | 
						|
            {% endif %}
 | 
						|
 | 
						|
 | 
						|
            {% if customer.status == 'Terminated' %}
 | 
						|
            <div>
 | 
						|
                <p class="text-red-500 text-xl">Status: <span
 | 
						|
                        class="text-gray-500 text-xl font-semibold">{{customer.status}}</span></p>
 | 
						|
            </div>
 | 
						|
            {% endif %}
 | 
						|
 | 
						|
            <div>
 | 
						|
                <p class="text-gray-500 text-xl">Reference: <span
 | 
						|
                        class="text-slate-800 text-xl font-semibold">{{customer.reference}}</span></p>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
 | 
						|
        <!-- BUSINESS -->
 | 
						|
        <div class="mt-5 relative">
 | 
						|
            <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">Businesses</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <a href="{% url 'addbusiness' %}" class="h-full">
 | 
						|
                    <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">
 | 
						|
                        <i class="fa fa-plus"></i>
 | 
						|
                    </button>
 | 
						|
                </a>
 | 
						|
            </div>
 | 
						|
 | 
						|
            <div class="overflow-x-auto border border-gray-300 rounded-b-md">
 | 
						|
                <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">
 | 
						|
                                Name
 | 
						|
                            </th>
 | 
						|
                            <th scope="col"
 | 
						|
                                class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
 | 
						|
                                Business Type
 | 
						|
                            </th>
 | 
						|
                            <th scope="col"
 | 
						|
                                class="px-6 py-3 text-sm font-medium text-gray-500 uppercase border-r border-gray-300 whitespace-nowrap">
 | 
						|
                                Financial Number
 | 
						|
                            </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 -->
 | 
						|
                        {% for business in customer.businesses.all %}
 | 
						|
                        <tr>
 | 
						|
                            <td class="px-6 py-4 text-center text-sm border-r border-gray-300">
 | 
						|
                                <p class="text-slate-800">{{ business.name }}</p>
 | 
						|
                            </td>
 | 
						|
 | 
						|
                            <td class="px-6 py-4 text-center text-sm border-r border-gray-300">
 | 
						|
                                <p class="text-slate-800">{{ business.business_type }}</p>
 | 
						|
                            </td>
 | 
						|
 | 
						|
                            <td class="px-6 py-4 text-center text-sm border-r border-gray-300">
 | 
						|
                                <p class="text-slate-800">{{ business.financial_number }}</p>
 | 
						|
                            </td>
 | 
						|
 | 
						|
                            <td class="px-6 py-4 text-center text-sm">
 | 
						|
                                <div class="flex justify-center items-center gap-3">
 | 
						|
                                    <a href="{% url 'businessdetails' business.business_id %}">
 | 
						|
                                        <div class="text-[15px] text-blue-500 cursor-pointer">
 | 
						|
                                            <i class="fa fa-edit"></i>
 | 
						|
                                        </div>
 | 
						|
                                    </a>
 | 
						|
 | 
						|
                                    <a href="{% url 'editbusiness' %}">
 | 
						|
                                        <div class="text-[15px] text-blue-500 cursor-pointer">
 | 
						|
                                            <i class="fa fa-edit"></i>
 | 
						|
                                        </div>
 | 
						|
                                    </a>
 | 
						|
 | 
						|
                                    <div class="text-[15px] text-red-500 cursor-pointer">
 | 
						|
                                        <i class="fa fa-trash"></i>
 | 
						|
                                    </div>
 | 
						|
                                </div>
 | 
						|
                            </td>
 | 
						|
                        </tr>
 | 
						|
                        {% endfor %}
 | 
						|
                    </tbody>
 | 
						|
                </table>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
    </div>
 | 
						|
 | 
						|
    <!-- RIGHT SIDE / USERS ACTIVITY -->
 | 
						|
    <div class="w-[25%] hidden xxlg1:flex flex-col gap-3">
 | 
						|
        <div class="w-full hidden xxlg1:block bg-white shadow-md rounded-md p-5 cursor-pointer">
 | 
						|
            <div class="w-full h-full flex flex-col gap-3 items-center">
 | 
						|
                <div class="w-full flex justify-center items-center">
 | 
						|
                    <p class="text-[22px] text-slate-700 font-bold uppercase text-center"><span
 | 
						|
                            class="text-green-700">14</span>
 | 
						|
                        Connected User</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="w-full flex flex-wrap gap-2">
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1669023415919.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1686063290067.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/avatar3.png' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1669023415919.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1686063290067.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/avatar3.png' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1669023415919.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1686063290067.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/avatar3.png' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1669023415919.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1686063290067.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/avatar3.png' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1669023415919.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                    <div class="relative userProfileContainer">
 | 
						|
                        <div
 | 
						|
                            class="w-fit py-2 px-3 bg-gray-700 bg-opacity-60 text-white absolute bottom-10 whitespace-nowrap hidden userName">
 | 
						|
                            <p>Salim Elliye</p>
 | 
						|
                        </div>
 | 
						|
                        <div class="w-[30px] h-[30px] rounded-full userImage">
 | 
						|
                            <img src="{% static 'images/1686063290067.jpeg' %}" alt="User Image"
 | 
						|
                                class="w-full h-full rounded-full object-cover">
 | 
						|
                        </div>
 | 
						|
                    </div>
 | 
						|
                </div>
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
        {% if latest_statuses_time_ago %}
 | 
						|
        <div
 | 
						|
            class="hidden xxlg1:block w-full bg-white h-[1283px] 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-full 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>
 | 
						|
</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>
 | 
						|
 | 
						|
<!-- 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 %} |