- 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.
47 lines
1.5 KiB
JavaScript
47 lines
1.5 KiB
JavaScript
import {BasePage} from './Base.js';
|
|
|
|
import {DatesFilter} from '../parts/DatesFilter.js?v=2';
|
|
import {SearchFilter} from '../parts/SearchFilter.js?v=2';
|
|
import {RulesFilter} from '../parts/choices/RulesFilter.js?v=2';
|
|
import {UserGridActionButtons} from '../parts/UserGridActionButtons.js?v=2';
|
|
import {ReviewQueueGrid} from '../parts/grid/ReviewQueue.js?v=2';
|
|
import {ReviewQueueChart} from '../parts/chart/ReviewQueue.js?v=2';
|
|
|
|
export class ReviewQueuePage extends BasePage {
|
|
|
|
constructor() {
|
|
super('review-queue');
|
|
this.tableId = 'review-queue-table';
|
|
this.initUi();
|
|
}
|
|
|
|
initUi() {
|
|
const datesFilter = new DatesFilter();
|
|
const searchFilter = new SearchFilter();
|
|
const rulesFilter = new RulesFilter();
|
|
|
|
const chartParams = this.getChartParams(datesFilter, searchFilter);
|
|
|
|
const gridParams = {
|
|
url: '/admin/loadReviewQueue',
|
|
tileId: 'totalUsers',
|
|
tableId: 'review-queue-table',
|
|
dateRangeGrid: true,
|
|
|
|
choicesFilterEvents: [rulesFilter.getEventType()],
|
|
|
|
getParams: function() {
|
|
const dateRange = datesFilter.getValue();
|
|
const searchValue = searchFilter.getValue();
|
|
const ruleUids = rulesFilter.getValues();
|
|
|
|
return {dateRange, searchValue, ruleUids};
|
|
}
|
|
};
|
|
|
|
new ReviewQueueChart(chartParams);
|
|
new ReviewQueueGrid(gridParams);
|
|
new UserGridActionButtons(this.tableId);
|
|
}
|
|
}
|