removed unnessesary close buttons

这个提交包含在:
HB9HIL 2023-12-07 01:20:39 +01:00
父节点 0697c84b86
当前提交 dd2a7a067b
共有 25 个文件被更改,包括 33 次插入33 次删除

查看文件

@ -76,7 +76,7 @@
$result = write_activators($activators_array, $vucc_grids, $custom_date_format, $this->input->post('band'), $this->input->post('leogeo'));
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
}
?>

查看文件

@ -24,6 +24,6 @@
echo '</tbody></table></div>';
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -43,7 +43,7 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>
</div>

查看文件

@ -212,7 +212,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -185,7 +185,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -264,7 +264,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>
</div>

查看文件

@ -247,7 +247,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>
</div>

查看文件

@ -61,6 +61,6 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}?>
</div>

查看文件

@ -42,7 +42,7 @@
</table>
<?php }
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>
</div>

查看文件

@ -50,6 +50,6 @@
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}?>
</div>

查看文件

@ -38,6 +38,6 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -36,6 +36,6 @@
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
} ?>
</div>

查看文件

@ -231,7 +231,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>
</div>

查看文件

@ -160,5 +160,5 @@
</div>';
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}

查看文件

@ -61,6 +61,6 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}?>
</div>

查看文件

@ -67,7 +67,7 @@
echo '</table></div>';
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No streak found!</div>';
echo '<div class="alert alert-danger" role="alert">No streak found!</div>';
}
?>
@ -115,7 +115,7 @@
echo '</table></div>';
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No current streak found!</div>';
echo '<div class="alert alert-danger" role="alert">No current streak found!</div>';
}
?>
</div>

查看文件

@ -53,7 +53,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -346,7 +346,7 @@ $(function () {
})
.done(function(data) {
$(".alert").remove();
$(".card-body.main").append('<div class="alert alert-success"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Your query has been saved!</div>');
$(".card-body.main").append('<div class="alert alert-success">Your query has been saved!</div>');
if ($("#querydropdown option").length == 0) {
var dropdowninfo = ' <button class="btn btn-sm btn-primary" onclick="edit_stored_query_dialog()" id="btn-edit">Edit queries</button></p>' +
'<div class="mb-3 row querydropdownform">' +
@ -438,7 +438,7 @@ $(function () {
'id': id
},
success: function(data) {
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>The stored query has been deleted!</div>');
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger">The stored query has been deleted!</div>');
$("#query_" + id).remove(); // removes query from table in dialog
$("#querydropdown option[value='" + id + "']").remove(); // removes query from dropdown
if ($("#querydropdown option").length == 0) {
@ -447,7 +447,7 @@ $(function () {
};
},
error: function() {
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>The stored query could not be deleted. Please try again!</div>');
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger">The stored query could not be deleted. Please try again!</div>');
},
});
}
@ -473,11 +473,11 @@ $(function () {
},
success: function(html) {
$('#edit_' + id).html('<a class="btn btn-outline-primary btn-sm" href="javascript:edit_stored_query(' + id + ');">Edit</a>'); // Change to edit button
$(".bootstrap-dialog-message").prepend('<div class="alert alert-success"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>The query description has been updated!</div>');
$(".bootstrap-dialog-message").prepend('<div class="alert alert-success">The query description has been updated!</div>');
$("#querydropdown option[value='" + id + "']").text($('#description_' + id).html()); // Change text in dropdown
},
error: function() {
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Something went wrong with the save. Please try again!</div>');
$(".bootstrap-dialog-message").prepend('<div class="alert alert-danger">Something went wrong with the save. Please try again!</div>');
},
});
}
@ -2620,7 +2620,7 @@ function viewEqsl(picture, callsign) {
}
} else if (data.status.front.status != '') {
$("#qslupload").append('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Front QSL Card:' +
$("#qslupload").append('<div class="alert alert-danger">Front QSL Card:' +
data.status.front.error +
'</div>');
}
@ -2658,7 +2658,7 @@ function viewEqsl(picture, callsign) {
$("#qslcardback").val(null);
}
} else if (data.status.back.status != '') {
$("#qslupload").append('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>\nBack QSL Card: ' +
$("#qslupload").append('<div class="alert alert-danger">\nBack QSL Card: ' +
data.status.back.error +
'</div>');
}
@ -2707,7 +2707,7 @@ function viewEqsl(picture, callsign) {
location.reload();
} else {
$(".alert").remove();
$('#searchresult').prepend('<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Something went wrong. Please try again!</div>');
$('#searchresult').prepend('<div class="alert alert-danger">Something went wrong. Please try again!</div>');
}
}
});

查看文件

@ -190,6 +190,6 @@ if ($qsos->result() != NULL) {
<?php
} else {
echo '<div class="alert alert-danger"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No QSO\'s were found. It seems you were not active at this time.</div>';
echo '<div class="alert alert-danger">No QSO\'s were found. It seems you were not active at this time.</div>';
}
?>

查看文件

@ -1,4 +1,4 @@
<div class="container publicsearch">
<h1>Results <small class="text-muted">Searching for <?php echo str_replace("0","&Oslash;",strtoupper($callsign)); ?></small></h1>
<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>
<div class="alert alert-danger" role="alert">Nothing found!</div>
</div>

查看文件

@ -52,7 +52,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>

查看文件

@ -48,6 +48,6 @@ if ($qsos->result() != NULL) {
<?php
} else {
echo '<div class="alert alert-success"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No incorrect CQ Zones were found.</div>';
echo '<div class="alert alert-success">No incorrect CQ Zones were found.</div>';
}
?>

查看文件

@ -45,6 +45,6 @@ if ($qsos->result() != NULL) {
<?php
} else {
echo '<div class="alert alert-success"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No duplicate QSO\'s were found.</div>';
echo '<div class="alert alert-success">No duplicate QSO\'s were found.</div>';
}
?>

查看文件

@ -38,6 +38,6 @@ if ($qsos->result() != NULL) {
<?php
} else {
echo '<div class="alert alert-success"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>No QSOs with outstanding LoTW upload were found.</div>';
echo '<div class="alert alert-success">No QSOs with outstanding LoTW upload were found.</div>';
}
?>

查看文件

@ -97,7 +97,7 @@
}
}
else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="btn-close" data-bs-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
echo '<div class="alert alert-danger" role="alert">Nothing found!</div>';
}
?>