Commit avant changement d'agent vers devstral
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
type="search"
|
||||
name="query"
|
||||
placeholder="Rechercher une note (mot-clé, tag:projet, title:... )"
|
||||
data-i18n-placeholder="search.placeholder"
|
||||
hx-get="/api/search"
|
||||
hx-trigger="keyup changed delay:500ms, search"
|
||||
hx-target="#search-results"
|
||||
@ -43,10 +44,11 @@
|
||||
hx-swap="innerHTML"
|
||||
hx-push-url="true"
|
||||
style="white-space: nowrap;"
|
||||
data-i18n="menu.home"
|
||||
title="Retour à la page d'accueil (Ctrl/Cmd+H)">
|
||||
🏠 Accueil
|
||||
</button>
|
||||
<button onclick="showNewNoteModal()" style="white-space: nowrap;" title="Créer une nouvelle note (Ctrl/Cmd+N)">
|
||||
<button onclick="showNewNoteModal()" style="white-space: nowrap;" data-i18n="menu.newNote" title="Créer une nouvelle note (Ctrl/Cmd+N)">
|
||||
✨ Nouvelle note
|
||||
</button>
|
||||
</header>
|
||||
@ -163,6 +165,9 @@
|
||||
<button class="settings-tab" onclick="switchSettingsTab('editor')">
|
||||
⌨️ Éditeur
|
||||
</button>
|
||||
<button class="settings-tab" onclick="switchSettingsTab('other')">
|
||||
⚙️ Autre
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Section Thèmes -->
|
||||
@ -443,6 +448,37 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Section Autre (Langue) -->
|
||||
<div id="other-section" class="settings-section" style="display: none;">
|
||||
<h3 style="font-size: 1.1rem; color: var(--text-primary); margin-bottom: var(--spacing-lg);">🌍 Langue / Language</h3>
|
||||
|
||||
<div style="display: flex; flex-direction: column; gap: var(--spacing-md);">
|
||||
<label class="language-option" style="display: flex; align-items: center; padding: var(--spacing-lg); background: var(--bg-secondary); border-radius: var(--radius-md); border: 2px solid var(--border-primary); cursor: pointer; transition: all 0.2s ease;">
|
||||
<input type="radio" name="language" value="en" style="margin-right: var(--spacing-md); width: 20px; height: 20px; cursor: pointer;">
|
||||
<div style="flex: 1;">
|
||||
<div style="font-weight: 500; color: var(--text-primary); margin-bottom: 0.25rem; font-size: 1rem;">
|
||||
🇬🇧 English
|
||||
</div>
|
||||
<div style="font-size: 0.85rem; color: var(--text-secondary);">
|
||||
English interface
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<label class="language-option" style="display: flex; align-items: center; padding: var(--spacing-lg); background: var(--bg-secondary); border-radius: var(--radius-md); border: 2px solid var(--border-primary); cursor: pointer; transition: all 0.2s ease;">
|
||||
<input type="radio" name="language" value="fr" style="margin-right: var(--spacing-md); width: 20px; height: 20px; cursor: pointer;">
|
||||
<div style="flex: 1;">
|
||||
<div style="font-weight: 500; color: var(--text-primary); margin-bottom: 0.25rem; font-size: 1rem;">
|
||||
🇫🇷 Français
|
||||
</div>
|
||||
<div style="font-size: 0.85rem; color: var(--text-secondary);">
|
||||
Interface en français
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="theme-modal-footer">
|
||||
<button type="button" class="secondary" onclick="closeThemeModal()">Fermer</button>
|
||||
@ -467,7 +503,7 @@
|
||||
<section>
|
||||
<div class="sidebar-section-header" data-section="favorites" onclick="toggleSidebarSection('favorites', event)" style="cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0;">
|
||||
<span class="section-toggle expanded">▶</span>
|
||||
<h2 class="sidebar-section-title" style="margin: 0; flex: 1;">⭐ Favoris</h2>
|
||||
<h2 class="sidebar-section-title" data-i18n="sidebar.favorites" style="margin: 0; flex: 1;">⭐ Favoris</h2>
|
||||
</div>
|
||||
<div class="sidebar-section-content" id="favorites-content" style="display: block;">
|
||||
<div id="favorites-list"
|
||||
@ -485,7 +521,7 @@
|
||||
<section>
|
||||
<div class="sidebar-section-header" data-section="daily-notes" onclick="toggleSidebarSection('daily-notes', event)" style="cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0;">
|
||||
<span class="section-toggle expanded">▶</span>
|
||||
<h2 class="sidebar-section-title" style="margin: 0; flex: 1;">📅 Daily Notes</h2>
|
||||
<h2 class="sidebar-section-title" data-i18n="sidebar.daily" style="margin: 0; flex: 1;">📅 Daily Notes</h2>
|
||||
</div>
|
||||
<div class="sidebar-section-content" id="daily-notes-content" style="display: block;">
|
||||
<div id="daily-calendar-container"
|
||||
@ -525,7 +561,7 @@
|
||||
</section>
|
||||
|
||||
<!-- Bouton Nouveau dossier avant les paramètres -->
|
||||
<button onclick="showNewFolderModal()" class="folder-create-btn sidebar-action-btn" title="Créer un nouveau dossier (Ctrl/Cmd+Shift+F)">
|
||||
<button onclick="showNewFolderModal()" class="folder-create-btn sidebar-action-btn" data-i18n="fileTree.newFolder" title="Créer un nouveau dossier (Ctrl/Cmd+Shift+F)">
|
||||
📁 Nouveau dossier
|
||||
</button>
|
||||
|
||||
@ -537,7 +573,7 @@
|
||||
<circle cx="12" cy="12" r="3"></circle>
|
||||
<path d="M12 1v6m0 6v6m-6-6h6m6 0h-6m-5.3-5.3l4.2 4.2m4.2 4.2l4.2 4.2m0-12.6l-4.2 4.2m-4.2 4.2L2.7 19.3"></path>
|
||||
</svg>
|
||||
<span>Paramètres</span>
|
||||
<span data-i18n="settings.title">Paramètres</span>
|
||||
</button>
|
||||
|
||||
<!-- Bouton À propos -->
|
||||
|
||||
Reference in New Issue
Block a user