convert ip lookup copy anchor to button

This commit is contained in:
Kris 2019-10-04 16:28:36 -04:00
parent 868303e5d9
commit be85bc9dac
1 changed files with 2 additions and 7 deletions

View File

@ -8,14 +8,9 @@
<div class="location-box">
<a class="close pull-right" {{action "hide"}}>{{d-icon "times"}}</a>
{{#if copied}}
<a class="btn btn-default btn-hover pull-right">
{{d-icon "copy"}}
{{i18n "ip_lookup.copied"}}
</a>
{{d-button class="btn-hover pull-right" icon="copy" label="ip_lookup.copied"}}
{{else}}
<a class="btn btn-default pull-right no-text" {{action "copy"}}>
{{d-icon "copy"}}
</a>
{{d-button action=(action "copy") class="pull-right no-text" icon="copy"}}
{{/if}}
<h4>{{i18n "ip_lookup.title"}}</h4>
<p class='powered-by'>{{{i18n "ip_lookup.powered_by"}}}</p>