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

182 lines
No EOL
8 KiB
Smarty

<section id="content">
<div class="wrapper">
<!---- linke Spalte -->
<section class="grid_8 first top">
<div class="columns">
<div class="column grid_2 first">
<!---- linke Spalte Aufträge -->
<div class="widget">
<header class="current"><h2 style='color:#FF0000'>&Ouml;lwechsel</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$ow_rot item=ow_rot}<tr>
<td> <strong><b><span style='color:#FF0000'>{$ow_rot.kz}</strong></td>
{if $realtime>=$ow_rot.owdate}
<td> <strong><b><span style='color:#FF0000'>{$ow_rot.owdate|date_format:"%B %Y"}</strong></td>
{else}
<td> <strong><b><span style='color:#FF0000'>{$ow_rot.owkm} km</strong></td>
{/if}
</tr>{/foreach}</tbody>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2>&Ouml;lwechsel</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$ow_gelb item=ow_gelb}
<tr>
<td> <strong><b><span style='color:#FF9900'>{$ow_gelb.kz}</strong></td>
{if $realtime>=$ow_gelb.owdate}
<td> <strong><b><span style='color:#FF9900'>{$ow_gelb.owdate|date_format:"%B %Y"}</strong></td>
{else}
<td> <strong><b><span style='color:#FF9900'>{$ow_gelb.owkm} km</strong></td>
{/if}
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
</div>
<div class="column grid_2 two">
<!---- linke Spalte Aufträge -->
<div class="widget">
<header class="current"><h2 style='color:#FF0000'>Zahnriemen/Kette</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$zr_rot item=zr_rot }<tr>
<td> <strong><b><span style='color:#FF0000'>{$zr_rot.kz}</strong></td>
{if $realtime>=$zr_rot.zrdate}
<td> <strong><b><span style='color:#FF0000'>{$zr_rot.zrdate|date_format:"%B %Y"}</strong></td>
{else}
<td> <strong><span style='color:#FF0000'>{$zr_rot.zrkm} km</strong></td>
{/if}
</tr>{/foreach}</tbody>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2>Zahnriemen/Kette</h2></header>
<section>
<table class="no-style full">
<tbody>
{foreach from=$zr_gelb item=zr_gelb }
<tr>
<td> <strong><b><span style='color:#FF9900'>{$zr_gelb.kz}</strong></td>
{if $realtime>=$zr_gelb.zrdate}
<td> <strong><span style='color:#FF9900'>{$zr_gelb.zrdate|date_format:"%B %Y"}</strong></td>
{else}
<td> <strong><span style='color:#FF9900'>{$zr_gelb.zrkm} km</strong></td>
{/if}
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
</div>
<div class="column grid_2 thre">
<!---- linke Spalte Aufträge -->
<div class="widget">
<header class="current"><h2 style='color:#FF0000'>Bremsanlage !!!</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$auftrag item=auftrag}<tr>
<td> <b><span style='color:#FF0000'{$auftrag.datum}</td>
<td> <b><span style='color:#FF0000'{$auftrag.kennzeichen}</td>
<td> <b><span style='color:#FF0000'{$auftrag.infotext}</td>
</tr></tbody> {/foreach}
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2>Bremsanlage !!!</h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$auftrag item=auftrag}<tr>
<td> <b><span style='color:#FF9900'{$auftrag.datum}</td>
<td> <b><span style='color:#FF9900'{$auftrag.kennzeichen}</td>
<td> <b><span style='color:#FF9900'{$auftrag.infotext}</td>
</tr></tbody> {/foreach}
</table>
</section>
</div>
</div>
<div class="column grid_2 last">
<!---- linke Spalte Aufträge -->
<div class="widget">
<header class="current"><h2 style='color:#FF0000'>HU abgelaufen !!! </h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$hu_rot item=hu_rot }<tr>
<td> <strong><b><span style='color:#FF0000'>{$hu_rot.kz}</strong></td>
<td> <strong><b><span style='color:#FF0000'>{$hu_rot.hudate|date_format:"%B %Y"}</strong></td>
</tr></tbody> {/foreach}
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2>HU bald f&auml;llig !!! </h2></header>
<section>
<table class="no-style full">
<tbody> {foreach from=$hu_gelb item=hu_gelb }<tr>
<td> <strong><b><span style='color:#FF9900'>{$hu_gelb.kz}</strong></td>
<td> <strong><b><span style='color:#FF9900'>{$hu_gelb.hudate|date_format:"%B %Y"}</strong></td>
</tr></tbody> {/foreach}
</table>
</section>
</div>
</div>
<div class="clear"></div>
</div>
<div id="push"></div>
</section>
</div>