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,83 @@
 | 
			
		||||
import {BaseGrid} from './Base.js?v=2';
 | 
			
		||||
import {
 | 
			
		||||
    currentPlanRender,
 | 
			
		||||
    currentStatusRender,
 | 
			
		||||
    currentUsageRender,
 | 
			
		||||
    currentBillingEndRender,
 | 
			
		||||
    updateCardButtonRender,
 | 
			
		||||
} from '../DataRenderers.js?v=2';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export class UsageStatsGrid extends BaseGrid {
 | 
			
		||||
 | 
			
		||||
    // do not update counter tile
 | 
			
		||||
    updateTableTitle(value) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // do not use pagination
 | 
			
		||||
    updateTableFooter(dataTable) {
 | 
			
		||||
        const tableId = this.config.tableId;
 | 
			
		||||
        const pagerSelector = `#${tableId}_wrapper .dt-paging`;
 | 
			
		||||
 | 
			
		||||
        $(pagerSelector).hide();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get columnDefs() {
 | 
			
		||||
        const columnDefs = [
 | 
			
		||||
            {
 | 
			
		||||
                className: 'subscription-plan-col',
 | 
			
		||||
                targets: 0
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                className: 'subscription-status-col',
 | 
			
		||||
                targets: 1
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                className: 'subscription-usage-col',
 | 
			
		||||
                targets: 2
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                className: 'billing-date-col',
 | 
			
		||||
                targets: 3
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                className: 'action-button-col',
 | 
			
		||||
                targets: 4
 | 
			
		||||
            },
 | 
			
		||||
        ];
 | 
			
		||||
 | 
			
		||||
        return columnDefs;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    get columns() {
 | 
			
		||||
        const columns = [
 | 
			
		||||
            {
 | 
			
		||||
                data: 'sub_plan_api_calls',
 | 
			
		||||
                render: currentPlanRender,
 | 
			
		||||
                orderable: false,
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                data: 'sub_status',
 | 
			
		||||
                render: currentStatusRender,
 | 
			
		||||
                orderable: false,
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                data: 'sub_calls_used',
 | 
			
		||||
                render: currentUsageRender,
 | 
			
		||||
                orderable: false,
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                data: 'sub_next_billed',
 | 
			
		||||
                render: currentBillingEndRender,
 | 
			
		||||
                orderable: false,
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                data: 'sub_update_url',
 | 
			
		||||
                render: updateCardButtonRender,
 | 
			
		||||
                orderable: false,
 | 
			
		||||
            },
 | 
			
		||||
        ];
 | 
			
		||||
 | 
			
		||||
        return columns;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user