open-vault/ui/app/templates/partials/secret-form-show.hbs

23 lines
491 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
{{#if showAdvancedMode}}
{{json-editor
value=key.dataAsJSONString
options=(hash
readOnly=true
)
}}
{{else}}
<div class="table info-table-row-header">
<div class="info-table-row thead">
<div class="th column is-one-quarter">
Key
</div>
<div class="th column">
Value
</div>
</div>
</div>
{{#each-in key.secretData as |key value|}}
{{info-table-row label=key value=value alwaysRender=true}}
{{/each-in}}
{{/if}}