open-vault/ui/lib/core/addon/components/overview-card.hbs
Kianna dde8d19014
UI: VAULT-12949 use overview card component for kubernetes overview (#18845)
* VAULT-12949 use overview card component for kubernetes overview

* Add a little more spacing

* Add margin to pki overview form

* Remove form element
2023-01-26 00:09:04 +00:00

18 lines
692 B
Handlebars

<div class="selectable-card is-rounded no-flex" data-test-selectable-card-container={{@cardTitle}}>
<div class="is-flex-between is-fullwidth card-details" data-test-selectable-card={{@cardTitle}}>
<h3 class="title is-5">{{@cardTitle}}</h3>
{{#if @actionText}}
<LinkTo
class="has-icon-right is-ghost is-no-underline has-text-semibold"
@route={{@actionTo}}
@query={{hash @actionQuery}}
data-test-action-text={{@actionText}}
>
{{@actionText}}
<Icon @name="chevron-right" />
</LinkTo>
{{/if}}
</div>
<p class="has-text-grey is-size-8 {{unless @actionText 'has-top-margin-s'}}">{{@subText}}</p>
{{yield}}
</div>