Show clipboard copy indication

This commit is contained in:
Johannes Zellner
2019-02-24 19:17:38 +01:00
parent f40eee4577
commit 20118f941e
2 changed files with 8 additions and 1 deletions

View File

@@ -245,7 +245,7 @@
</li>
</ul>
<input type="text" class="offscreen" aria-hidden="true" id="appRestoreSelectedBackupId" value="{{appRestore.selectedBackup.id}}">
<span>&nbsp;<i class="fa fa-copy" uib-tooltip="Click to copy backup id" id="appRestoreSelectedBackupIdCopy" ng-click="appRestore.copyBackupId()"></i></span>
<span>&nbsp;<i class="fa fa-copy hand" uib-tooltip="{{ appRestore.copyBackupIdDone ? 'Copied to clipboard' : 'Click to copy backup id' }}" tooltip-placement="right" ng-click="appRestore.copyBackupId()"></i></span>
</div>
<br/>
<fieldset>