ddfsdf
This commit is contained in:
@@ -2269,13 +2269,13 @@
|
|||||||
]),
|
]),
|
||||||
]) : null,
|
]) : null,
|
||||||
]),
|
]),
|
||||||
panel('Messhistorie', 'Alle Messpunkte inkl. Performance-Werten und OCR-Metadaten.', h('div', { className: 'mc-table-shell' }, [
|
panel('Messhistorie', 'Die letzten 10 Uploads inkl. Performance-Werten und OCR-Metadaten.', h('div', { className: 'mc-table-shell' }, [
|
||||||
h('table', { key: 'table', className: 'mc-table' }, [
|
h('table', { key: 'table', className: 'mc-table' }, [
|
||||||
h('thead', { key: 'thead' }, h('tr', null, [
|
h('thead', { key: 'thead' }, h('tr', null, [
|
||||||
'Zeit', 'Coins', 'Kurs', 'Quelle', 'DOGE/Tag', 'Trend', 'Notiz'
|
'Zeit', 'Coins', 'Kurs', 'Quelle', 'DOGE/Tag', 'Trend', 'Notiz'
|
||||||
].map((label) => h('th', { key: label }, label)))),
|
].map((label) => h('th', { key: label }, label)))),
|
||||||
h('tbody', { key: 'tbody' },
|
h('tbody', { key: 'tbody' },
|
||||||
measurements.slice().reverse().map((row) => h('tr', { key: row.id }, [
|
measurements.slice(-10).reverse().map((row) => h('tr', { key: row.id }, [
|
||||||
h('td', { key: 'measured' }, fmtDate(row.measured_at)),
|
h('td', { key: 'measured' }, fmtDate(row.measured_at)),
|
||||||
h('td', { key: 'coins' }, fmtNumber(row.coins_total, 6)),
|
h('td', { key: 'coins' }, fmtNumber(row.coins_total, 6)),
|
||||||
h('td', { key: 'price' }, row.price_per_coin ? `${fmtNumber(row.price_per_coin, 6)} ${row.price_currency}` : 'n/a'),
|
h('td', { key: 'price' }, row.price_per_coin ? `${fmtNumber(row.price_per_coin, 6)} ${row.price_currency}` : 'n/a'),
|
||||||
|
|||||||
Reference in New Issue
Block a user