diff --git a/frontend/dashboard.html b/frontend/dashboard.html
index 5c4e872..6b8de26 100644
--- a/frontend/dashboard.html
+++ b/frontend/dashboard.html
@@ -22,26 +22,6 @@
-
-
-
-
-
-
Paramètres
-
-
-
-
Sécurité du compte
-
{{ settingsMessage }}
-
-
-
-
-
-
-
@@ -244,7 +224,7 @@
-
+
@@ -453,9 +433,8 @@
const isSyncing = ref(false);
const isSavingSettings = ref(false);
- const isSettingsModalOpen = ref(false);
- const settingsMessage = ref("");
const passForm = reactive({ old: '', new: '', confirm: '' });
+ const settingsMessage = ref("");
const modelInfo = reactive({ last_sync_date: null, last_sync_type: null, models: [] });
const financesList = ref([]);
@@ -528,8 +507,11 @@
const autoResize = () => { const el = promptTextarea.value; if(el){ el.style.height = 'auto'; el.style.height = el.scrollHeight + 'px'; }};
const scrollToBottom = () => { nextTick(() => { const c = document.getElementById('chat-container'); if (c) c.scrollTop = c.scrollHeight; }); };
- const openSettings = () => { isSettingsModalOpen.value = true; nextTick(() => lucide.createIcons()); };
- const closeSettings = () => { isSettingsModalOpen.value = false; };
+ const openSettings = () => {
+ activeView.value = 'settings';
+ if(window.innerWidth < 768) isSidebarOpen.value = false;
+ nextTick(() => lucide.createIcons());
+ };
const logToTerminal = async (msg) => {
try { await fetch('/api/logs', { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ message: msg }) }); } catch(e){}
@@ -893,7 +875,7 @@
user, activeView, settingsTab, isSidebarOpen, toggleSidebar, prompt, autoResize, promptTextarea,
projects, pinnedProjects, recentProjects, activeProject, messages, isAiThinking,
createNewProject, selectProject, renameProject, sendMessage, isLoading, togglePin, deleteProject,
- isSettingsModalOpen, openSettings, closeSettings, passForm, settingsMessage, isSavingSettings, changePassword, uploadAvatar,
+ openSettings, passForm, settingsMessage, isSavingSettings, changePassword, uploadAvatar,
modelInfo, financesList, filterSearch, filterDomain, filterPricing, filterProvider, uniqueProviders, filteredModels, getFilteredModelsForCol, formatDate, syncModels, isSyncing,
workers, selectedPrompter, selectedConcatenator, colPricing, colDomain, downloadTemplate, exportCSV, handleConfigImport,
attachedFiles, handleFileUpload, handlePaste, removeFile,