unclean SPARC

This commit is contained in:
STEINNI
2025-08-27 07:03:09 +00:00
commit f308460931
430 changed files with 54426 additions and 0 deletions
@@ -0,0 +1,48 @@
class SoeFeedbackHistoryDialog extends EICDialogContent {
actions = [
{
label: 'Cancel',
onclick: this.cancel.bind(this),
severity: 'secondary',
role: 'cancel'
}
]
constructor(options) { super(options); }
DOMContentLoaded(options) {
this.id = options.id;
for(let model in options.models) this[model] = options.models[model];
this.components = ui.eicfy(this.el);
console.log('', this.soe.getFeedback(this.id))
let list = new DataGrid(this.find('[eicdatagrid]'), {
headers: [
{ label:'Date', type: 'dateTime'},
{ label:'Action'},
{ label:'User'},
]
})
for(let item of this.soe.getFeedback(this.id).statusHistory) {
list.addRow(0, [
item.dateTime,
item.value,
item.author
]);
}
}
fill() {
}
}
app.registerClass('SoeFeedbackHistoryDialog', SoeFeedbackHistoryDialog);