2014-02-13 12:35:46 +08:00
|
|
|
<div class="admin-controls">
|
|
|
|
<div class="span15">
|
|
|
|
<ul class="nav nav-pills">
|
2015-02-12 00:53:06 +08:00
|
|
|
{{admin-nav-item route='admin.backups.index' label='admin.backups.menu.backups'}}
|
|
|
|
{{admin-nav-item route='admin.backups.logs' label='admin.backups.menu.logs'}}
|
2014-02-13 12:35:46 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
2014-02-22 08:41:01 +08:00
|
|
|
{{#if canRollback}}
|
2015-02-12 00:53:06 +08:00
|
|
|
{{d-button action="rollback"
|
|
|
|
class="btn-rollback"
|
2015-03-27 01:05:27 +08:00
|
|
|
label="admin.backups.operations.rollback.label"
|
2015-02-12 00:53:06 +08:00
|
|
|
title="admin.backups.operations.rollback.title"
|
|
|
|
icon="ambulance"
|
|
|
|
disabled=rollbackDisabled}}
|
2014-02-22 08:41:01 +08:00
|
|
|
{{/if}}
|
2014-02-13 12:35:46 +08:00
|
|
|
{{#if isOperationRunning}}
|
2015-02-12 00:53:06 +08:00
|
|
|
{{d-button action="cancelOperation"
|
|
|
|
class="btn-danger"
|
|
|
|
title="admin.backups.operations.cancel.title"
|
2015-03-27 01:05:27 +08:00
|
|
|
label="admin.backups.operations.cancel.label"
|
2015-02-12 00:53:06 +08:00
|
|
|
icon="times"}}
|
2014-02-13 12:35:46 +08:00
|
|
|
{{else}}
|
2015-02-12 00:53:06 +08:00
|
|
|
{{d-button action="startBackup"
|
|
|
|
class="btn-primary"
|
|
|
|
title="admin.backups.operations.backup.title"
|
2015-03-27 01:05:27 +08:00
|
|
|
label="admin.backups.operations.backup.label"
|
2015-02-12 00:53:06 +08:00
|
|
|
icon="rocket"}}
|
2014-02-13 12:35:46 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="admin-container">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|