diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:58:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:58:38 +0200 |
commit | a70bf3bd3337406704af5907a015ba385df0483d (patch) | |
tree | 5c64314edae6dc68339116b26b7d0480cdb65e4e /client/src/app/shared/shared-forms/input-toggle-hidden.component.html | |
parent | b15fcd49bff880a8246cb48292af3ae8d66f0699 (diff) | |
download | PeerTube-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.html | 19 |
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> | ||