- 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.
38 lines
982 B
JavaScript
38 lines
982 B
JavaScript
import {BasePanel} from './BasePanel.js?v=2';
|
|
import {
|
|
renderIp,
|
|
renderTimeMs,
|
|
renderErrorType,
|
|
renderSensorError,
|
|
renderJsonTextarea,
|
|
renderMailto,
|
|
} from '../DataRenderers.js?v=2';
|
|
|
|
export class LogbookPanel extends BasePanel {
|
|
|
|
constructor() {
|
|
let eventParams = {
|
|
enrichment: false,
|
|
type: 'logbook',
|
|
url: '/admin/logbookDetails',
|
|
cardId: 'logbook-card',
|
|
panelClosed: 'logbookPanelClosed',
|
|
closePanel: 'closeLogbookPanel',
|
|
rowClicked: 'logbookTableRowClicked',
|
|
};
|
|
super(eventParams);
|
|
}
|
|
|
|
proceedData(data) {
|
|
data.ip = renderIp(data);
|
|
data.started = renderTimeMs(data.started);
|
|
data.error_type = renderErrorType(data);
|
|
data.error_text = renderSensorError(data);
|
|
data.request = renderJsonTextarea(data.raw);
|
|
|
|
data.mailto = renderMailto(data);
|
|
|
|
return data;
|
|
}
|
|
}
|