changed some colors in modal scanning
This commit is contained in:
parent
38aad0b376
commit
ef731b41d9
|
|
@ -59,9 +59,9 @@
|
|||
<div class="modal-content py-8 text-left px-8">
|
||||
<!--Title-->
|
||||
<div class="pb-3">
|
||||
<p id="attender_name" class="text-xl font-bold"></p>
|
||||
<p id="attender_organization" class="text-xl font-bold"></p>
|
||||
<p id="attender_consent" class="text-xl font-bold"></p>
|
||||
<span class="text-gray-400">Name and surname: </span><span id="attender_name" class="text-xl font-bold"></span><br/><br/>
|
||||
<span class="text-gray-400">Organization: </span><span id="attender_organization" class="text-xl font-bold"></span><br/><br/>
|
||||
<span class="text-gray-400">Photo and video consent: </span><span id="attender_consent" class="text-xl font-bold"></span>
|
||||
</div>
|
||||
|
||||
<!--Footer-->
|
||||
|
|
@ -137,13 +137,13 @@ function onScanSuccess(decodedText, decodedResult) {
|
|||
$('#attender_name').empty();
|
||||
$('#attender_organization').empty();
|
||||
$('#attender_consent').empty();
|
||||
$('#attender_name').append("Name and surname: " + response.data.name);
|
||||
$('#attender_organization').append("Organization: " + response.data.organization);
|
||||
$('#attender_name').append(response.data.name);
|
||||
$('#attender_organization').append(response.data.organization);
|
||||
if(response.data.consent_form == 1){
|
||||
$('#attender_consent').append("Photo and video consent: Allowed");
|
||||
$('#attender_consent').append("Allowed");
|
||||
}
|
||||
else{
|
||||
$('#attender_consent').append("Photo and video consent: Declined");
|
||||
$('#attender_consent').append("Declined");
|
||||
}
|
||||
if(!$("body").hasClass("modal-active")) {
|
||||
toggleModal();
|
||||
|
|
|
|||
Loading…
Reference in New Issue