mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
refactor(settings): restructure settings modal with subsection headers
- Replace duplicate section headers with meaningful subsection titles - Group settings under logical subsections using existing i18n keys - Add new translation key 'settings.sections.apiConfiguration' - Update CSS for subsection styling with proper visual hierarchy - Improve UX by making settings organization clearer Subsections now use familiar titles from existing translations: - API Configuration, Storage Location, Language (General) - Content Filtering, Video Settings, Layout Settings (Interface) - Folder Settings, Download Path Templates, Priority Tags, Update Flags, Example Images (Download) - Auto-organize Exclusions, Metadata Refresh Skip Paths (Organization) - Metadata Archive, Misc (System) - Proxy Settings (Network)
This commit is contained in:
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "Einstellungspfad: {{path}}"
|
"clipboardFallback": "Einstellungspfad: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "Inhaltsfilterung",
|
"contentFiltering": "Inhaltsfilterung",
|
||||||
"videoSettings": "Video-Einstellungen",
|
"videoSettings": "Video-Einstellungen",
|
||||||
"layoutSettings": "Layout-Einstellungen",
|
"layoutSettings": "Layout-Einstellungen",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "Settings path: {{path}}"
|
"clipboardFallback": "Settings path: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "API Configuration",
|
||||||
"contentFiltering": "Content Filtering",
|
"contentFiltering": "Content Filtering",
|
||||||
"videoSettings": "Video Settings",
|
"videoSettings": "Video Settings",
|
||||||
"layoutSettings": "Layout Settings",
|
"layoutSettings": "Layout Settings",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "Ruta de configuración: {{path}}"
|
"clipboardFallback": "Ruta de configuración: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "Filtrado de contenido",
|
"contentFiltering": "Filtrado de contenido",
|
||||||
"videoSettings": "Configuración de video",
|
"videoSettings": "Configuración de video",
|
||||||
"layoutSettings": "Configuración de diseño",
|
"layoutSettings": "Configuración de diseño",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "Chemin des paramètres: {{path}}"
|
"clipboardFallback": "Chemin des paramètres: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "Filtrage du contenu",
|
"contentFiltering": "Filtrage du contenu",
|
||||||
"videoSettings": "Paramètres vidéo",
|
"videoSettings": "Paramètres vidéo",
|
||||||
"layoutSettings": "Paramètres d'affichage",
|
"layoutSettings": "Paramètres d'affichage",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "נתיב ההגדרות: {{path}}"
|
"clipboardFallback": "נתיב ההגדרות: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "סינון תוכן",
|
"contentFiltering": "סינון תוכן",
|
||||||
"videoSettings": "הגדרות וידאו",
|
"videoSettings": "הגדרות וידאו",
|
||||||
"layoutSettings": "הגדרות פריסה",
|
"layoutSettings": "הגדרות פריסה",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "設定パス: {{path}}"
|
"clipboardFallback": "設定パス: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "コンテンツフィルタリング",
|
"contentFiltering": "コンテンツフィルタリング",
|
||||||
"videoSettings": "動画設定",
|
"videoSettings": "動画設定",
|
||||||
"layoutSettings": "レイアウト設定",
|
"layoutSettings": "レイアウト設定",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "설정 경로: {{path}}"
|
"clipboardFallback": "설정 경로: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "콘텐츠 필터링",
|
"contentFiltering": "콘텐츠 필터링",
|
||||||
"videoSettings": "비디오 설정",
|
"videoSettings": "비디오 설정",
|
||||||
"layoutSettings": "레이아웃 설정",
|
"layoutSettings": "레이아웃 설정",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "Путь настроек: {{path}}"
|
"clipboardFallback": "Путь настроек: {{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "Фильтрация контента",
|
"contentFiltering": "Фильтрация контента",
|
||||||
"videoSettings": "Настройки видео",
|
"videoSettings": "Настройки видео",
|
||||||
"layoutSettings": "Настройки макета",
|
"layoutSettings": "Настройки макета",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "设置路径:{{path}}"
|
"clipboardFallback": "设置路径:{{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "内容过滤",
|
"contentFiltering": "内容过滤",
|
||||||
"videoSettings": "视频设置",
|
"videoSettings": "视频设置",
|
||||||
"layoutSettings": "布局设置",
|
"layoutSettings": "布局设置",
|
||||||
|
|||||||
@@ -255,6 +255,7 @@
|
|||||||
"clipboardFallback": "設定路徑:{{path}}"
|
"clipboardFallback": "設定路徑:{{path}}"
|
||||||
},
|
},
|
||||||
"sections": {
|
"sections": {
|
||||||
|
"apiConfiguration": "[TODO: Translate] API Configuration",
|
||||||
"contentFiltering": "內容過濾",
|
"contentFiltering": "內容過濾",
|
||||||
"videoSettings": "影片設定",
|
"videoSettings": "影片設定",
|
||||||
"layoutSettings": "版面設定",
|
"layoutSettings": "版面設定",
|
||||||
|
|||||||
@@ -573,20 +573,34 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Remove old section header - replaced by subsection headers */
|
||||||
.settings-section-header {
|
.settings-section-header {
|
||||||
display: flex;
|
display: none;
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 0 var(--space-2) 0;
|
|
||||||
margin-bottom: var(--space-3);
|
|
||||||
border-bottom: 2px solid var(--lora-accent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section-header h3 {
|
/* Subsection styling */
|
||||||
font-size: 20px;
|
.settings-subsection {
|
||||||
|
margin-bottom: var(--space-4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: var(--space-2) 0;
|
||||||
|
margin-bottom: var(--space-2);
|
||||||
|
border-bottom: 1px solid var(--lora-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection-header h4 {
|
||||||
|
font-size: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove toggle button styles */
|
/* Remove toggle button styles */
|
||||||
@@ -598,10 +612,14 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column; /* Changed to column for help text placement */
|
flex-direction: column; /* Changed to column for help text placement */
|
||||||
margin-bottom: var(--space-3); /* Increased to provide more spacing between items */
|
margin-bottom: var(--space-3); /* Increased to provide more spacing between items */
|
||||||
padding: var(--space-1);
|
padding: var(--space-2);
|
||||||
border-radius: var(--border-radius-xs);
|
border-radius: var(--border-radius-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.setting-item:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.setting-item:hover {
|
.setting-item:hover {
|
||||||
background: rgba(0, 0, 0, 0.02);
|
background: rgba(0, 0, 0, 0.02);
|
||||||
}
|
}
|
||||||
@@ -610,6 +628,32 @@
|
|||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Subsection styling */
|
||||||
|
.settings-subsection {
|
||||||
|
margin-bottom: var(--space-5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: var(--space-2) var(--space-2) var(--space-2) 0;
|
||||||
|
margin-bottom: var(--space-2);
|
||||||
|
border-bottom: 1px solid var(--lora-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-subsection-header h4 {
|
||||||
|
font-size: 15px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin: 0;
|
||||||
|
color: var(--text-color);
|
||||||
|
opacity: 0.85;
|
||||||
|
letter-spacing: 0.3px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Control row with label and input together */
|
/* Control row with label and input together */
|
||||||
.setting-row {
|
.setting-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user