feat(cloudron): add tirreno package artifacts
- 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.
This commit is contained in:
		@@ -0,0 +1,50 @@
 | 
			
		||||
export class Loader {
 | 
			
		||||
 | 
			
		||||
    constructor() {
 | 
			
		||||
        this.symbols = [
 | 
			
		||||
            this.el('⣾'),
 | 
			
		||||
            this.el('⣷'),
 | 
			
		||||
            this.el('⣯'),
 | 
			
		||||
            this.el('⣟'),
 | 
			
		||||
            this.el('⡿'),
 | 
			
		||||
            this.el('⢿'),
 | 
			
		||||
            this.el('⣻'),
 | 
			
		||||
            this.el('⣽'),
 | 
			
		||||
        ];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    start(loaderEl) {
 | 
			
		||||
        this.loaderEl = loaderEl;
 | 
			
		||||
 | 
			
		||||
        let me = this;
 | 
			
		||||
        let counter = 0;
 | 
			
		||||
 | 
			
		||||
        this.loaderEl.classList.add('loading');
 | 
			
		||||
        this.loaderEl.classList.remove('loaded');
 | 
			
		||||
 | 
			
		||||
        let timerId = setInterval(() => {
 | 
			
		||||
            if (me.loaderEl.classList.contains('loaded')) {
 | 
			
		||||
                clearInterval(timerId);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            let symbol = me.symbols[counter % me.symbols.length];
 | 
			
		||||
 | 
			
		||||
            me.loaderEl.replaceChildren(symbol);
 | 
			
		||||
 | 
			
		||||
            counter++;
 | 
			
		||||
        }, 85);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    stop() {
 | 
			
		||||
        this.loaderEl.classList.add('loaded');
 | 
			
		||||
        this.loaderEl.classList.remove('loading');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    el(c) {
 | 
			
		||||
        const node = document.createElement('p');
 | 
			
		||||
        node.textContent = c;
 | 
			
		||||
 | 
			
		||||
        return node;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user