Update index.php
This commit is contained in:
@@ -22,12 +22,20 @@ $username="test";
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
|
||||
<style>
|
||||
@media (max-width: 50000px) {
|
||||
@media (max-width: 500px) {
|
||||
#smallScreenWarning {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
// Show the warning modal on small screens
|
||||
$(document).ready(function() {
|
||||
if ($(window).width() <= 500) {
|
||||
$('#smallScreenWarning').modal('show');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- navbar -->
|
||||
|
||||
Reference in New Issue
Block a user