2016-11-11 16:31:08 -05:00
|
|
|
<div class="admin-backups">
|
|
|
|
<div class="admin-controls">
|
2018-02-14 12:26:05 -05:00
|
|
|
<nav>
|
2016-11-11 16:31:08 -05:00
|
|
|
<ul class="nav nav-pills">
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="admin.backups.index" @label="admin.backups.menu.backups" />
|
|
|
|
<NavItem @route="admin.backups.logs" @label="admin.backups.menu.logs" />
|
|
|
|
<PluginOutlet @name="downloader" @connectorTagName="div" />
|
2018-08-31 06:01:59 -04:00
|
|
|
<div class="admin-actions">
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.model.canRollback}}
|
|
|
|
<DButton @action={{route-action "rollback"}} @class="btn-default btn-rollback" @label="admin.backups.operations.rollback.label" @title="admin.backups.operations.rollback.title" @icon="ambulance" @disabled={{this.rollbackDisabled}} />
|
2018-08-31 06:01:59 -04:00
|
|
|
{{/if}}
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#if this.model.isOperationRunning}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton @action={{route-action "cancelOperation"}} @class="btn-danger" @title="admin.backups.operations.cancel.title" @label="admin.backups.operations.cancel.label" @icon="times" />
|
2018-08-31 06:01:59 -04:00
|
|
|
{{else}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton @action={{route-action "showStartBackupModal"}} @class="btn-primary" @title="admin.backups.operations.backup.title" @label="admin.backups.operations.backup.label" @icon="rocket" />
|
2018-08-31 06:01:59 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-07-02 23:14:53 -04:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-02-12 23:35:46 -05:00
|
|
|
</div>
|
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<PluginOutlet @name="before-backup-list" @connectorTagName="div" />
|
2020-01-27 13:31:08 -05:00
|
|
|
|
2016-11-11 16:31:08 -05:00
|
|
|
<div class="admin-container">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2014-02-12 23:35:46 -05:00
|
|
|
</div>
|