Change d'interface plus légére, modification side barre
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<div class="favorite-item" data-path="{{.Path}}">
|
||||
{{if .IsDir}}
|
||||
<div class="favorite-folder" data-path="{{.Path}}">
|
||||
<span class="favorite-icon">⭐</span>
|
||||
<span class="favorite-icon"><i data-lucide="star" class="icon-sm"></i></span>
|
||||
<span class="favorite-folder-icon">{{.Icon}}</span>
|
||||
<span class="favorite-name">{{.Title}}</span>
|
||||
<button class="favorite-remove"
|
||||
onclick="removeFavorite('{{.Path}}')"
|
||||
title="Retirer des favoris">×</button>
|
||||
<button class="favorite-remove"
|
||||
onclick="removeFavorite('{{.Path}}')"
|
||||
title="Retirer des favoris"><i data-lucide="x" class="icon-xs"></i></button>
|
||||
</div>
|
||||
{{else}}
|
||||
<a href="#"
|
||||
@ -18,12 +18,12 @@
|
||||
hx-target="#editor-container"
|
||||
hx-swap="innerHTML"
|
||||
hx-push-url="true">
|
||||
<span class="favorite-icon">⭐</span>
|
||||
<span class="favorite-icon"><i data-lucide="star" class="icon-sm"></i></span>
|
||||
<span class="favorite-file-icon">{{.Icon}}</span>
|
||||
<span class="favorite-name">{{.Title}}</span>
|
||||
<button class="favorite-remove"
|
||||
onclick="event.preventDefault(); event.stopPropagation(); removeFavorite('{{.Path}}')"
|
||||
title="Retirer des favoris">×</button>
|
||||
<button class="favorite-remove"
|
||||
onclick="event.preventDefault(); event.stopPropagation(); removeFavorite('{{.Path}}')"
|
||||
title="Retirer des favoris"><i data-lucide="x" class="icon-xs"></i></button>
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
@ -32,7 +32,7 @@
|
||||
<p class="favorites-empty">
|
||||
Aucun favori.<br>
|
||||
<span style="font-size: 0.75rem; color: var(--text-muted);">
|
||||
Cliquez sur ⭐ à côté d'une note ou d'un dossier pour l'ajouter.
|
||||
Cliquez sur <i data-lucide="star" class="icon-sm" style="display: inline; width: 14px; height: 14px; vertical-align: middle;"></i> à côté d'une note ou d'un dossier pour l'ajouter.
|
||||
</span>
|
||||
</p>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user