preparations for rewrite

This commit is contained in:
2025-01-11 23:14:09 +01:00
parent 637a781f24
commit cf07363a8d
39 changed files with 105 additions and 66 deletions

2317
web/js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load Diff

7
web/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1032
web/js/clean-blog.js Normal file

File diff suppressed because it is too large Load Diff

7
web/js/clean-blog.min.js vendored Normal file

File diff suppressed because one or more lines are too long

30
web/js/http2pic.js Normal file
View File

@ -0,0 +1,30 @@
$(function() {
function web2pic(url)
{
$("#showcase_button").attr("disabled","true");
var urlenc = encodeURIComponent(url);
var imageURL = "api.php?js=no&cache=1&viewport=1200x330&url="+urlenc;
//$("#intro-header").css('background-image', 'url(\'/img/loading.gif\')');
$("#loading").show();
console.log(imageURL);
$("#preloader").attr('src',imageURL);
$("#preloader").load(function() {
$("#intro-header").css('background-image', 'url(\'' + imageURL + '\')');
$("#loading").hide();
$("#showcase_button").removeAttr("disabled");
});
}
$("#showcase_button").click(function() {
web2pic($('#showcase_url').val());
});
$("#showcase_url").keypress(function(e) {
if(e.keyCode === 13) {
web2pic($("#showcase_url").val());
}
});
});

9190
web/js/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

5
web/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long