mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 04:27:02 +02:00
* adds ember-flight-icons dependecy * adds inline-json-import babel plugin * adds flight icon styling * updates Icon component to support flight icons * updates Icon component usages to new api and updates name values to flight icon set when available * fixes tests * updates icon story with flight mappings and fixes issue with flight icons not rendering in storybook * adds changelog * fixes typo in sign action glyph name in transit-key model * adds comments to icon-map * updates Icon component to use only supported flight icon sizes * adds icon transform codemod * updates icon transform formatting to handle edge case * runs icon transform on templates * updates Icon usage in toolbar-filter md and story * updates tests
44 lines
1.2 KiB
Handlebars
44 lines
1.2 KiB
Handlebars
<PageHeader as |p|>
|
|
<p.levelLeft>
|
|
<h1 class="title is-3">
|
|
<Icon
|
|
@name="code"
|
|
class="has-text-grey-light"
|
|
/>
|
|
Vault API explorer
|
|
</h1>
|
|
</p.levelLeft>
|
|
</PageHeader>
|
|
<Toolbar>
|
|
<ToolbarFilters>
|
|
<div class="field is-marginless">
|
|
<p class="control has-icons-left">
|
|
<input
|
|
oninput={{queue (action "updateFilter") (action "proxyEvent")}}
|
|
value={{@initialFilter}}
|
|
disabled={{this.swaggerLoading}}
|
|
class="filter input"
|
|
placeholder="Filter ops by path"
|
|
data-test-filter-input
|
|
/>
|
|
<Icon
|
|
@name="search"
|
|
class="search-icon has-text-grey-light"
|
|
/>
|
|
</p>
|
|
</div>
|
|
<AlertInline
|
|
@type="info"
|
|
@message="All API paths are prefixed with /v1/"
|
|
class="is-marginless input-hint"
|
|
/>
|
|
</ToolbarFilters>
|
|
</Toolbar>
|
|
|
|
<div class="box is-fullwidth is-sideless">
|
|
<NamespaceReminder as |R|>
|
|
Requests use the header <code>X-Vault-Namespace: {{R.namespace.path}}</code>. You can also use <code>{{R.namespace.path}}</code> as an API prefix. See <DocLink @path="/api/overview#namespaces">docs</DocLink> for examples.
|
|
</NamespaceReminder>
|
|
<div id="{{this.elementId}}-swagger" class="swagger-ember"></div>
|
|
</div>
|