Des tonnes de modifications notamment VIM / Couleurs / typos

This commit is contained in:
2025-11-11 15:41:51 +01:00
parent 439880b08f
commit 6face7a02f
59 changed files with 7857 additions and 960 deletions

View File

@ -1,10 +1,8 @@
<!-- Zone de drop racine -->
<div class="root-drop-zone folder-item" data-path="" data-is-dir="true" data-is-root="true">
<div class="folder-header root-folder-header">
<span class="folder-icon">🏠</span>
<span class="folder-name">Racine</span>
<span class="root-hint">(notes/)</span>
</div>
<!-- Indicateur de racine (non cliquable) -->
<div class="root-indicator">
<span class="folder-icon">🏠</span>
<span class="folder-name">Racine</span>
<span class="root-hint">(notes/)</span>
</div>
<hr style="border: none; border-top: 1px solid var(--border-primary); margin: 0.75rem 0;">
@ -24,6 +22,7 @@
{{if .IsDir}}
<div class="folder-item" data-path="{{.Path}}" data-is-dir="true">
<div class="folder-header">
<input type="checkbox" class="selection-checkbox folder-checkbox" data-path="{{.Path}}" data-is-dir="true" style="display: none;">
<span class="folder-toggle"></span>
<span class="folder-icon">📁</span>
<span class="folder-name">{{.Name}}</span>
@ -35,16 +34,19 @@
</div>
</div>
{{else}}
<a href="#"
class="file-item"
data-path="{{.Path}}"
data-is-dir="false"
hx-get="/api/notes/{{.Path}}"
hx-target="#editor-container"
hx-swap="innerHTML"
draggable="true">
📄 {{.Name}}
</a>
<div class="file-item-wrapper">
<input type="checkbox" class="selection-checkbox file-checkbox" data-path="{{.Path}}" data-is-dir="false" style="display: none;">
<a href="#"
class="file-item"
data-path="{{.Path}}"
data-is-dir="false"
hx-get="/api/notes/{{.Path}}"
hx-target="#editor-container"
hx-swap="innerHTML"
draggable="true">
📄 {{.Name}}
</a>
</div>
{{end}}
{{end}}
{{end}}