feat: fetch upstream model list, password modal, sub-modal close button styling

- Add fetch models from upstream API via /v1/models endpoint with datalist suggestions
- Refactor password change from inline form to button + modal
- Fix sub-modal close button styling to match main settings panel
This commit is contained in:
cc-dan
2026-03-11 06:14:42 +00:00
parent a9daf5ce4d
commit b2dbacb870
4 changed files with 267 additions and 80 deletions

View File

@@ -1078,6 +1078,27 @@ body {
border-radius: 6px;
}
.settings-panel h3 .settings-close:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.settings-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 20px;
}
.settings-header h3 {
margin-bottom: 0;
flex: 1;
}
.settings-header .settings-close {
margin-left: auto;
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: var(--text-muted);
padding: 2px 6px;
border-radius: 6px;
}
.settings-header .settings-close:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.settings-field {
margin-bottom: 16px;
}