-
Notifications
You must be signed in to change notification settings - Fork 4.1k
/
details.hbs
45 lines (45 loc) · 1.35 KB
/
details.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<section class="section">
<div class="container is-widescreen">
<ReplicationPage @model={{model}} as |Page|>
<Page.header
@showTabs={{true}}
/>
{{#if Page.isDisabled}}
<EmptyState
@title="Disaster Recovery secondary not set up"
@message={{Page.message}}
@icon="alert-circle-outline"
@bottomBorder={{true}}
>
<nav class="breadcrumb">
<ul class="is-grouped-split">
<li>
{{#link-to "vault.cluster.secrets.backends" }}
<span class="sep"/>
Go back
{{/link-to}}
</li>
<li>
<LearnLink @path="/vault/operations/ops-disaster-recovery" @class="has-text-grey">
Need help?
</LearnLink>
</li>
</ul>
</nav>
</EmptyState>
{{else}}
<Page.dashboard
{{!-- passing in component to render so that the yielded components are flexible based on the dashboard --}}
@componentToRender='replication-secondary-card' as |Dashboard|>
<Dashboard.card
@title="States"
/>
<Dashboard.card
@title="Primary cluster"
/>
<Dashboard.rows/>
</Page.dashboard>
{{/if}}
</ReplicationPage>
</div>
</section>