mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 07:33:07 +01:00
Collapse custom locations into a filterable list
The Custom Locations tab rendered every location fully expanded, which becomes unusable once a host has more than a handful of them. Each row is now a collapsible card showing its path and forward target, collapsed by default, with the Add Location button moved to the top so it stays reachable without scrolling to the end of the list. A filter appears once there are five or more locations and matches on the path as well as the forward scheme, host and port. New locations are still appended to the end of the list, so the generated nginx config is unchanged. Also fixes two existing issues in this component: the per-location inputs shared the same DOM ids across rows, and the advanced-config toggle state was keyed by array index, so removing a location moved it onto the wrong row.
This commit is contained in:
1 parent
a62c2a6dc3
commit
ab96d78f4d
4 files changed
+343
-132
No files matched your search
@@ -101,6 +101,9 @@
|
||||
"action.allow": {
|
||||
"defaultMessage": "Allow"
|
||||
},
|
||||
"action.clear": {
|
||||
"defaultMessage": "Clear"
|
||||
},
|
||||
"action.close": {
|
||||
"defaultMessage": "Close"
|
||||
},
|
||||
@@ -461,6 +464,12 @@
|
||||
"loading": {
|
||||
"defaultMessage": "Loading…"
|
||||
},
|
||||
"location.advanced-config": {
|
||||
"defaultMessage": "Has custom Nginx configuration"
|
||||
},
|
||||
"location.filter": {
|
||||
"defaultMessage": "Filter by path or destination"
|
||||
},
|
||||
"login.2fa-code": {
|
||||
"defaultMessage": "Verification Code"
|
||||
},
|
||||
|
||||
@@ -44,6 +44,9 @@
|
||||
"action.allow": {
|
||||
"defaultMessage": "İzin Ver"
|
||||
},
|
||||
"action.clear": {
|
||||
"defaultMessage": "Temizle"
|
||||
},
|
||||
"action.close": {
|
||||
"defaultMessage": "Kapat"
|
||||
},
|
||||
@@ -386,6 +389,12 @@
|
||||
"loading": {
|
||||
"defaultMessage": "Yükleniyor…"
|
||||
},
|
||||
"location.advanced-config": {
|
||||
"defaultMessage": "Özel Nginx yapılandırması var"
|
||||
},
|
||||
"location.filter": {
|
||||
"defaultMessage": "Yol veya hedefe göre filtrele"
|
||||
},
|
||||
"login.title": {
|
||||
"defaultMessage": "Hesabınıza giriş yapın"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user