LT-174: Add confirmation box before timepoint association is removed
This commit is contained in:
parent
e3b34b52d6
commit
37ae35e33f
@ -18,7 +18,9 @@
|
||||
<i class="fa fa-calendar-plus-o fa-lg"></i>
|
||||
Associate
|
||||
</a>
|
||||
<a id="removeTimepointAssociations" type="button"
|
||||
<a id="launchRemoveAssociation" type="button"
|
||||
data-toggle="modal"
|
||||
data-target="#removeAssociationModal"
|
||||
title="Remove Timepoint Association">
|
||||
<i class="fa fa-eraser fa-lg"></i> Remove Association
|
||||
</a>
|
||||
@ -37,4 +39,24 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="modal" id="removeAssociationModal" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" aria-labelledby="removeAssociationModalLabel">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="removeAssociationModalLabel">Remove Association</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
Measurements related to this Study and Timepoint will be erased. Do you really want to delete this association?
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a id="removeTimepointAssociations" type="button" class="btn btn-danger" data-dismiss="modal"
|
||||
title="Remove Timepoint Association"> Remove
|
||||
</a>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" id='btnRemoVeAssociationModalCancel'>Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Loading…
Reference in New Issue
Block a user