27 lines
1.3 KiB
Smarty
27 lines
1.3 KiB
Smarty
|
|
<table class="table-striped">
|
|
<tbody>
|
|
{foreach from=$info item=info}
|
|
<tr style="height: 3px;">
|
|
<!-- --------------------------- fahrer and car-->
|
|
</td>
|
|
{if $info.ort==0}<td nowrap style="width:100px"><b><span style='color:#666666;font-weight:bold;'>{$info.car}</td>{/if}
|
|
{if $info.ort==1}<td nowrap style="width:100px"><b><span style='color:#FFFFFF;font-weight:bold;'>{$info.car}</td>{/if}
|
|
{if $info.ort==2}<td nowrap style="width:100px"><b><span style='color:#FF6E00;font-weight:bold;'>{$info.car}</td>{/if}
|
|
{if $info.ort==3}<td nowrap style="width:100px"><b><span style='color:#FF0000;font-weight:bold;'>{$info.car}</td>{/if}
|
|
{if $info.ort==4}<td nowrap style="width:100px"><b><span style='color:#66FFFF;font-weight:bold;'>{$info.car}</td>{/if}
|
|
|
|
{if $info.time==0}
|
|
<!-- <td nowrap style="width:180px">keine Einsatzplanung</td> -->
|
|
<td nowrap style="width:75px">-> frei</td>
|
|
{else}
|
|
<!-- <td nowrap style="width:240px"> {$info.time|date_format:"%A, %d.%m.%Y %H:%M"} Uhr</td> -->
|
|
<td nowrap style="width:75px">{if $info.rest<6}<span style='color:#F49e40;font-weight:bold;'>{/if}frei: {$info.rest} h</td>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
|