open-vault/ui/app/templates/vault/cluster/clients.hbs
Angel Garbarino 993f30618e
Addressing various Ember depreciations required for 4.0 (#14532)
* remove Ember Logger

* remove jquery

* prevent setting ember string methods on string

* remove reopen class

* Revert "remove reopen class"

This reverts commit d6a48f148617694cf7b0fc95feb30771ef982c59.

* redo

* clean up

* fix test

* Update ui/app/styles/components/tabs.scss

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>

* fix test

* test clean up

* clean up cont.

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2022-03-16 18:36:48 -06:00

30 lines
791 B
Handlebars

<PageHeader as |p|>
<p.levelLeft>
<h1 class="title is-3">
Vault Usage Metrics
</h1>
</p.levelLeft>
</PageHeader>
<div class="tabs-container box is-bottomless is-marginless is-fullwidth is-paddingless" data-test-pricing-metrics>
<nav class="tabs">
<ul>
<LinkTo @route="vault.cluster.clients.current" data-test-current-month>
Current month
</LinkTo>
<LinkTo @route="vault.cluster.clients.history" data-test-history>
History
</LinkTo>
{{#if (or @model.config.configPath.canRead @model.configPath.canRead)}}
<LinkTo @route="vault.cluster.clients.config">
Configuration
</LinkTo>
{{/if}}
</ul>
</nav>
</div>
{{#if this.currentlyLoading}}
<LayoutLoading />
{{else}}
{{outlet}}
{{/if}}