* Move successModal to common.

This commit is contained in:
tanghucheng
2022-12-07 16:18:57 +08:00
parent 42864821b7
commit 3d5ff064db
3 changed files with 1 additions and 14 deletions
-7
View File
@@ -1,7 +0,0 @@
#modalLink{color: #2e7fff;text-decoration: underline;}
.modal-dialog .modal-content{border: 2px solid #75e5c4; background-color: #f1fcf9; border-radius: 4px;}
.icon-check-circle{color: #17ce97; margin-right: 10px; font-size: 20px;}
.modal-dialog{width: fit-content;}
.modal-dialog{border-radius: 4px;}
.modal-header{padding:9px 15px 0px; margin:0px; border-bottom:0;}
.modal-dialog .modal-body{padding: 5px 15px 20px 15px;}
-6
View File
@@ -36,9 +36,3 @@ $(function()
if(typeof image == 'undefined' || !image) $('#os').change();
})
function showModal(url = '')
{
if(url) $("#modalLink").attr('href', url);
$('#successModal').modal('show', 'center');
}
+1 -1
View File
@@ -41,5 +41,5 @@
</div>
</div>
</div>
<?php include 'successmodal.html.php';?>
<?php include '../../common/view/successmodal.html.php';?>
<?php include '../../common/view/footer.html.php'; ?>