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,41 @@
 | 
			
		||||
import {BaseTiles} from './BaseTiles.js?v=2';
 | 
			
		||||
import {
 | 
			
		||||
    renderBoolean,
 | 
			
		||||
    renderDefaultIfEmptyElement,
 | 
			
		||||
    renderBrowser,
 | 
			
		||||
    renderOs,
 | 
			
		||||
} from '../DataRenderers.js?v=2';
 | 
			
		||||
 | 
			
		||||
const URL   = '/admin/loadBotDetails';
 | 
			
		||||
const ELEMS = ['title', 'os', 'browser', 'modified'];
 | 
			
		||||
 | 
			
		||||
export class BotTiles extends BaseTiles {
 | 
			
		||||
    updateTiles(data) {
 | 
			
		||||
 | 
			
		||||
        const os = [];
 | 
			
		||||
        if (data.os_name)    os.push(data.os_name);
 | 
			
		||||
        if (data.os_version) os.push(data.os_version);
 | 
			
		||||
 | 
			
		||||
        const browser = [];
 | 
			
		||||
        if (data.browser_name)    browser.push(data.browser_name);
 | 
			
		||||
        if (data.browser_version) browser.push(data.browser_version);
 | 
			
		||||
 | 
			
		||||
        const record = {
 | 
			
		||||
            os: os.join(' '),
 | 
			
		||||
            browser: browser.join(' ')
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        document.getElementById('title').replaceChildren(renderDefaultIfEmptyElement(data.title));
 | 
			
		||||
        document.getElementById('os').replaceChildren(renderOs(record));
 | 
			
		||||
        document.getElementById('browser').replaceChildren(renderBrowser(record));
 | 
			
		||||
        document.getElementById('modified').replaceChildren(renderBoolean(data.modified));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get elems() {
 | 
			
		||||
        return ELEMS;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get url() {
 | 
			
		||||
        return URL;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user