Skip to content
Snippets Groups Projects
Commit 1750dc34 authored by sebastien dupuy's avatar sebastien dupuy
Browse files

correctif issue_14 couleur noire sur texte jaune pour les livrables

parent a4325d1e
No related branches found
No related tags found
No related merge requests found
Pipeline #42168 failed
......@@ -168,7 +168,7 @@
@foreach($evaluation->dangerLevels->sortBy('value') as $dangerLevel )
<tr>
<td> {{$dangerLevel->danger['name']}} {{$dangerLevel->level['value']}}</td>
<td><span class="badge" style="background-color: {{$dangerLevel->level['color']}};padding: 0.5em 1em;border-radius: 0.25em; @if ($dangerLevel->level['value'] == 50) color: black; @else color: white; @endif">{{$dangerLevel->level['name']}}</span></td>
<td><span class="badge" style="background-color: {{$dangerLevel->level['color']}};padding: 0.5em 1em;border-radius: 0.25em; @if ($dangerLevel->level['name'] === 'Limité') color: black; @else color: white; @endif">{{$dangerLevel->level['name']}}</span></td>
</tr>
@endforeach
</tbody>
......@@ -195,7 +195,7 @@
<tbody>
@foreach($legendLevels as $level )
<tr>
<td><span class="badge" style="background-color: {{$level['color']}};color: white;padding: 0.5em 1em;border-radius: 0.25em">{{$level['name']}}</span></td>
<td><span class="badge" style="background-color: {{$level['color']}}; @if($level['name'] === 'Limité') color:black @else color:white; @endif;padding: 0.5em 1em;border-radius: 0.25em">{{$level['name']}}</span></td>
<td> {{$level['description']}} </td>
</tr>
@endforeach
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment