Add mascot to configure warning modal

pull/2215/head
Chocobozzz 2019-10-30 11:15:55 +01:00
parent e81461950a
commit 2377a7f3ce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 14 additions and 1 deletions

View File

@ -5,6 +5,7 @@
</div>
<div class="modal-body">
<img class="mascot" src="/client/assets/images/mascot/oh.png" alt="mascot" />
<p i18n>Hello dear administrator. You enabled user registration on your instance but you did not configure the following fields:</p>
@ -26,7 +27,7 @@
</p>
<div class="configure-instance">
<a i18n href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a>
<a i18n class="action-button action-button-configure" href="/admin/config/edit-custom" target="_blank" rel="noopener noreferrer">Configure these fields</a>
</div>
</div>

View File

@ -20,3 +20,15 @@ li {
margin-top: 40px;
margin-bottom: 10px;
}
.mascot {
display: block;
margin: 0 auto 50px;
}
.action-button-configure {
display: inline-block;
@include peertube-button;
@include orange-button;
}