2014-02-12 23:35:46 -05:00
|
|
|
<div class="admin-controls">
|
|
|
|
<div class="span15">
|
|
|
|
<ul class="nav nav-pills">
|
2014-12-08 16:35:49 -05:00
|
|
|
<li>{{#link-to "admin.backups.index"}}{{i18n 'admin.backups.menu.backups'}}{{/link-to}}</li>
|
|
|
|
<li>{{#link-to "admin.backups.logs"}}{{i18n 'admin.backups.menu.logs'}}{{/link-to}}</li>
|
2014-02-12 23:35:46 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
2014-02-21 19:41:01 -05:00
|
|
|
{{#if canRollback}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button {{action "rollback"}} class="btn btn-rollback" title="{{i18n 'admin.backups.operations.rollback.title'}}" {{bind-attr disabled="rollbackDisabled"}}><i class="fa fa-ambulance fa-flip-horizontal"></i>{{i18n 'admin.backups.operations.rollback.text'}}</button>
|
2014-02-21 19:41:01 -05:00
|
|
|
{{/if}}
|
2014-02-12 23:35:46 -05:00
|
|
|
{{#if isOperationRunning}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button {{action "cancelOperation"}} class="btn btn-danger" title="{{i18n 'admin.backups.operations.cancel.title'}}"><i class="fa fa-times"></i>{{i18n 'admin.backups.operations.cancel.text'}}</button>
|
2014-02-12 23:35:46 -05:00
|
|
|
{{else}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button {{action "startBackup"}} class="btn btn-primary" title="{{i18n 'admin.backups.operations.backup.title'}}"><i class="fa fa-rocket"></i>{{i18n 'admin.backups.operations.backup.text'}}</button>
|
2014-02-12 23:35:46 -05:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="admin-container">
|
|
|
|
{{outlet}}
|
|
|
|
</div>
|