mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-10 03:11:37 +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>
|
<h4>${t('backup.existing_backups')}</h4>
|
||||||
|
|
||||||
<table class="table table-stripped">
|
<table class="table table-stripped">
|
||||||
|
<colgroup>
|
||||||
|
<col width="33%" />
|
||||||
|
<col />
|
||||||
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>${t("backup.date-and-time")}</th>
|
<th>${t("backup.date-and-time")}</th>
|
||||||
@ -97,7 +101,7 @@ export default class BackupOptions extends OptionsWidget {
|
|||||||
if (!backupFiles.length) {
|
if (!backupFiles.length) {
|
||||||
this.$existingBackupList.append($(`
|
this.$existingBackupList.append($(`
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">${t('backup.no_backup_yet')}</td>
|
<td class="empty-table-placeholder" colspan="2">${t('backup.no_backup_yet')}</td>
|
||||||
</tr>
|
</tr>
|
||||||
`));
|
`));
|
||||||
|
|
||||||
|
|||||||
@ -1238,3 +1238,7 @@ textarea {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.empty-table-placeholder {
|
||||||
|
text-align: center;
|
||||||
|
color: var(--muted-text-color);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user