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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.6 KiB
Handlebars
Raw Normal View History

<div class="admin-backups">
<div class="admin-controls">
2018-02-15 01:26:05 +08:00
<nav>
<ul class="nav nav-pills">
<NavItem
@route="admin.backups.index"
@label="admin.backups.menu.backups"
/>
<NavItem @route="admin.backups.logs" @label="admin.backups.menu.logs" />
<PluginOutlet @name="downloader" @connectorTagName="div" />
<div class="admin-actions">
{{#if this.model.canRollback}}
<DButton
@action={{route-action "rollback"}}
@class="btn-default btn-rollback"
@label="admin.backups.operations.rollback.label"
@title="admin.backups.operations.rollback.title"
@icon="ambulance"
@disabled={{this.rollbackDisabled}}
/>
{{/if}}
{{#if this.model.isOperationRunning}}
<DButton
@action={{route-action "cancelOperation"}}
@class="btn-danger"
@title="admin.backups.operations.cancel.title"
@label="admin.backups.operations.cancel.label"
@icon="times"
/>
{{else}}
<DButton
@action={{route-action "showStartBackupModal"}}
@class="btn-primary"
@title="admin.backups.operations.backup.title"
@label="admin.backups.operations.backup.label"
@icon="rocket"
/>
{{/if}}
</div>
2018-07-03 11:14:53 +08:00
</ul>
</nav>
2014-02-13 12:35:46 +08:00
</div>
<PluginOutlet @name="before-backup-list" @connectorTagName="div" />
<div class="admin-container">
{{outlet}}
</div>
2014-02-13 12:35:46 +08:00
</div>