Fix archives for mobile

This commit is contained in:
Johannes Zellner
2024-12-12 11:52:59 +01:00
parent 9ed424a5d9
commit 512722695e

View File

@@ -773,9 +773,9 @@
<tr>
<th style="width: 5%"></th> <!-- icon -->
<th style="width: 35%">{{ 'backups.archives.location' | tr }}</th>
<th style="width: 35%">{{ 'backups.archives.info' | tr }}</th>
<th style="width: 20%" class="hidden-xs hidden-sm">{{ 'backups.archives.archiveDate' | tr }}</th>
<th style="width: 5%" class="text-right">{{ 'main.actions' | tr }}</th>
<th style="width: 35%" class="hide-mobile">{{ 'backups.archives.info' | tr }}</th>
<th style="width: 20%">{{ 'main.table.date' | tr }}</th>
<th style="width: 5%" class="text-right hide-mobile">{{ 'main.actions' | tr }}</th>
</tr>
</thead>
<tbody>
@@ -786,13 +786,13 @@
<td class="hand elide-table-cell" style="text-overflow: ellipsis; white-space: nowrap;" ng-click="archiveRestore.show(archive)">
{{ archive.appConfig.fqdn }}
</td>
<td class="hand elide-table-cell" style="text-overflow: ellipsis; white-space: nowrap;" ng-click="archiveRestore.show(archive)">
<td class="hand elide-table-cell hide-mobile" style="text-overflow: ellipsis; white-space: nowrap;" ng-click="archiveRestore.show(archive)">
<span uib-tooltip="{{ archive.appConfig.manifest.id }}@{{ archive.appConfig.manifest.version }}">{{ archive.appConfig.manifest.title }}</span>
</td>
<td class="hand elide-table-cell" style="text-overflow: ellipsis; white-space: nowrap;" ng-click="archiveRestore.show(archive)">
{{ archive.creationTime | prettyDate }}
</td>
<td class="text-right no-wrap" style="vertical-align: middle;">
<td class="text-right no-wrap hide-mobile" style="vertical-align: middle;">
<button class="btn btn-xs btn-default" ng-click="archiveRestore.show(archive)" uib-tooltip="Restore from Archive"><i class="fas fa-history"></i></button>
<button class="btn btn-xs btn-default" ng-click="downloadConfig(archive, true)" uib-tooltip="{{ 'backups.listing.tooltipDownloadBackupConfig' | tr }}"><i class="fas fa-file-alt"></i></button>
<button class="btn btn-xs btn-danger" ng-click="archiveDelete.ask(archive)" uib-tooltip="Delete Archive"><i class="fa fa-trash-alt"></i></button>