- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents - Includes package manifest, Dockerfile, source code, documentation, and build artifacts - Add tirreno-1761840148.tar.gz as a build artifact - Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package - Include all necessary files for the tirreno Cloudron package This adds the complete tirreno Cloudron package artifacts to the repository.
31 lines
742 B
JavaScript
31 lines
742 B
JavaScript
import {Loader} from './Loader.js?v=2';
|
|
|
|
export class StaticTiles {
|
|
|
|
constructor(tilesParams) {
|
|
const me = this;
|
|
this.config = tilesParams;
|
|
this.loaders = {};
|
|
|
|
this.config.elems.forEach(elem => {
|
|
me.loaders[elem] = new Loader();
|
|
});
|
|
|
|
const onDateFilterChanged = this.onDateFilterChanged.bind(this);
|
|
window.addEventListener('dateFilterChanged', onDateFilterChanged, false);
|
|
|
|
this.runLoaders();
|
|
}
|
|
|
|
onDateFilterChanged() {
|
|
this.runLoaders();
|
|
}
|
|
|
|
runLoaders() {
|
|
for (const property in this.loaders) {
|
|
const el = document.querySelector(`.${property} .title`);
|
|
this.loaders[property].start(el);
|
|
}
|
|
}
|
|
}
|