diff options
Diffstat (limited to 'client/src/app/shared/forms/input-readonly-copy.component.html')
-rw-r--r-- | client/src/app/shared/forms/input-readonly-copy.component.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/shared/forms/input-readonly-copy.component.html b/client/src/app/shared/forms/input-readonly-copy.component.html new file mode 100644 index 000000000..27571b63f --- /dev/null +++ b/client/src/app/shared/forms/input-readonly-copy.component.html | |||
@@ -0,0 +1,9 @@ | |||
1 | <div class="input-group"> | ||
2 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="value" /> | ||
3 | |||
4 | <div class="input-group-append"> | ||
5 | <button [ngxClipboard]="urlInput" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary"> | ||
6 | <span class="glyphicon glyphicon-copy"></span> | ||
7 | </button> | ||
8 | </div> | ||
9 | </div> | ||