diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/shared/video/modals/video-block.component.html | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/shared/video/modals/video-block.component.html')
-rw-r--r-- | client/src/app/shared/video/modals/video-block.component.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/client/src/app/shared/video/modals/video-block.component.html b/client/src/app/shared/video/modals/video-block.component.html deleted file mode 100644 index 5e73d66c5..000000000 --- a/client/src/app/shared/video/modals/video-block.component.html +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <ng-template #modal> | ||
2 | <div class="modal-header"> | ||
3 | <h4 i18n class="modal-title">Block video "{{ video.name }}"</h4> | ||
4 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon> | ||
5 | </div> | ||
6 | |||
7 | <div class="modal-body"> | ||
8 | |||
9 | <form novalidate [formGroup]="form" (ngSubmit)="block()"> | ||
10 | <div class="form-group"> | ||
11 | <textarea | ||
12 | i18n-placeholder placeholder="Please describe the reason..." formControlName="reason" | ||
13 | [ngClass]="{ 'input-error': formErrors['reason'] }" class="form-control" | ||
14 | ></textarea> | ||
15 | <div *ngIf="formErrors.reason" class="form-error"> | ||
16 | {{ formErrors.reason }} | ||
17 | </div> | ||
18 | </div> | ||
19 | |||
20 | <div class="form-group" *ngIf="video.isLocal"> | ||
21 | <my-peertube-checkbox | ||
22 | inputName="unfederate" formControlName="unfederate" | ||
23 | i18n-labelText labelText="Unfederate the video" | ||
24 | > | ||
25 | <ng-container ngProjectAs="description"> | ||
26 | <span i18n>This will ask remote instances to delete it</span> | ||
27 | </ng-container> | ||
28 | </my-peertube-checkbox> | ||
29 | </div> | ||
30 | |||
31 | <div class="form-group inputs"> | ||
32 | <input | ||
33 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" | ||
34 | (click)="hide()" (key.enter)="hide()" | ||
35 | > | ||
36 | |||
37 | <input | ||
38 | type="submit" i18n-value value="Submit" class="action-button-submit" | ||
39 | [disabled]="!form.valid" | ||
40 | > | ||
41 | </div> | ||
42 | </form> | ||
43 | |||
44 | </div> | ||
45 | </ng-template> | ||