Improve appeareance

This commit is contained in:
Adorian Doran 2024-11-19 20:28:47 +02:00
parent e94942d665
commit 349b1c1d78
2 changed files with 9 additions and 1 deletions

View File

@ -43,6 +43,10 @@ const TPL = `
<h4>${t('backup.existing_backups')}</h4>
<table class="table table-stripped">
<colgroup>
<col width="33%" />
<col />
</colgroup>
<thead>
<tr>
<th>${t("backup.date-and-time")}</th>
@ -97,7 +101,7 @@ export default class BackupOptions extends OptionsWidget {
if (!backupFiles.length) {
this.$existingBackupList.append($(`
<tr>
<td colspan="2">${t('backup.no_backup_yet')}</td>
<td class="empty-table-placeholder" colspan="2">${t('backup.no_backup_yet')}</td>
</tr>
`));

View File

@ -1238,3 +1238,7 @@ textarea {
padding: 1rem;
}
.empty-table-placeholder {
text-align: center;
color: var(--muted-text-color);
}