UI updation in all popups.

This commit is contained in:
Kartik Sharma 2025-12-03 11:42:44 +05:30
parent 214a416deb
commit 36f5edf4f5
8 changed files with 13 additions and 13 deletions

View File

@ -100,7 +100,7 @@ const BuildingModel = ({ project, onClose, editingBuilding = null }) => {
return (
<form onSubmit={handleSubmit(onSubmitHandler)} className="row g-2">
<h5 className="text-center mb-2">Manage Buildings </h5>
<h5 className="text-center mb-2">Manage Buildings</h5>
<div className="col-12 text-start">
<label className="form-label">Select Building</label>
<select
@ -150,7 +150,7 @@ const BuildingModel = ({ project, onClose, editingBuilding = null }) => {
)}
</div>
<div className="col-12 text-end mt-5">
<div className="col-12 text-end mt-6 my-2">
<button
type="reset"
className="btn btn-sm btn-label-secondary me-3"

View File

@ -163,7 +163,7 @@ const FloorModel = ({ project, onClose, onSubmit }) => {
</>
)}
<div className="col-12 text-end mt-5">
<div className="col-12 text-end mt-6 my-2">
<button
type="button"
className="btn btn-sm btn-label-secondary me-3"

View File

@ -348,7 +348,7 @@ const TaskModel = ({ project, onSubmit, onClose }) => {
</div>
)}
<div className="col-12 text-end mt-5">
<div className="col-12 text-end mt-6 my-2">
<button
type="button"
className="btn btn-sm btn-label-secondary me-3"

View File

@ -187,7 +187,7 @@ const WorkAreaModel = ({ project, onSubmit, onClose }) => {
</div>
</>
)}
<div className="col-12 text-end mt-5">
<div className="col-12 text-end mt-6 my-2">
<button type="button" className="btn btn-sm btn-label-secondary me-3" disabled={isPending} onClick={onClose}>
Cancel
</button>

View File

@ -199,7 +199,7 @@ const ProjectInfra = ({ data, onDataChange, eachSiteEngineer }) => {
serviceId={selectedService}
/>
) : (
<div className="text-center py-5">
<div className="text-center py-12">
<p className="text-muted fs-6">No infrastructure data available.</p>
</div>
)}

View File

@ -13,7 +13,8 @@ const TeamAssignToProject = ({ closeModal }) => {
useProjectAssignedOrganizationsName(project);
return (
<div className="container">
<p className="fs-5 fs-seminbod ">Assign Employee To Project </p>
{/* <p className="fs-5 fs-seminbod ">Assign Employee To Project </p> */}
<h5 className="mb-4">Assign Employee To Project</h5>
<div className="row align-items-center gx-5">
<div className="col">

View File

@ -155,7 +155,7 @@ if (employees.length === 0) {
return (
<div className=" position-relative">
<div className="position-relative mt-5">
<table className="table" style={{ maxHeight: "80px", overflowY: "auto" }}>
<thead className=" position-sticky top-0">
<tr>
@ -232,15 +232,15 @@ if (employees.length === 0) {
))}
</tbody>
</table>
<div className="position-sticky bottom-0 bg-white d-flex justify-content-end gap-3 z-25 ">
<div className="position-sticky bottom-0 bg-white d-flex justify-content-end gap-3 z-25 my-3">
<button
type="button"
className="btn btn-sm btn-label-secondary"
className="btn btn-sm btn-label-secondary mt-2"
onClick={() => closeModal()}
>
Cancel
</button>
<button onClick={onSubmit} className="btn btn-primary">
<button onClick={onSubmit} className="btn btn-primary btn-sm mt-2">
{isPending ? "Please Wait..." : "Assign to Project"}
</button>
</div>

View File

@ -125,8 +125,7 @@ const NotesPage = ({ projectId, searchText, onExport }) => {
</>
) : (
<div
className="card text-center d-flex align-items-center justify-content-center"
style={{ height: "200px" }}
className="card text-center page-min-h d-flex align-items-center justify-content-center"
>
<p className="text-muted mb-0">
{debouncedSearch