mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
bb95738321
Adds a 'status' for the filtering/searching in the UI, without this its not super clear that you are filtering a recordset due to the menu selections being hidden once closed. You can also use the pills in this status view to delete individual filters.
27 lines
487 B
Handlebars
27 lines
487 B
Handlebars
{{#if @for~}}
|
|
<label
|
|
for={{@for}}
|
|
...attributes
|
|
>{{yield}}</label>
|
|
{{~else if @href~}}
|
|
{{~#if @external~}}
|
|
<a
|
|
href={{@href}}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
...attributes
|
|
>{{yield}}</a>
|
|
{{~else~}}
|
|
<a
|
|
href={{@href}}
|
|
...attributes
|
|
>{{yield}}</a>
|
|
{{~/if~}}
|
|
{{~else~}}
|
|
<button
|
|
type="button"
|
|
{{on 'click' (optional @onclick)}}
|
|
tabindex={{@tabindex}}
|
|
...attributes
|
|
>{{yield}}</button>
|
|
{{~/if}} |