Adicionar botão de download da pasta raiz no explorador de arquivos

This commit is contained in:
Frederico Castro
2026-02-28 02:42:57 -03:00
parent 3178366e0e
commit 2fccaaac40

View File

@@ -40,7 +40,7 @@ const FilesUI = {
${breadcrumb} ${breadcrumb}
<div class="files-toolbar"> <div class="files-toolbar">
<span class="files-count">${entries.length} ${entries.length === 1 ? 'item' : 'itens'}</span> <span class="files-count">${entries.length} ${entries.length === 1 ? 'item' : 'itens'}</span>
${data.path ? `<button class="btn btn--ghost btn--sm" data-action="download-folder" data-path="${Utils.escapeHtml(data.path)}" title="Baixar pasta como .tar.gz"><i data-lucide="archive" style="width:14px;height:14px"></i> Baixar pasta</button>` : ''} <button class="btn btn--ghost btn--sm" data-action="download-folder" data-path="${Utils.escapeHtml(data.path || '')}" title="Baixar pasta como .tar.gz"><i data-lucide="archive" style="width:14px;height:14px"></i> Baixar tudo</button>
</div> </div>
<div class="files-table-wrapper"> <div class="files-table-wrapper">
<table class="files-table"> <table class="files-table">