added missing hardcoded mouseovers
This commit is contained in:
parent
2940a19367
commit
2c6f0b6b50
|
|
@ -2141,7 +2141,7 @@ function noteApp() {
|
|||
onclick="window.$root.handleNewItemClick(this, event)"
|
||||
class="px-1.5 py-0.5 text-xs rounded hover:brightness-110"
|
||||
style="background-color: var(--bg-tertiary); color: var(--text-secondary);"
|
||||
title="Add item here"
|
||||
title="${esc(this.t('sidebar.new_note'))}"
|
||||
>+</button>
|
||||
<button
|
||||
data-path="${esc(folder.path)}"
|
||||
|
|
@ -2149,7 +2149,7 @@ function noteApp() {
|
|||
onclick="window.$root.handleRenameFolderClick(this, event)"
|
||||
class="px-1.5 py-0.5 text-xs rounded hover:brightness-110"
|
||||
style="background-color: var(--bg-tertiary); color: var(--text-secondary);"
|
||||
title="Rename folder"
|
||||
title="${esc(this.t('sidebar.rename_folder'))}"
|
||||
>✏️</button>
|
||||
<button
|
||||
data-path="${esc(folder.path)}"
|
||||
|
|
@ -2157,7 +2157,7 @@ function noteApp() {
|
|||
onclick="window.$root.handleDeleteFolderClick(this, event)"
|
||||
class="px-1 py-0.5 text-xs rounded hover:brightness-110"
|
||||
style="color: var(--error);"
|
||||
title="Delete folder"
|
||||
title="${esc(this.t('sidebar.delete_folder'))}"
|
||||
>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"></path>
|
||||
|
|
@ -2206,7 +2206,7 @@ function noteApp() {
|
|||
|
||||
// Share icon for shared notes
|
||||
const isShared = !isMediaFile && this.isNoteShared(note.path);
|
||||
const shareIcon = isShared ? '<svg title="Shared" style="display: inline-block; width: 12px; height: 12px; vertical-align: middle; margin-right: 2px; opacity: 0.7;" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"></path></svg>' : '';
|
||||
const shareIcon = isShared ? '<svg aria-hidden="true" style="display: inline-block; width: 12px; height: 12px; vertical-align: middle; margin-right: 2px; opacity: 0.7;" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"></path></svg>' : '';
|
||||
const icon = this.getMediaIcon(note.type);
|
||||
|
||||
return `
|
||||
|
|
@ -2231,7 +2231,7 @@ function noteApp() {
|
|||
onclick="window.$root.handleDeleteItemClick(this, event)"
|
||||
class="note-delete-btn absolute right-2 top-1/2 transform -translate-y-1/2 px-1 py-0.5 text-xs rounded hover:brightness-110 transition-opacity"
|
||||
style="opacity: 0; color: var(--error);"
|
||||
title="${isMediaFile ? 'Delete file' : 'Delete note'}"
|
||||
title="${esc(isMediaFile ? this.t('toolbar.delete_image') : this.t('toolbar.delete_note'))}"
|
||||
>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"></path>
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Neue Notiz",
|
||||
"new_folder": "Neuer Ordner",
|
||||
"new_from_template": "Neu aus Vorlage",
|
||||
"rename_folder": "Ordner umbenennen",
|
||||
"delete_folder": "Ordner löschen",
|
||||
"search_placeholder": "Notizen durchsuchen...",
|
||||
"search_hint": "Tippe, um deine Notizen zu durchsuchen",
|
||||
"clear_search": "Suche löschen",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "New Note",
|
||||
"new_folder": "New Folder",
|
||||
"new_from_template": "New from Template",
|
||||
"rename_folder": "Rename folder",
|
||||
"delete_folder": "Delete folder",
|
||||
"search_placeholder": "Search notes...",
|
||||
"search_hint": "Type to search your notes",
|
||||
"clear_search": "Clear search",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "New Note",
|
||||
"new_folder": "New Folder",
|
||||
"new_from_template": "New from Template",
|
||||
"rename_folder": "Rename folder",
|
||||
"delete_folder": "Delete folder",
|
||||
"search_placeholder": "Search notes...",
|
||||
"search_hint": "Type to search your notes",
|
||||
"clear_search": "Clear search",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Nueva Nota",
|
||||
"new_folder": "Nueva Carpeta",
|
||||
"new_from_template": "Nueva desde Plantilla",
|
||||
"rename_folder": "Renombrar carpeta",
|
||||
"delete_folder": "Eliminar carpeta",
|
||||
"search_placeholder": "Buscar notas...",
|
||||
"search_hint": "Escribe para buscar tus notas",
|
||||
"clear_search": "Limpiar búsqueda",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Nouvelle Note",
|
||||
"new_folder": "Nouveau Dossier",
|
||||
"new_from_template": "Nouveau depuis Modèle",
|
||||
"rename_folder": "Renommer le dossier",
|
||||
"delete_folder": "Supprimer le dossier",
|
||||
"search_placeholder": "Rechercher des notes...",
|
||||
"search_hint": "Tapez pour rechercher vos notes",
|
||||
"clear_search": "Effacer la recherche",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Új Jegyzet",
|
||||
"new_folder": "Új Mappa",
|
||||
"new_from_template": "Új Sablonból",
|
||||
"rename_folder": "Mappa átnevezése",
|
||||
"delete_folder": "Mappa törlése",
|
||||
"search_placeholder": "Jegyzetek keresése...",
|
||||
"search_hint": "Írj a jegyzetek kereséséhez",
|
||||
"clear_search": "Keresés törlése",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Nuova Nota",
|
||||
"new_folder": "Nuova Cartella",
|
||||
"new_from_template": "Nuovo da Modello",
|
||||
"rename_folder": "Rinomina cartella",
|
||||
"delete_folder": "Elimina cartella",
|
||||
"search_placeholder": "Cerca note...",
|
||||
"search_hint": "Digita per cercare le tue note",
|
||||
"clear_search": "Cancella ricerca",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "新規ノート",
|
||||
"new_folder": "新規フォルダ",
|
||||
"new_from_template": "テンプレートから作成",
|
||||
"rename_folder": "フォルダの名前を変更",
|
||||
"delete_folder": "フォルダを削除",
|
||||
"search_placeholder": "ノートを検索...",
|
||||
"search_hint": "ノートを検索",
|
||||
"clear_search": "検索をクリア",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Новая заметка",
|
||||
"new_folder": "Новая папка",
|
||||
"new_from_template": "Из шаблона",
|
||||
"rename_folder": "Переименовать папку",
|
||||
"delete_folder": "Удалить папку",
|
||||
"search_placeholder": "Поиск заметок...",
|
||||
"search_hint": "Введите для поиска",
|
||||
"clear_search": "Очистить поиск",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "Nov zapis",
|
||||
"new_folder": "Nova mapa",
|
||||
"new_from_template": "Novo iz predloge",
|
||||
"rename_folder": "Preimenuj mapo",
|
||||
"delete_folder": "Izbriši mapo",
|
||||
"search_placeholder": "Išči zapiske...",
|
||||
"search_hint": "Tipkajte za iskanje zapiskov",
|
||||
"clear_search": "Počisti iskanje",
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
"new_note": "新建笔记",
|
||||
"new_folder": "新建文件夹",
|
||||
"new_from_template": "从模板新建",
|
||||
"rename_folder": "重命名文件夹",
|
||||
"delete_folder": "删除文件夹",
|
||||
"search_placeholder": "搜索笔记...",
|
||||
"search_hint": "输入以搜索您的笔记",
|
||||
"clear_search": "清除搜索",
|
||||
|
|
|
|||
Loading…
Reference in New Issue