File: D:/HostingSpaces/SBogers85/equichecker.com/resources/views/debtors/backup_verkeerslicht.txt
<style>
/*! Light */
#light {
background-color: #000;
box-shadow: 0 0 5px rgba(0, 0, 0, .8);
overflow: hidden;
padding: 0 0 4px;
width: 40px;
}
#light span {
border-radius: 50px;
display: block;
height: 30px;
margin: 4px auto 0;
opacity: .5;
width: 30px;
}
/*! Light colours */
#red {
background-color: red;
}
#orange {
background-color: orange;
}
#green {
background-color: green;
}
/*! Active states */
#light span.active {
opacity: 1;
}
#light #red.active {
box-shadow: 0 0 10px red;
}
#light #orange.active {
box-shadow: 0 0 10px orange;
}
#light #green.active {
box-shadow: 0 0 10px lightgreen;
}
</style>
<div id="light">
<span id="red" class="{!! (strcasecmp($debtor->debt_status, 'R') == 0 ?'active': '') !!}"></span>
<span id="orange" class="{!! (strcasecmp($debtor->debt_status, 'O') == 0 ?'active': '') !!}"></span>
<span id="green" class="{!! (strcasecmp($debtor->debt_status, 'G') == 0 ?'active': '') !!}"></span>
</div>
<pre>
{!!print_r($debtor->toArray()) !!}}
</pre>