aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-10 15:58:38 +0200
committerChocobozzz <me@florianbigard.com>2022-06-10 15:58:38 +0200
commita70bf3bd3337406704af5907a015ba385df0483d (patch)
tree5c64314edae6dc68339116b26b7d0480cdb65e4e /client/src/app/shared/shared-forms/input-toggle-hidden.component.html
parentb15fcd49bff880a8246cb48292af3ae8d66f0699 (diff)
downloadPeerTube-a70bf3bd3337406704af5907a015ba385df0483d.tar.gz
PeerTube-a70bf3bd3337406704af5907a015ba385df0483d.tar.zst
PeerTube-a70bf3bd3337406704af5907a015ba385df0483d.zip
Rename input toggle hidden to input text
It's more than just an hidden toggle
Diffstat (limited to 'client/src/app/shared/shared-forms/input-toggle-hidden.component.html')
-rw-r--r--client/src/app/shared/shared-forms/input-toggle-hidden.component.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
deleted file mode 100644
index f7f9ce403..000000000
--- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
+++ /dev/null
@@ -1,19 +0,0 @@
1<div class="input-group">
2 <input
3 [id]="inputId" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex"
4 [(ngModel)]="value" (ngModelChange)="update()" [readonly]="readonly"
5 #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control"
6 />
7
8 <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary eye-button" [title]="toggleTitle">
9 <span class="glyphicon glyphicon-eye-{{ show ? 'open' : 'close' }}"></span>
10 </button>
11
12 <button
13 *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button"
14 class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy"
15 >
16 <my-global-icon iconName="copy"></my-global-icon>
17 <span class="copy-text">Copy</span>
18 </button>
19</div>