Compare commits
3 Commits
5427fda41e
...
1598842436
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1598842436 | ||
|
|
71bb1c25dd | ||
|
|
00c56788ed |
@ -162,7 +162,7 @@ const WorkItem = ({ workItem, forBuilding, forFloor, forWorkArea }) => {
|
|||||||
style={{ display: showModal2 ? "block" : "none" }}
|
style={{ display: showModal2 ? "block" : "none" }}
|
||||||
aria-hidden='false'
|
aria-hidden='false'
|
||||||
>
|
>
|
||||||
<ConfirmModal type={"delete"} header={"Delete Activity"} message={"Are you sure you want delete"} onSubmit={ handleSubmit} onClose={closeModalDelete} loading={loadingDelete}/>
|
<ConfirmModal type={"delete"} header={"Delete Activity"} message={"Are you sure you want delete?"} onSubmit={ handleSubmit} onClose={closeModalDelete} loading={loadingDelete}/>
|
||||||
</div> }
|
</div> }
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -28,16 +28,19 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
|
|||||||
<div className="modal-content">
|
<div className="modal-content">
|
||||||
<div className="modal-body">
|
<div className="modal-body">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
|
||||||
|
<div className="text-start mb-1">
|
||||||
|
|
||||||
|
<div className=' d-flex justify-content-between mb-4'>
|
||||||
|
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="btn-close"
|
className="btn-close"
|
||||||
aria-label="Close"
|
aria-label="Close"
|
||||||
onClick={onClose}
|
onClick={onClose}
|
||||||
/>
|
/>
|
||||||
<div className="text-start mb-1">
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
|
|
||||||
<div className='row'>
|
<div className='row'>
|
||||||
<div className='col-4 col-sm-2'> {TypeofIcon(type)}</div>
|
<div className='col-4 col-sm-2'> {TypeofIcon(type)}</div>
|
||||||
<div className='col-8 col-sm-10 py-sm-2 py-1 text-sm-end'>
|
<div className='col-8 col-sm-10 py-sm-2 py-1 text-sm-end'>
|
||||||
@ -55,7 +58,7 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
|
|||||||
onClick={onClose}
|
onClick={onClose}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
>
|
>
|
||||||
Cancel
|
No
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -24,11 +24,7 @@
|
|||||||
"available": true,
|
"available": true,
|
||||||
"link": "/employees"
|
"link": "/employees"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"text": "Directory",
|
|
||||||
"available": true,
|
|
||||||
"link": "/directory"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"text": "Project Status",
|
"text": "Project Status",
|
||||||
"available": true,
|
"available": true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user