[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility;

This commit is contained in:
andryyy
2021-05-22 12:13:37 +02:00
parent 74d70fc523
commit 9c075af2d9
56 changed files with 2014 additions and 687 deletions

View File

@@ -223,7 +223,7 @@ $(document).ready(function() {
$('#containerName').text(container);
$('#triggerRestartContainer').click(function(){
$(this).prop("disabled",true);
$(this).html('<span class="glyphicon glyphicon-refresh glyphicon-spin"></span> ');
$(this).html('<i class="bi bi-arrow-repeat icon-spin"></i> ');
$('#statusTriggerRestartContainer').html(lang_footer.restarting_container);
$.ajax({
method: 'get',
@@ -238,13 +238,13 @@ $(document).ready(function() {
$('#statusTriggerRestartContainer').append(data);
var htmlResponse = $.parseHTML(data)
if ($(htmlResponse).find('span').hasClass('text-success')) {
$('#triggerRestartContainer').html('<span class="glyphicon glyphicon-ok"></span> ');
$('#triggerRestartContainer').html('<i class="bi bi-check-lg"></i> ');
setTimeout(function(){
$('#RestartContainer').modal('toggle');
window.location = window.location.href.split("#")[0];
}, 1200);
} else {
$('#triggerRestartContainer').html('<span class="glyphicon glyphicon-remove"></span> ');
$('#triggerRestartContainer').html('<i class="bi bi-slash-lg"></i> ');
}
})
});