Skip to content

Commit

Permalink
improvement(orb-ui): On agent credentials, add tooltips on copy and s…
Browse files Browse the repository at this point in the history
…ave icons
  • Loading branch information
joaoguilherme2003 committed Jul 19, 2023
1 parent 82cd9a6 commit 87ae5fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/src/app/pages/fleet/agents/key/agent.key.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
for more advanced options.
</p>
<pre>
<button [cdkCopyToClipboard]="command2copy" class="copy">
<button [cdkCopyToClipboard]="command2copy" class="copy"
nbTooltip="Copy Provisioning Command">
<nb-icon (click)="toggleIcon('command')" [icon]="copyCommandIcon" pack="eva">
</nb-icon>
</button>
<button (click)="downloadCommand()" class="download">
<button (click)="downloadCommand()" class="download"
nbTooltip="Save Command as a File">
<nb-icon [icon]="saveKeyIcon" pack="eva"></nb-icon>
</button>
<code [innerHtml]="command2show">
Expand Down

0 comments on commit 87ae5fc

Please sign in to comment.