worked on the new onboarding steps

This commit is contained in:
Kwesi Banson
2024-01-31 20:40:33 +00:00
parent bc97f69748
commit 7a64019001
184 changed files with 11292 additions and 173 deletions

View File

@@ -0,0 +1,48 @@
<div class="modal fade" id="progressIndicatorDetailsModal" tabindex="-1" role="dialog" aria-labelledby="progressIndicatorModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!-- <h4 class="modal-title">Default Modal</h4> -->
<h5 class="modal-title text-center" id="progressIndicatorDetailsModalHeading">Progress Indicators</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="">
<?php if ($showclient->progress_indicators !== null): ?>
<ul class="to_do">
<?php $current_indicators = json_decode($showclient->progress_indicators, true); ?>
@foreach($progress_indicators as $indirow)
<?php
$arr_check = in_array($indirow, $current_indicators);
$theCheck = ($arr_check == true) ? "fa-check-circle green" : "fa-question red";
?>
<li>
<p>
<span class="fa {{ $theCheck }}"></span>
{{ $indirow }}
</p>
</li>
@endforeach
</ul>
<?php else: ?>
@foreach($progress_indicators as $indirow)
<ul class="to_do">
<li>
<p>
<span class="fa fa-question red"></span>
{{ $indirow }}
</p>
</li>
</ul>
@endforeach
<?php endif ?>
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->