aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-14 16:39:37 +0200
committerChocobozzz <me@florianbigard.com>2021-04-14 16:39:37 +0200
commit266947e5efc7ff30b0020beb5a74e4d4fc696fa5 (patch)
tree66c2e0f463e373d971d290d9ff3b07b9528ebf27 /client/src/app/shared/shared-moderation
parent251a82ffbb62c575d7aeb260dff22409dae39d73 (diff)
downloadPeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.gz
PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.tar.zst
PeerTube-266947e5efc7ff30b0020beb5a74e4d4fc696fa5.zip
Refactor modal buttons style
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/batch-domains-modal.component.html7
-rw-r--r--client/src/app/shared/shared-moderation/report-modals/report.component.html5
-rw-r--r--client/src/app/shared/shared-moderation/report-modals/video-report.component.html5
-rw-r--r--client/src/app/shared/shared-moderation/user-ban-modal.component.html7
-rw-r--r--client/src/app/shared/shared-moderation/video-block.component.html7
5 files changed, 12 insertions, 19 deletions
diff --git a/client/src/app/shared/shared-moderation/batch-domains-modal.component.html b/client/src/app/shared/shared-moderation/batch-domains-modal.component.html
index 1b85c8f48..6a3c65721 100644
--- a/client/src/app/shared/shared-moderation/batch-domains-modal.component.html
+++ b/client/src/app/shared/shared-moderation/batch-domains-modal.component.html
@@ -28,14 +28,11 @@
28 28
29 <div class="form-group inputs"> 29 <div class="form-group inputs">
30 <input 30 <input
31 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" 31 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
32 (click)="hide()" (key.enter)="hide()" 32 (click)="hide()" (key.enter)="hide()"
33 > 33 >
34 34
35 <input 35 <input type="submit" [value]="action" class="peertube-button orange-button" [disabled]="!form.valid" />
36 type="submit" [value]="action" class="action-button-submit"
37 [disabled]="!form.valid"
38 >
39 </div> 36 </div>
40 </form> 37 </form>
41 </div> 38 </div>
diff --git a/client/src/app/shared/shared-moderation/report-modals/report.component.html b/client/src/app/shared/shared-moderation/report-modals/report.component.html
index bda62312f..6c99180ef 100644
--- a/client/src/app/shared/shared-moderation/report-modals/report.component.html
+++ b/client/src/app/shared/shared-moderation/report-modals/report.component.html
@@ -51,10 +51,11 @@
51 51
52 <div class="form-group inputs"> 52 <div class="form-group inputs">
53 <input 53 <input
54 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" 54 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
55 (click)="hide()" (key.enter)="hide()" 55 (click)="hide()" (key.enter)="hide()"
56 > 56 >
57 <input type="submit" i18n-value value="Submit" class="action-button-submit" [disabled]="!form.valid"> 57
58 <input type="submit" i18n-value value="Submit" class="peertube-button orange-button" [disabled]="!form.valid">
58 </div> 59 </div>
59 60
60 </form> 61 </form>
diff --git a/client/src/app/shared/shared-moderation/report-modals/video-report.component.html b/client/src/app/shared/shared-moderation/report-modals/video-report.component.html
index 4947088d1..1aae64bff 100644
--- a/client/src/app/shared/shared-moderation/report-modals/video-report.component.html
+++ b/client/src/app/shared/shared-moderation/report-modals/video-report.component.html
@@ -89,10 +89,11 @@
89 89
90 <div class="form-group inputs"> 90 <div class="form-group inputs">
91 <input 91 <input
92 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" 92 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
93 (click)="hide()" (key.enter)="hide()" 93 (click)="hide()" (key.enter)="hide()"
94 > 94 >
95 <input type="submit" i18n-value value="Submit" class="action-button-submit" [disabled]="!form.valid"> 95
96 <input type="submit" i18n-value value="Submit" class="peertube-button orange-button" [disabled]="!form.valid">
96 </div> 97 </div>
97 98
98 </form> 99 </form>
diff --git a/client/src/app/shared/shared-moderation/user-ban-modal.component.html b/client/src/app/shared/shared-moderation/user-ban-modal.component.html
index 365eb1938..7129b00ca 100644
--- a/client/src/app/shared/shared-moderation/user-ban-modal.component.html
+++ b/client/src/app/shared/shared-moderation/user-ban-modal.component.html
@@ -23,14 +23,11 @@
23 23
24 <div class="form-group inputs"> 24 <div class="form-group inputs">
25 <input 25 <input
26 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" 26 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
27 (click)="hide()" (key.enter)="hide()" 27 (click)="hide()" (key.enter)="hide()"
28 > 28 >
29 29
30 <input 30 <input type="submit" i18n-value value="Ban this user" class="peertube-button orange-button" [disabled]="!form.valid" />
31 type="submit" i18n-value value="Ban this user" class="action-button-submit"
32 [disabled]="!form.valid"
33 >
34 </div> 31 </div>
35 </form> 32 </form>
36 </div> 33 </div>
diff --git a/client/src/app/shared/shared-moderation/video-block.component.html b/client/src/app/shared/shared-moderation/video-block.component.html
index e982c4d77..5e9e8493c 100644
--- a/client/src/app/shared/shared-moderation/video-block.component.html
+++ b/client/src/app/shared/shared-moderation/video-block.component.html
@@ -35,14 +35,11 @@
35 35
36 <div class="form-group inputs"> 36 <div class="form-group inputs">
37 <input 37 <input
38 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" 38 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
39 (click)="hide()" (key.enter)="hide()" 39 (click)="hide()" (key.enter)="hide()"
40 > 40 >
41 41
42 <input 42 <input type="submit" i18n-value value="Submit" class="peertube-button orange-button" [disabled]="!form.valid" />
43 type="submit" i18n-value value="Submit" class="action-button-submit"
44 [disabled]="!form.valid"
45 >
46 </div> 43 </div>
47 </form> 44 </form>
48 45