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.
		
		
		
		
		
			
		
			
				
	
	
		
			90 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			HTML
		
	
			
		
		
	
	
			90 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			HTML
		
	
| {% extends "main.html" %}
 | |
| {%load static%}
 | |
| {% block title %}My Projects{% endblock %}
 | |
| {% block content %}
 | |
| 
 | |
| 
 | |
| <div class="w-full xxlg1:w-[75%] bg-white h-fit rounded-md shadow-md p-5">
 | |
|     <div class="w-full bg-osiblue 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] border border-gray-300">
 | |
|             <img src="{{staff.image.url}}" alt="" class="w-full h-full object-cover rounded-full">
 | |
|         </div>
 | |
|         <h1 class="text-2xl text-white font-semibold">{{staff.user.first_name}} {{staff.user.last_name}}</h1>
 | |
|     </div>
 | |
|     <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 duration-300 deleteStaffButton"
 | |
|                 data-modal-url="{% url 'deletestaffmodal' staff.id %}">Delete
 | |
|                 User</button>
 | |
|             <a href="{% url 'editstaff' staff.staff_id %}" class="w-full s:w-fit">
 | |
|                 <button
 | |
|                     class="w-full s:w-fit text-base px-3 py-2 bg-fifthosiblue text-white outline-none border border-fifthosiblue rounded-md cursor-pointer hover:bg-white hover:text-fifthosiblue duration-300">Edit
 | |
|                     User</button>
 | |
|             </a>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div class="w-full flex flex-col gap-4 mt-5">
 | |
| 
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Username: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.user.username}}</span></p>
 | |
|         </div>
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">First Name: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.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">{{staff.user.last_name}}</span></p>
 | |
|         </div>
 | |
| 
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Email: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.user.email}}</span></p>
 | |
|         </div>
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Mobile Number: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.mobile_number}}</span></p>
 | |
|         </div>
 | |
| 
 | |
| 
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Position: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.staff_position}}</span></p>
 | |
|         </div>
 | |
| 
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Active: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.active}}</span></p>
 | |
|         </div>
 | |
|         <div>
 | |
|             <p class="text-gray-500 text-xl">Intern: <span
 | |
|                     class="text-slate-800 text-xl font-semibold">{{staff.intern}}</span></p>
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
| 
 | |
| <!-- POPUP MODAL -->
 | |
| <div class="w-full h-full bg-black bg-opacity-40 z-20 fixed justify-center items-center hidden inset-0" 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>
 | |
| 
 | |
| 
 | |
| <!---------------------- JS SCRIPTS -------------------->
 | |
| 
 | |
| 
 | |
| <!-- THE SCRIPT FOR THE EPICS BAR -->
 | |
| <script type="text/javascript" src='{% static "js/epics.js" %}'></script>
 | |
| 
 | |
| {% endblock content %} |