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