Feature: Add 'Rewrite pending' button next to folder title
This commit is contained in:
27
index.html
27
index.html
@@ -247,16 +247,23 @@
|
|||||||
<!-- Content-Area -->
|
<!-- Content-Area -->
|
||||||
<div class="flex-1 p-4 overflow-y-auto content-area">
|
<div class="flex-1 p-4 overflow-y-auto content-area">
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<div id="folderTitleDrop"
|
<div class="flex items-center pb-2">
|
||||||
class="relative flex items-baseline space-x-1 cursor-pointer select-none group pb-2">
|
<div id="folderTitleDrop"
|
||||||
<svg id="folderTitleArrow"
|
class="relative flex flex-1 min-w-0 items-baseline space-x-1 cursor-pointer select-none group">
|
||||||
class="h-4 w-6 flex-none transition-transform"
|
<svg id="folderTitleArrow"
|
||||||
viewBox="0 0 24 24">
|
class="h-4 w-6 flex-none transition-transform"
|
||||||
<path stroke="currentColor" stroke-width="2" fill="none"
|
viewBox="0 0 24 24">
|
||||||
stroke-linecap="round" stroke-linejoin="round"
|
<path stroke="currentColor" stroke-width="2" fill="none"
|
||||||
d="M9 5l7 7-7 7"/>
|
stroke-linecap="round" stroke-linejoin="round"
|
||||||
</svg>
|
d="M9 5l7 7-7 7"/>
|
||||||
<span id="currentTitle" class="font-semibold text-xl truncate"></span>
|
</svg>
|
||||||
|
<span id="currentTitle" class="font-semibold text-xl truncate"></span>
|
||||||
|
</div>
|
||||||
|
<button id="rewritePendingBtn"
|
||||||
|
class="hidden ml-3 px-3 py-1.5 text-sm border rounded font-semibold whitespace-nowrap"
|
||||||
|
style="background: var(--accent); color: #fff; border-color: var(--border)">
|
||||||
|
Rewrite pending (0)
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<pre id="folderHierarchyDropdown"
|
<pre id="folderHierarchyDropdown"
|
||||||
class="hidden text-sm font-mono select-text leading-snug mb-2 mt-1 max-h-80 overflow-auto"
|
class="hidden text-sm font-mono select-text leading-snug mb-2 mt-1 max-h-80 overflow-auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user