From f505988294abcd529cba9ce48851938b7a9b6690 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 8 Jan 2024 09:01:40 -0500 Subject: [PATCH] update theme --- pages/benchmark.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/benchmark.html b/pages/benchmark.html index 572018b..8d23b73 100644 --- a/pages/benchmark.html +++ b/pages/benchmark.html @@ -35,7 +35,7 @@

SD WebUI Bechmark Data

- Benchmark data is created using | SD WebUI Extension System Info + Benchmark data is created using | SD WebUI Extension System Info
Last modified | (page is updated automatically hourly if new data is found) | STATUS @@ -88,7 +88,7 @@

SD WebUI Bechmark Data

const grid = new Grid({ columns: [ - { name: '', id: 'id', width: '50px', formatter: (cell) => html(`${cell}`) }, + { name: '', id: 'id', width: '50px', formatter: (cell) => html(`${cell}`) }, { name: 'Date', width: '130px', formatter: (cell) => `${new Date(cell).toLocaleString()}` }, { name: 'Performance', formatter: (cell) => html(`${cell.replace(/\//g, 'it/s
')} it/s
`), sort: { compare: (a, b) => perfSort(a, b) } }, { name: 'Version', width: '260px', formatter: (cell) => html(`${text2url(cell)}`) }, @@ -105,7 +105,9 @@

SD WebUI Bechmark Data

summary: true, }, search: { - keyword: currentUrl.searchParams.get('keyword') || '' + keyword: currentUrl.searchParams.get('keyword') || '', + debounceTimeout: 1500, + ignoreHiddenColumns: true }, sort: { multiColumn: false }, resizable: true, @@ -113,7 +115,7 @@

SD WebUI Bechmark Data

height: '75vh', style: { table: { 'line-break': 'strict' }, - th: { 'background-color': '#CE6400', color: '#000', border: '2px solid #111', padding: '12px' }, + th: { 'background-color': '#67d2d2', color: '#000', border: '2px solid #111', padding: '12px' }, td: { overflow: 'hidden', padding: '6px 10px', 'line-height': '1.5rem', 'background-color': '#333', color: '#FFF', border: '2px solid #111' }, }, data,