diff --git a/static/index.html b/static/index.html
index d80914d..d5b8bbe 100644
--- a/static/index.html
+++ b/static/index.html
@@ -359,18 +359,21 @@ function renderBackupList(items) {
list.innerHTML = '
-
-
${item.name}
-
${formatDateTime(item.modified)}
+
+ ${appName}
+ ${item.name}
+ ${formatDateTime(item.modified)}
- ${formatSize(item.size)}
+ ${formatSize(item.size)}
- `).join('');
+ `}).join('');
}
function renderRepos(grouped) {
@@ -659,6 +662,12 @@ function getTypeLabel(type) {
return {apps:'📦 Apps', bd:'🗄️ Banco de Dados', git:'🐙 Git Full', repos:'📁 Repositórios'}[type] || type;
}
+function getAppBaseName(filename) {
+ const match = filename.match(/(.*?)(?:-\d{8}_\d{6})/);
+ if (match) return match[1];
+ return filename.split('-')[0];
+}
+
// Auto-refresh every 30s
setInterval(() => {
if (document.getElementById('app').style.display !== 'none') {