mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 20:17:00 +02:00
* new font and add as font-family to be used in masked-input * clean up logic * refactor for displayOnly * start cert masking * work on certificates * upload cert work * fix global styling * fix styling for class no longer used * make mask by default and remove option * glimmerize start and certificate on LDAP a file field * glimmerize actions * first part of glimmerizing text-file still need to do some clean up * not doing awesome over here * getting ready to un-glimmer * unglimmerize * remove placeholder based on conversations with design * clean up text-file * cleanup * fix class bindings * handle class binding * set up for test * fix elementId * track down index * update masked-input test * add more to the masked-input test * test-file test * fix broken test * clear old style * clean up * remove pgp key masked font, this really needs to be refactored to text-file component * changelog * cover other certificate view * add allowCopy * address some pr styling comments * improve test coverage * fix some issues * add attr.options.masked
39 lines
882 B
Handlebars
39 lines
882 B
Handlebars
<HeaderScope/>
|
|
<Toolbar>
|
|
<ToolbarActions>
|
|
{{#if model}}
|
|
<ToolbarDownloadButton
|
|
@actionText="Download CA cert"
|
|
@extension="pem"
|
|
@filename={{concat model.ca.id "-ca"}}
|
|
@data={{model.ca.caPem}}
|
|
/>
|
|
{{/if}}
|
|
<ToolbarLink
|
|
@params={{array "configure"}}
|
|
data-test-kmip-link-configure
|
|
>
|
|
Configure
|
|
</ToolbarLink>
|
|
</ToolbarActions>
|
|
</Toolbar>
|
|
{{#if model}}
|
|
<FieldGroupShow @model={{model}} />
|
|
<InfoTableRow @label="CA PEM" @value={{model.ca.caPem}}>
|
|
<MaskedInput
|
|
@value={{model.ca.caPem}}
|
|
@displayOnly={{true}}
|
|
@allowCopy={{true}}
|
|
/>
|
|
</InfoTableRow>
|
|
{{else}}
|
|
<EmptyState
|
|
@title="No configuration for this secrets engine"
|
|
@message="We'll need to configure a few things before getting started."
|
|
>
|
|
{{#link-to "configure"}}
|
|
Configure
|
|
{{/link-to}}
|
|
</EmptyState>
|
|
{{/if}}
|