From 14e83c5cf3eb64650a019b49d644b68dbd2dc585 Mon Sep 17 00:00:00 2001 From: KennyG Date: Wed, 1 Apr 2026 14:57:15 -0400 Subject: [PATCH] Polish hasharr integration layout for readability. Reflow the hasharr settings into a two-row arrangement with aligned controls, grouped actions/status messaging, and a cleaner profile result block to improve scanability. Made-with: Cursor --- ui/src/app/app.html | 48 ++++++++++++++++++++++++--------------------- ui/src/app/app.sass | 23 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 22 deletions(-) diff --git a/ui/src/app/app.html b/ui/src/app/app.html index 87c110e..f653ccd 100644 --- a/ui/src/app/app.html +++ b/ui/src/app/app.html @@ -428,19 +428,19 @@

-
+
Hasharr Integration
-
-
+
+
-
+
Hasharr URL
-
+
Service ID
-
+
Timeout
-
- - - @if (hasharrSettingsStatus) { - {{ hasharrSettingsStatus }} - } -
- @if (hasharrTestStatus) { -
- {{ hasharrTestStatus }} +
+
+ +
- } +
+
+
+ @if (hasharrSettingsStatus) { + {{ hasharrSettingsStatus }} + } + @if (hasharrTestStatus) { + {{ hasharrTestStatus }} + } +
+
@if (hasharrTestProfile) {
-
+
Profile Name: {{ hasharrTestProfile['name'] }}
Enabled: {{ hasharrTestProfile['enabled'] }}
Apply Actions: {{ hasharrTestProfile['applyActions'] }}
diff --git a/ui/src/app/app.sass b/ui/src/app/app.sass index 9368c48..dd729c3 100644 --- a/ui/src/app/app.sass +++ b/ui/src/app/app.sass @@ -196,3 +196,26 @@ main &.active color: var(--bs-success-text-emphasis) + +.hasharr-integration + .input-group + margin-bottom: 0 + +.hasharr-action-row + display: flex + flex-wrap: wrap + gap: 0.5rem + +.hasharr-status-block + min-height: 2.5rem + display: flex + flex-direction: column + justify-content: center + text-align: left + +.hasharr-profile-result + margin-top: 0.25rem + padding: 0.5rem 0.75rem + border: 1px solid var(--bs-border-color) + border-radius: 0.375rem + background: var(--bs-tertiary-bg)