2014-02-12 23:35:46 -05:00
|
|
|
<table>
|
|
|
|
<tr>
|
2014-12-08 16:35:49 -05:00
|
|
|
<th width="55%">{{i18n 'admin.backups.columns.filename'}}</th>
|
|
|
|
<th width="10%">{{i18n 'admin.backups.columns.size'}}</th>
|
2014-04-23 05:20:22 -04:00
|
|
|
<th>
|
|
|
|
<div class="pull-right">
|
|
|
|
{{resumable-upload target="/admin/backups/upload" success="uploadSuccess" error="uploadError" uploadText=uploadText}}
|
2014-09-30 12:36:23 -04:00
|
|
|
<button {{action "toggleReadOnlyMode"}} class="btn" {{bind-attr disabled="readOnlyModeDisabled" title="readOnlyModeTitle"}}><i class="fa fa-eye"></i>{{readOnlyModeText}}</button>
|
2014-04-23 05:20:22 -04:00
|
|
|
</div>
|
2014-02-12 23:35:46 -05:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
{{#each backup in model}}
|
|
|
|
<tr>
|
|
|
|
<td>{{backup.filename}}</td>
|
2014-06-10 13:04:31 -04:00
|
|
|
<td>{{human-size backup.size}}</td>
|
2014-04-23 05:20:22 -04:00
|
|
|
<td>
|
|
|
|
<div class="pull-right">
|
2014-12-08 16:35:49 -05:00
|
|
|
<a {{bind-attr href="backup.link"}} class="btn download" title="{{i18n 'admin.backups.operations.download.title'}}"><i class="fa fa-download"></i>{{i18n 'admin.backups.operations.download.text'}}</a>
|
2014-10-16 10:25:51 -04:00
|
|
|
<button {{action "destroyBackup" backup}} class="btn btn-danger no-text" {{bind-attr disabled="destroyDisabled" title="destroyTitle"}}><i class="fa fa-trash-o"></i></button>
|
2014-12-08 16:35:49 -05:00
|
|
|
<button {{action "startRestore" backup}} class="btn" {{bind-attr disabled="restoreDisabled" title="restoreTitle"}}><i class="fa fa-play"></i>{{i18n 'admin.backups.operations.restore.text'}}</button>
|
2014-04-23 05:20:22 -04:00
|
|
|
</div>
|
2014-02-12 23:35:46 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr>
|
2014-12-08 16:35:49 -05:00
|
|
|
<td>{{i18n 'admin.backups.none'}}</td>
|
2014-02-12 23:35:46 -05:00
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|