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

98 lines
3.8 KiB
Smarty

<!-- ------------------------------------------------------------ -->
<div class="col-md-4">
<div class="row">
<!-- --------------------------------------------------- logdaten gestern Heute -- -->
<p id="info_heute" nowrap align="center" style='font-size:14pt;background-color:gray;color:#fff'>{$tag2}<p>
<p nowrap align="center" style='font-size:14pt;background-color:gray;margin-top: -10px'>
<table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
{foreach from=$status2 item=tuer}
<tr>
{if $tuer.zeit>$zeit_live}
<td nowrap style="width:200px;color:#41c42b">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color:#41c42b" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{elseif $tuer.zeit>$zeit_online}
<td nowrap style="width:200px;color: orange">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color: orange" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{else}
<td nowrap style="width:200px">{$tuer.fahrer}</td>
<td nowrap style="width: 80px" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{/if}
</tr>
{/foreach}
</table>
<p>
</div>
</div>
<!-- ------------------------------------------------------------ -->
<div class="col-md-4">
<div class="row">
<!-- --------------------------------------------------- logdaten gestern Heute -- -->
<p id="info_heute" nowrap align="center" style='font-size:14pt;background-color:gray;color:#fff'>{$tag1}<p>
<p nowrap align="center" style='font-size:14pt;background-color:gray;margin-top: -10px'>
<table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
{foreach from=$status1 item=tuer}
<tr>
{if $tuer.zeit>$zeit_live}
<td nowrap style="width:200px;color:#41c42b">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color:#41c42b" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{elseif $tuer.zeit>$zeit_online}
<td nowrap style="width:200px;color: orange">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color: orange" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{else}
<td nowrap style="width:200px">{$tuer.fahrer}</td>
<td nowrap style="width: 80px" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{/if}
</tr>
{/foreach}
</table>
<p>
</div>
</div>
<!-- ------------------------------------------------------------ -->
<div class="col-md-4">
<div class="row">
<!-- --------------------------------------------------- logdaten gestern Heute -- -->
<p id="info_heute" nowrap align="center" style='font-size:14pt;background-color:green;color:#fff'>aktuelle Logdaten<p>
<p nowrap align="center" style='font-size:14pt;background-color:gray;margin-top: -10px'>
<table class="no-style full" style="background-color: gray;color: #dddddd;font-size:11pt">
{foreach from=$status1 item=tuer}
<tr>
{if $tuer.zeit>$zeit_live}
<td nowrap style="width:200px;color:#41c42b">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color:#41c42b" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{elseif $tuer.zeit>$zeit_online}
<td nowrap style="width:200px;color: orange">{$tuer.fahrer}</td>
<td nowrap style="width: 80px;color: orange" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{else}
<td nowrap style="width:200px">{$tuer.fahrer}</td>
<td nowrap style="width: 80px" align="right">{$tuer.zeit|date_format:"%H:%M Uhr"}</td>
{/if}
</tr>
{/foreach}
</table>
<p>
</div>
</div>
{literal}
<script>
myStop();
</script>
{/literal}