From 559ccd77f37e5d6a534b2fc55d4dc12d846c6e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 20 May 2026 10:41:44 +0200 Subject: [PATCH] fix in ux --- pytorrent/static/styles.css | 49 +++++++++++++++++++++++++++++++--- pytorrent/templates/index.html | 4 +-- 2 files changed, 48 insertions(+), 5 deletions(-) diff --git a/pytorrent/static/styles.css b/pytorrent/static/styles.css index 5924199..1c2ec05 100644 --- a/pytorrent/static/styles.css +++ b/pytorrent/static/styles.css @@ -4181,13 +4181,44 @@ body, /* Operation logs */ .operation-log-toolbar, -.operation-log-settings-grid { +.operation-log-toolbar-main, +.operation-log-settings-grid, +.operation-log-view-settings { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; } +.operation-log-toolbar { + justify-content: space-between; +} + +.operation-log-toolbar-main { + flex: 1 1 auto; +} + +.operation-log-toolbar-toggle { + flex: 0 0 auto; + margin-left: auto; +} + +.operation-log-view-settings { + align-items: center; + border-top: 1px solid var(--bs-border-color); + margin-top: 1rem; + padding-top: 1rem; +} + +.operation-log-view-settings > div:first-child { + flex: 1 1 220px; +} + +.operation-log-view-settings small { + color: var(--bs-secondary-color); + display: block; +} + .operation-log-type-filter { max-width: 180px; } @@ -4257,8 +4288,20 @@ body, width: 100%; } - .operation-log-toolbar > .btn, - .operation-log-settings-actions > .btn { + .operation-log-toolbar, + .operation-log-toolbar-main, + .operation-log-view-settings { + align-items: stretch; + flex-direction: column; + } + + .operation-log-toolbar-toggle { + margin-left: 0; + } + + .operation-log-toolbar-main > .btn, + .operation-log-settings-actions > .btn, + .operation-log-view-settings > .btn { width: 100%; } } diff --git a/pytorrent/templates/index.html b/pytorrent/templates/index.html index 4350a2e..7b95c1d 100644 --- a/pytorrent/templates/index.html +++ b/pytorrent/templates/index.html @@ -264,7 +264,7 @@
Appearance
Theme, typography and interface scale. Torrent view preferences also remember the selected filter, sorting and the height of the General / Files / Trackers panel.
View state is saved automatically in the database: current torrent filter, last sort column and direction, visible columns, and details panel height.
Browser title
Controls what is shown in the browser tab.
Tracker icons
Visual helper for tracker filters in the sidebar.
Notifications
Toast notifications from automatic systems.
Disk monitor
Choose what the footer disk bar should represent and add extra storage paths.
Progress source
Monitored paths
The footer tooltip always shows details for available paths; this setting only decides which value drives the visible progress bar.
Port checker
Incoming connection test, separate from visual preferences.
disabled
Uses YouGetSignal first. Manual check bypasses the 6h cache.
Job scheduling
These settings are stored per active rTorrent profile. Light jobs are control actions such as start, stop, pause, resume, labels, ratio assignment, reannounce and speed limits. Heavy jobs are long or destructive actions such as move, remove and adding torrents.
-
Operation log retention
Manage operation log retention and review profile-scoped statistics without changing torrent data.
Loading statistics...
+
Operation log retention
Manage operation log retention and review profile-scoped statistics without changing torrent data.
Default log viewControls the default category and job log visibility used by the Logs modal.
Loading statistics...
{% if auth_enabled and current_user and current_user.role == 'admin' %}
Users
Manage optional pyTorrent users. Empty profile means all profiles. R/O blocks rTorrent-changing actions; Full allows them.
{% endif %} @@ -309,7 +309,7 @@ - +