jb-data.de/template/tpl/ajax/ue_infop.tpl
2025-08-11 22:23:30 +02:00

86 lines
No EOL
3.6 KiB
Smarty

{if $anz1 >0}
<div class="panel panel-default">
{if $anz1 ==1} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkgreen;overflow-y: noscroll;" align="center"> {/if}
{if $anz1 ==2} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkorange;overflow-y: noscroll;" align="center"> {/if}
{if $anz1 ==3} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkgray;overflow-y: noscroll;" align="center"> {/if}
<table class="no-style full">
<tbody align="left">
<i class="fa fa-file-excel-o fa-3x fa-pull-left" aria-hidden="true" style="color:white"></i>
<i class="fa fa-key fa-3x fa-pull-right" aria-hidden="true" style="color:white"></i>
<td align="left" style='font-size:20pt;line-height:115%; color:white; text-align: left'>{$tstatus1.fahrer} </td>
</tr>
<td style='font-size:12pt;line-height:115%; color:white'>{$tstatus1.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
</tbody>
</table>
</div>
</div>
{if $tstatus1.ton==1}
<audio autoplay>
<source src='https://edv.jb-transport.de/glocke2.mp3' type='audio/mp3'>
</audio>
{/if}
{else}
<div class="panel panel-primary">
<div class="panel-body" style="min-height:70px;max-height:70px;overflow-y: scroll;">
{foreach from=$infop item=infop }
<span style='color:#FF0000;width:20px;font-size:8pt'><mark>{$infop.von}: {$infop.zeit|date_format:"%d.%m.%Y - %H:%M"} Uhr: </mark></span>
{if $infop.wichtig>0}
<span style='color:#FF0000'> {$infop.info}</span>
{else}
<span style='color:#000000'> {$infop.info}</strong>
{/if}
<br>
{/foreach}
</div>
</div>
{/if}
<!-- ------------------------------------------------------------------------------------------------------------------------------------------ -->
{if $anz2 >0}
<div class="panel panel-default">
{if $anz2 ==1} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkgreen;overflow-y: noscroll;" align="center"> {/if}
{if $anz2 ==2} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkorange;overflow-y: noscroll;" align="center"> {/if}
{if $anz2 ==3} <div class="panel-body" style="min-height:70px;max-height:70px;background-color: darkgray;overflow-y: noscroll;" align="center"> {/if}
<table class="no-style full">
<tbody align="left">
<i class="fa fa-file-excel-o fa-3x fa-pull-left" aria-hidden="true" style="color:white"></i>
<i class="fa fa-key fa-3x fa-pull-right" aria-hidden="true" style="color:white"></i>
<td align="left" style='font-size:20pt;line-height:115%; color:white; text-align: left'>{$tstatus2.fahrer} </td>
</tr>
<td style='font-size:12pt;line-height:115%; color:white'>{$tstatus2.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
</tbody>
</table>
</div>
</div>
{if $tstatus2.ton==1}
<audio autoplay>
<source src='https://edv.jb-transport.de/glocke2.mp3' type='audio/mp3'>
</audio>
{/if}
{else}
<div class="sani">
<div style="background-color: gray;color: #115270">
<i class="fas fa-car-sms fa-7x fa-pull-left"></i>
<table class="no-style full" style="color: #dddddd;font-size:11pt">
<span style='color:#FF0000;width:20px;font-size:8pt'>{$smsnotread.senddate|date_format:"%d.%m.%Y - %H:%M"} </span>
<span align="center" style="color: #115270;margin-top: -5px;font-size:8pt">{$smsnotread.e_name}:
<span style='color:#000080'> {$smsnotread.text}</span>
</table>
</div>
</div>
{/if}