- 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.
100 lines
2.4 KiB
JavaScript
100 lines
2.4 KiB
JavaScript
import {BaseGrid} from './Base.js?v=2';
|
|
import {
|
|
renderClickableResourceWithoutQuery,
|
|
renderHttpCode,
|
|
renderBoolean,
|
|
} from '../DataRenderers.js?v=2';
|
|
|
|
export class ResourcesGrid extends BaseGrid {
|
|
get orderConfig() {
|
|
return [[7, 'desc']];
|
|
}
|
|
|
|
get columnDefs() {
|
|
const columnDefs = [
|
|
{
|
|
className: 'resource-url-col',
|
|
targets: 0
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 1
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 2
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 3
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 4
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 5
|
|
},
|
|
{
|
|
className: 'resource-cnt-col',
|
|
targets: 6
|
|
},
|
|
{
|
|
visible: false,
|
|
targets: 7
|
|
}
|
|
];
|
|
|
|
return columnDefs;
|
|
}
|
|
|
|
get columns() {
|
|
const columns = [
|
|
{
|
|
data: 'title',
|
|
render: (data, type, record) => {
|
|
return renderClickableResourceWithoutQuery(record);
|
|
}
|
|
},
|
|
{
|
|
data: 'http_code',
|
|
render: (data, type, record) => {
|
|
return renderHttpCode(record);
|
|
}
|
|
},
|
|
{
|
|
data: 'total_account',
|
|
name: 'total_account',
|
|
render: this.renderTotalsLoader
|
|
},
|
|
{
|
|
data: 'total_country',
|
|
name: 'total_country',
|
|
render: this.renderTotalsLoader
|
|
},
|
|
{
|
|
data: 'total_ip',
|
|
name: 'total_ip',
|
|
render: this.renderTotalsLoader
|
|
},
|
|
{
|
|
data: 'total_visit',
|
|
name: 'total_visit',
|
|
render: this.renderTotalsLoader
|
|
},
|
|
{
|
|
data: 'suspicious',
|
|
render: renderBoolean,
|
|
orderable: false
|
|
},
|
|
{
|
|
data: 'id',
|
|
name: 'id',
|
|
}
|
|
];
|
|
|
|
return columns;
|
|
}
|
|
}
|