Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Dec 1, 2023
1 parent 09090d4 commit d520c75
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions web/subs.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
const templateSub = (sub) => `
<div class="p-1 shadow-sm border hover:text-sky-500">
<span class="flex space-x-2">
<span class="hover:cursor-pointer" onclick="showInbox('${sub.id}')">
<span class="flex space-x-1">
<p class="truncate w-[256px] ${sub.hasOwnProperty("enabled") && sub.enabled ? "" : "text-slate-500"}">
${sub.description}
</p>
</span>
</span>
<span class="flex">
</span>
<div class="p-1 shadow-sm border hover:text-sky-500 flex">
<span class="truncate w-[240px]">
${sub.description}
</span>
<div class="hidden md:inline md:grow"></div>
<span>
🠆
</span>
</div>
`
Expand Down

0 comments on commit d520c75

Please sign in to comment.