diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-30 11:15:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-30 11:15:55 +0100 |
commit | 2377a7f3cedf4156e3491a59cf736738ee14ab03 (patch) | |
tree | 6388e6783e2a4063b5147f3248c24921491e60ec /client | |
parent | e81461950ab4632e35d6467397ac1a1ccbbcf9d8 (diff) | |
download | PeerTube-2377a7f3cedf4156e3491a59cf736738ee14ab03.tar.gz PeerTube-2377a7f3cedf4156e3491a59cf736738ee14ab03.tar.zst PeerTube-2377a7f3cedf4156e3491a59cf736738ee14ab03.zip |
Add mascot to configure warning modal
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/modal/instance-config-warning-modal.component.html | 3 | ||||
-rw-r--r-- | client/src/app/modal/instance-config-warning-modal.component.scss | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/client/src/app/modal/instance-config-warning-modal.component.html b/client/src/app/modal/instance-config-warning-modal.component.html index 64f14e69b..93391c0a8 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.html +++ b/client/src/app/modal/instance-config-warning-modal.component.html | |||
@@ -5,6 +5,7 @@ | |||
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="modal-body"> | 7 | <div class="modal-body"> |
8 | <img class="mascot" src="/client/assets/images/mascot/oh.png" alt="mascot" /> | ||
8 | 9 | ||
9 | <p i18n>Hello dear administrator. You enabled user registration on your instance but you did not configure the following fields:</p> | 10 | <p i18n>Hello dear administrator. You enabled user registration on your instance but you did not configure the following fields:</p> |
10 | 11 | ||
@@ -26,7 +27,7 @@ | |||
26 | </p> | 27 | </p> |
27 | 28 | ||
28 | <div class="configure-instance"> | 29 | <div class="configure-instance"> |
29 | <a i18n href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a> | 30 | <a i18n class="action-button action-button-configure" href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a> |
30 | </div> | 31 | </div> |
31 | 32 | ||
32 | </div> | 33 | </div> |
diff --git a/client/src/app/modal/instance-config-warning-modal.component.scss b/client/src/app/modal/instance-config-warning-modal.component.scss index ff62a1b9c..4a76a1319 100644 --- a/client/src/app/modal/instance-config-warning-modal.component.scss +++ b/client/src/app/modal/instance-config-warning-modal.component.scss | |||
@@ -20,3 +20,15 @@ li { | |||
20 | margin-top: 40px; | 20 | margin-top: 40px; |
21 | margin-bottom: 10px; | 21 | margin-bottom: 10px; |
22 | } | 22 | } |
23 | |||
24 | .mascot { | ||
25 | display: block; | ||
26 | margin: 0 auto 50px; | ||
27 | } | ||
28 | |||
29 | .action-button-configure { | ||
30 | display: inline-block; | ||
31 | |||
32 | @include peertube-button; | ||
33 | @include orange-button; | ||
34 | } | ||