resolution conflits

This commit is contained in:
Solène 2025-01-26 14:20:53 +01:00
parent cb7604d9a4
commit c716ec8876
30 changed files with 284 additions and 1854 deletions

BIN
static/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

BIN
static/images/nocontent.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 KiB

View file

@ -1,32 +0,0 @@
var isLoading = false;
var page = 1;
function fetchCinemaSessions() {
if (isLoading) return;
isLoading = true;
var loadingContainer = document.getElementById('loading-container');
loadingContainer.innerHTML = '<img src="{{ url_for("static", filename="loading.gif") }}" alt="Loading...">';
fetch('/?page=' + page)
.then(function(response) {
return response.text();
})
.then(function(html) {
var cinemaContainer = document.getElementById('cinema-container');
cinemaContainer.insertAdjacentHTML('beforeend', html);
isLoading = false;
page += 1;
})
.catch(function() {
isLoading = false;
});
}
window.addEventListener('scroll', function() {
if (window.innerHeight + window.scrollY >= document.body.offsetHeight - 100 && !isLoading) {
fetchCinemaSessions();
}
});
fetchCinemaSessions();