2016-11-12 05:31:08 +08:00
|
|
|
<div class='admin-backups'>
|
|
|
|
<div class="admin-controls">
|
2018-02-15 01:26:05 +08:00
|
|
|
<nav>
|
2016-11-12 05:31:08 +08: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 21:48:32 +08:00
|
|
|
{{plugin-outlet name="downloader" tagName=""}}
|
2018-08-31 18:01:59 +08:00
|
|
|
<div class="admin-actions">
|
|
|
|
{{#if model.canRollback}}
|
|
|
|
{{d-button action="rollback"
|
|
|
|
class="btn-rollback"
|
|
|
|
label="admin.backups.operations.rollback.label"
|
|
|
|
title="admin.backups.operations.rollback.title"
|
|
|
|
icon="ambulance"
|
|
|
|
disabled=rollbackDisabled}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if model.isOperationRunning}}
|
|
|
|
{{d-button action="cancelOperation"
|
|
|
|
class="btn-danger"
|
|
|
|
title="admin.backups.operations.cancel.title"
|
|
|
|
label="admin.backups.operations.cancel.label"
|
|
|
|
icon="times"}}
|
|
|
|
{{else}}
|
2018-09-20 02:00:03 +08:00
|
|
|
{{d-button action="showStartBackupModal"
|
2018-08-31 18:01:59 +08:00
|
|
|
class="btn-primary"
|
|
|
|
title="admin.backups.operations.backup.title"
|
|
|
|
label="admin.backups.operations.backup.label"
|
|
|
|
icon="rocket"}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-07-03 11:14:53 +08:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-02-13 12:35:46 +08:00
|
|
|
</div>
|
|
|
|
|
2016-11-12 05:31:08 +08:00
|
|
|
<div class="admin-container">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2014-02-13 12:35:46 +08:00
|
|
|
</div>
|