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">
|
|
|
|
{{nav-item route="admin.backups.index" label="admin.backups.menu.backups"}}
|
|
|
|
{{nav-item route="admin.backups.logs" label="admin.backups.menu.logs"}}
|
2017-09-25 09:48:32 -04:00
|
|
|
{{plugin-outlet name="downloader" tagName=""}}
|
2018-08-31 06:01:59 -04:00
|
|
|
<div class="admin-actions">
|
|
|
|
{{#if model.canRollback}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(route-action "rollback")
|
2018-10-24 16:09:36 -04:00
|
|
|
class="btn-default btn-rollback"
|
2018-08-31 06:01:59 -04:00
|
|
|
label="admin.backups.operations.rollback.label"
|
|
|
|
title="admin.backups.operations.rollback.title"
|
|
|
|
icon="ambulance"
|
|
|
|
disabled=rollbackDisabled}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if model.isOperationRunning}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(route-action "cancelOperation")
|
2018-08-31 06:01:59 -04:00
|
|
|
class="btn-danger"
|
|
|
|
title="admin.backups.operations.cancel.title"
|
|
|
|
label="admin.backups.operations.cancel.label"
|
|
|
|
icon="times"}}
|
|
|
|
{{else}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(route-action "showStartBackupModal")
|
2018-08-31 06:01:59 -04:00
|
|
|
class="btn-primary"
|
|
|
|
title="admin.backups.operations.backup.title"
|
|
|
|
label="admin.backups.operations.backup.label"
|
|
|
|
icon="rocket"}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-07-02 23:14:53 -04:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-02-12 23:35:46 -05:00
|
|
|
</div>
|
|
|
|
|
2020-01-27 13:31:08 -05:00
|
|
|
{{plugin-outlet name="before-backup-list" tagName=""}}
|
|
|
|
|
2016-11-11 16:31:08 -05:00
|
|
|
<div class="admin-container">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2014-02-12 23:35:46 -05:00
|
|
|
</div>
|