improve award modal

master
Aevann 2024-04-22 23:45:11 +02:00
parent c474916f98
commit 50aa2ddda8
2 changed files with 11 additions and 1 deletions

View File

@ -7164,6 +7164,7 @@ input[type=number] {
.award-tab {
font-size: 10px !important;
letter-spacing: 1px !important;
max-width: 43%;
}
.ping-groups * {

View File

@ -3,7 +3,13 @@
<div class="modal fade" id="awardModal" tabindex="-1">
<div class="modal-dialog modal-dialog-scrollable modal-dialog-centered awardmodal pt-5">
<div class="modal-content">
<div id="awardModalBody" class="modal-body pt-2" style="overflow-x: hidden">
<div class="modal-header d-mob-none">
<h5 class="modal-title">Give Award</h5>
<button type="button" class="close" data-bs-dismiss="modal">
<span><i class="fas fa-times"></i></span>
</button>
</div>
<div id="awardModalBody" class="modal-body pt-2 mb-3" style="overflow-x: hidden">
<div id="award-tabs" class="row pt-1 pb-4" style="justify-content: center">
<button id="effect-content-tab" class="btn btn-primary btn-block m-0 shop-tab award-tab active" data-nonce="{{g.nonce}}" data-onclick="switchAwardTab()">
<span class="mr-auto ml-auto"><i class="fas fa-gift mr-2"></i>EFFECT ON CONTENT</span>
@ -11,6 +17,9 @@
<button id="effect-author-tab" class="btn btn-primary btn-block m-0 shop-tab award-tab" data-nonce="{{g.nonce}}" data-onclick="switchAwardTab()">
<span class="mr-auto ml-auto"><i class="fas fa-gift mr-2"></i>EFFECT ON AUTHOR</span>
</button>
<button type="button" class="close d-md-none pl-4 pr-3" data-bs-dismiss="modal">
<span><i class="fas fa-times"></i></span>
</button>
</div>
<div class="awards-wrapper" style="text-align:center">
{% macro iterate_awards(awards) %}