sync(dev): fehlende Admin-Theme-Assets vom Live-Stand ergaenzt (nichts ueberschrieben)

This commit is contained in:
Thomas Bartelt
2026-09-13 19:58:55 +02:00
parent 726f897c3d
commit 37017b25dd
302 changed files with 33189 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
var carsListInit = function() {
$(document).ready(function() {
$('#carListTable').audarisTools('makeTable', {
align: ['left', 'right', 'right', 'right', 'center', 'center', 'right', 'right', 'right'],
sortables: [true, true, true, true, true, true, true, false, false],
types: [null, null, 'cur', null, 'bool', 'bool'],
rowIdentifier: 'id',
onRowClick: function(appendDetailsCallback, rowIdentifier) {
$.post('/testdata2.php', {
id: rowIdentifier
}, function(data) {
if (typeof appendDetailsCallback == 'function' && data) {
var $detailsElement = appendDetailsCallback(data);
$('.carDetailsButtons', $detailsElement).audarisTools('addButtons', {
buttons: [
{
text: 'Verkaufen',
icon: 'key',
onClick: function() {
alert(rowIdentifier);
}
},
{
text: 'Löschen',
icon: 'trash',
disabled: true
},
{
text: 'Kopieren',
icon: 'copy'
},
{
text: 'Bearbeiten',
icon: 'wrench'
},
{
text: 'Dokumente',
icon: 'print'
}
]
});
$('.carListDetailsData', $detailsElement).audarisTools('dottedList');
}
});
},
getData: {
source: '/testdata.php',
format: 'json',
data: {
page: 1,
limit: 10
},
colAssign: ['id', 'modell', 'erstzulassung', 'laufleistung', 'leistung_kw', 'bestand', 'iminternet', 'preis', 'intnr'],
type: 'POST'
}
});
});
}