Angel Garbarino f60c643aa8
UI: HDS adoption replace <Button> in lib/replication (#24161)
* replication directory components update

* need to wait for another pr to merge for revoke and fixing a one off in distribute:

* clean up

* amend revoke with new ConfirmAction work.

* some PR comments

* remove wrapping LinkTo

* Update ui/lib/replication/addon/templates/mode/secondaries/revoke.hbs

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-11-21 16:06:45 +00:00

19 lines
675 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
~}}
<div class="box is-fullwidth is-shadowless is-marginless">
<h4 class="title is-5 is-marginless">
Create a path filter config for
<code>{{this.model.config.id}}</code>
</h4>
</div>
<form {{action "saveConfig" this.model.config on="submit"}}>
<PathFilterConfigList @paths={{this.model.paths}} @config={{this.model.config}} />
<hr class="has-background-gray-100" />
<Hds::ButtonSet>
<Hds::Button @text="Create" type="submit" />
<Hds::Button @text="Cancel" @color="secondary" @route="mode.secondaries.config-show" @model={{this.model.config.id}} />
</Hds::ButtonSet>
</form>