Skip to content

Commit

Permalink
put copy button outside
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Jul 10, 2024
1 parent dde97df commit afb00f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/clients/clients.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-server mx-2"></i>Clients</h1>
{{ if eq $peer.Type "internal" }}
<span style="max-width:200px"> {{ trunc (sub (len $peer.ID) (add (len $peer.Alias) 4) ) $peer.ID }}...</span>
{{ end }}
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" data-clipboard-text="{{ $peer.ID }}"></i>
</code>
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" data-clipboard-text="{{ $peer.ID }}"></i>
</div>
{{end}}
{{ end }}
Expand All @@ -249,8 +249,8 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-server mx-2"></i>Clients</h1>
{{ if eq $peer.Type "internal" }}
<span style="max-width:200px"> {{ trunc (sub (len $peer.ID) (add (len $peer.Alias) 4) ) $peer.ID }}...</span>
{{ end }}
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" data-clipboard-text="{{ $peer.ID }}"></i>
</code>
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" data-clipboard-text="{{ $peer.ID }}"></i>
</div>
{{end}}
{{ end }}
Expand Down

0 comments on commit afb00f0

Please sign in to comment.