From b492540f65b177e84ffe4f16987d3cb850828468 Mon Sep 17 00:00:00 2001
From: Joacim Breiler
Date: Fri, 27 Dec 2024 15:32:18 +0100
Subject: [PATCH] Adjusted layout when installing firmware
---
src/panels/firmware/Firmware.tsx | 129 +++++++++++++++++--------------
1 file changed, 73 insertions(+), 56 deletions(-)
diff --git a/src/panels/firmware/Firmware.tsx b/src/panels/firmware/Firmware.tsx
index 6e2fcc3..1e2872e 100644
--- a/src/panels/firmware/Firmware.tsx
+++ b/src/panels/firmware/Firmware.tsx
@@ -125,58 +125,73 @@ const Firmware = ({ onInstall }: Props) => {
-
-
- chooseFirmware(event.target.value)
- }
- >
- {!releases?.length && (
-
- )}
- {releases.map((release) => (
-
- ))}
-
-
-
-
- }
- >
-
- {" "}
- {
- setShowPrerelease(
- Boolean(
- event.target.checked
- ).toString()
- );
- }}
- />
-
-
- setUploadCustomImage(true)}
- >
-
- Upload custom image...
-
-
+
+
+
+
+ chooseFirmware(event.target.value)
+ }
+ >
+ {!releases?.length && (
+
+ )}
+ {releases.map((release) => (
+
+ ))}
+
+
+
+
+ }
+ >
+
+ {" "}
+ {
+ setShowPrerelease(
+ Boolean(
+ event.target.checked
+ ).toString()
+ );
+ }}
+ />
+
+
+
+ setUploadCustomImage(true)
+ }
+ >
+
+ Upload custom image...
+
+
+
+
>
@@ -184,7 +199,7 @@ const Firmware = ({ onInstall }: Props) => {
{isLoading && (
-
+
Fetching
@@ -195,7 +210,8 @@ const Firmware = ({ onInstall }: Props) => {
{
)}
-
-
+
+
+