]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-forms/input-text.component.html
Replace all glyphicon icons
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / input-text.component.html
CommitLineData
4c8749cb 1<div class="input-group">
1916c966
C
2 <input
3 [id]="inputId" [autocomplete]="autocomplete" [value]="value" [placeholder]="placeholder" [tabindex]="tabindex"
f1c86172 4 [(ngModel)]="value" (ngModelChange)="update()" [readonly]="readonly"
1916c966
C
5 #input (click)="input.select()" (input)="update()" (change)="update()" [type]="inputType" class="form-control"
6 />
f8b530e0 7
93c728a2
C
8 <button *ngIf="withToggle" (click)="toggle()" type="button" class="btn btn-outline-secondary" [title]="toggleTitle">
9 <my-global-icon *ngIf="show" iconName="sensitive"></my-global-icon>
10 <my-global-icon *ngIf="!show" iconName="unsensitive"></my-global-icon>
4c8749cb 11 </button>
1916c966 12
4c8749cb
C
13 <button
14 *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button"
15 class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy"
16 >
b15fcd49 17 <my-global-icon iconName="copy"></my-global-icon>
4c8749cb
C
18 <span class="copy-text">Copy</span>
19 </button>
f8b530e0 20</div>