Skip to content

Commit af07205

Browse files
author
djinni-hppro
committed
provider icon
1 parent f40d922 commit af07205

2 files changed

Lines changed: 27 additions & 16 deletions

File tree

.gemini/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"experimental": {
3+
"gemmaModelRouter": {
4+
"enabled": true,
5+
"classifier": {
6+
"host": "http://localhost:9379",
7+
"model": "gemma3-1b-gpu-custom"
8+
}
9+
}
10+
}
11+
}

src/index.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -180,24 +180,24 @@ <h3 class="text-lg font-semibold" x-text="noteEditorNoteId ? ('Editing: #' + not
180180
:style="{ 'border-color': getNoteColor(note) }"
181181
@click="editNote(note.id)"
182182
>
183-
<div class="flex-grow min-w-0">
184-
<div class="flex justify-between items-baseline mb-2">
185-
<span class="text-xs italic" x-text="formatDate(note.updatedAt)"></span>
186-
<div class="flex gap-1">
187-
<template x-for="provider in ['s3', 'gdrive', 'git', 'ipfs', 'nostr']" :key="provider">
188-
<template x-if="getNoteSyncStatusByProvider(note)[provider]">
189-
<span class="rounded-full p-1 flex items-center justify-center" :title="getProviderName(provider) + ': ' + (getNoteSyncStatusByProvider(note)[provider].status || 'idle')" :class="getProviderSyncIconClass(getNoteSyncStatusByProvider(note)[provider].status || 'idle').color + ' ' + getProviderSyncIconClass(getNoteSyncStatusByProvider(note)[provider].status || 'idle').bg">
190-
<span x-html="getProviderIcon(provider)"></span>
191-
</span>
192-
</template>
183+
<div class="flex-grow min-w-0">
184+
<div class="flex justify-between items-baseline mb-2">
185+
<div class="flex gap-1">
186+
<span class="text-xs italic mt-0.5" x-text="formatDate(note.updatedAt)"></span>
187+
<template x-for="provider in ['s3', 'gdrive', 'git', 'ipfs', 'nostr']" :key="provider">
188+
<template x-if="getNoteSyncStatusByProvider(note)[provider]">
189+
<span class="rounded-full p-1 flex items-center justify-center" :title="getProviderName(provider) + ': ' + (getNoteSyncStatusByProvider(note)[provider].status || 'idle')" :class="getProviderSyncIconClass(getNoteSyncStatusByProvider(note)[provider].status || 'idle').color + ' ' + getProviderSyncIconClass(getNoteSyncStatusByProvider(note)[provider].status || 'idle').bg">
190+
<span x-html="getProviderIcon(provider)"></span>
191+
</span>
193192
</template>
194-
</div>
195-
<span class="text-xs font-bold" x-show="note.priority" x-text="'P:' + note.priority"></span>
196-
</div>
197-
<div class="flex items-center gap-2">
198-
<h4 class="text-base font-bold truncate" :style="{ 'color': getNoteColor(note) }" x-text="note.title"></h4>
193+
</template>
199194
</div>
200-
<p class="text-sm line-clamp-5 break-all" x-text="getNotePreview(note.content)"></p>
195+
<span class="text-xs font-bold" x-show="note.priority" x-text="'P:' + note.priority"></span>
196+
</div>
197+
<div class="flex items-center gap-2">
198+
<h4 class="text-base font-bold truncate" :style="{ 'color': getNoteColor(note) }" x-text="note.title"></h4>
199+
</div>
200+
<p class="text-sm line-clamp-5 break-all" x-text="getNotePreview(note.content)"></p>
201201
</div>
202202

203203
<div class="mt-4 pt-2 border-t flex flex-col gap-2">

0 commit comments

Comments
 (0)