open-vault/ui/lib/pki/addon/components/pki-config/import.hbs
2023-01-04 18:18:55 +00:00

14 lines
547 B
Handlebars

<form {{on "submit" this.submitForm}} data-test-pki-config-import-form>
<TextFile @subText="Upload a PEM bundle or certificate" @onChange={{this.onFileUploaded}} @label="Import" />
{{yield}}
<div class="field is-grouped box is-fullwidth is-bottomless">
<div class="control">
<button type="submit" class="button is-primary" data-test-pki-config-save>
Done
</button>
<LinkTo @route="overview" class="button has-left-margin-s" data-test-pki-config-cancel>
Cancel
</LinkTo>
</div>
</div>
</form>