worked on the new onboarding steps
This commit is contained in:
@@ -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">×</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 -->
|
||||
Reference in New Issue
Block a user