mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
35 lines
1.2 KiB
Handlebars
35 lines
1.2 KiB
Handlebars
<div class="admin-controls">
|
|
<div class="span15">
|
|
<ul class="nav nav-pills">
|
|
{{admin-nav-item route='admin.backups.index' label='admin.backups.menu.backups'}}
|
|
{{admin-nav-item route='admin.backups.logs' label='admin.backups.menu.logs'}}
|
|
</ul>
|
|
</div>
|
|
<div class="pull-right">
|
|
{{#if canRollback}}
|
|
{{d-button action="rollback"
|
|
class="btn-rollback"
|
|
label="admin.backups.operations.rollback.text"
|
|
title="admin.backups.operations.rollback.title"
|
|
icon="ambulance"
|
|
disabled=rollbackDisabled}}
|
|
{{/if}}
|
|
{{#if isOperationRunning}}
|
|
{{d-button action="cancelOperation"
|
|
class="btn-danger"
|
|
title="admin.backups.operations.cancel.title"
|
|
label="admin.backups.operations.cancel.text"
|
|
icon="times"}}
|
|
{{else}}
|
|
{{d-button action="startBackup"
|
|
class="btn-primary"
|
|
title="admin.backups.operations.backup.title"
|
|
label="admin.backups.operations.backup.text"
|
|
icon="rocket"}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="admin-container">
|
|
{{outlet}}
|
|
</div>
|