Replace depreciated <center> tag with CSS

SonarCloud bugs.
This commit is contained in:
Marcus Hill
2022-04-19 23:13:44 +01:00
parent 1186e5b5a1
commit af8c7fac25
5 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<center class="mb-4">
<div class="mb-4" style="text-align: center;">
<i class="far fa-10x fa-times-circle text-danger mb-3 mt-3"></i>
<h2>Are you sure?</h2>
<h6 class="mb-4 text-secondary">Do you really want to <b>delete <?php echo $client_name; ?></b>? This process cannot be undone.</h6>
@@ -23,7 +23,7 @@
</div>
<button type="button" class="btn btn-outline-secondary btn-lg px-5 mr-4" data-dismiss="modal">Cancel</button>
<a class="btn btn-danger btn-lg px-5 disabled" id="clientDeleteButton<?php echo $client_id ?>" href="post.php?delete_client=<?php echo $client_id; ?>">Yes, Delete!</a>
</center>
</div>
</div>
</div>
</div>