mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-02 05:51:30 +08:00
Improve appeareance
This commit is contained in:
parent
e94942d665
commit
349b1c1d78
@ -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>
|
||||
`));
|
||||
|
||||
|
||||
@ -1238,3 +1238,7 @@ textarea {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.empty-table-placeholder {
|
||||
text-align: center;
|
||||
color: var(--muted-text-color);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user