From 71f312d8309f6b27780ebc85360cadd055b21f88 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sun, 27 Oct 2024 20:15:03 +0100 Subject: [PATCH] webapp: show pin mapping categories as cards on a desktop browser, this approach allows to display all categories at once. we also increase readability as the values are much closer to their label. previously, the values were far to the right of the screen and it was unpleasent to read which value belonged to which setting. the grouping of values per category was also not very well conceived. by using cards, we also avoid some styling issues, namely the use of rowspan, which caused a spurious table cell border at the end of the old table layout. --- lang/es.lang.json | 1 - lang/it.lang.json | 1 - webapp/src/components/PinInfo.vue | 66 +++++++++++++++---------------- webapp/src/locales/de.json | 1 - webapp/src/locales/en.json | 1 - webapp/src/locales/fr.json | 1 - 6 files changed, 31 insertions(+), 40 deletions(-) diff --git a/lang/es.lang.json b/lang/es.lang.json index 1f63a54..629b979 100644 --- a/lang/es.lang.json +++ b/lang/es.lang.json @@ -673,7 +673,6 @@ "LedBrightness": "Brillo del LED {led} ({brightness})" }, "pininfo": { - "PinOverview": "Resumen de Conexiones", "Category": "Categoría", "Name": "Nombre", "Number": "Número", diff --git a/lang/it.lang.json b/lang/it.lang.json index 3a0ba1d..eaafda6 100644 --- a/lang/it.lang.json +++ b/lang/it.lang.json @@ -673,7 +673,6 @@ "LedBrightness": "LED {led}, Luminosità ({brightness})" }, "pininfo": { - "PinOverview": "Panoramica della Connessione", "Category": "Categoria", "Name": "Nome", "Number": "Numero", diff --git a/webapp/src/components/PinInfo.vue b/webapp/src/components/PinInfo.vue index ee9359e..03dcfbb 100644 --- a/webapp/src/components/PinInfo.vue +++ b/webapp/src/components/PinInfo.vue @@ -1,40 +1,36 @@