discourse/app/assets/javascripts/admin/templates/backups.hbs

39 lines
1.3 KiB
Handlebars
Raw Normal View History

<div class='admin-backups'>
<div class="admin-controls">
<div class="span15">
<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 09:48:32 -04:00
{{plugin-outlet name="downloader" tagName=""}}
</ul>
</div>
<div class="pull-right">
{{#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}}
{{d-button action="startBackup"
class="btn-primary"
title="admin.backups.operations.backup.title"
label="admin.backups.operations.backup.label"
icon="rocket"}}
{{/if}}
</div>
2014-02-12 23:35:46 -05:00
</div>
<div class="admin-container">
{{outlet}}
</div>
2014-02-12 23:35:46 -05:00
</div>