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

190 lines
7.5 KiB
Smarty

<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-car fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> {$aktive1} PKW</br></span>
<span style="color:orange">{$sonstige1} PKW</br></span>
<span style="color:gray"> {$inaktive1} PKW (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck-pickup fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> {$aktive2} Caddy</br></span>
<span style="color:orange">{$sonstige2} Caddy</br></span>
<span style="color:gray"> {$inaktive2} Caddy (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> {$aktive3} Transporter</br></span>
<span style="color:orange">{$sonstige3} Transporter</br></span>
<span style="color:gray"> {$inaktive3} Transporter (ex)</span>
</div>
</div>
<!-- 2. Reihe rechts Widged *************************** -->
<div class="col-md-4">
<div class="panel panel-danger">
<header class="panel-heading"><h2 class="panel-title">fehlende Daten * Fahrzeuge</span></h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
{foreach from=$mafehler item=maf}
{if $maf.line>0}
<tr><td><hr style="color: red; height: 1px;" /></td><td><hr style="color: red; height: 1px;" /></td></tr>
{/if}
<tr>
<td nowrap style="width:90px;text-align:right"><a href="?s=c_aktiv&id={$maf.id}" title="Klicke zum bearbeiten" >{$maf.name}</strong> </td>
<td nowrap style="width:200px;text-align:right">{$maf.grund}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
<!-- </div> -->
<!-- *************************************************************************************** -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Kalender f&uuml;r diesen Monat</h2></header>
<div class="panel-body">
<dl>
<section>
<table class="no-style full">
<tbody> {foreach from=$maf1 item=maf }
<td nowrap style="width:90px;font-size:11pt"> {$maf.time|date_format:"%d.%m.%Y"}</td>
<td nowrap style="width:80px;font-size:11pt"> {$maf.fahrer}</td>
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf.icon}" width="16" height="16"/></td>
<td nowrap style="width:150px;font-size:11pt"> {$maf.bez}</td>
</tbody> {/foreach}
</table>
</dl>
</div>
</div>
</div>
<div class="col-md-4">
<!-- *********** Fahrzeug HU-Überprüfung / sanikasten etc-->
<!-- -------------------------------- HU / AU -->
<div id="huau" style="text-align:center;"></div>
<!-- -------------------------------- Sanikasten -->
<div id="sani" style="text-align:center;"></div>
<!-- *********** Fahrzeug Zahnriemen kette -->
{if $fanz3>0}
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> {foreach from=$sanidata item=sd}
<tr>
<td nowrap style="width:100px;font-size:11pt">{$sd.kz}</td>
<td nowrap style="width:120px;font-size:11pt">{$sd.info}</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$sd.hudate|date_format:"%m / %Y"}</td>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
{/if}
<!-- *********** Fahrzeug Oelwechsel -->
{if $fanz4>0}
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> {foreach from=$hudata item=hud}
<tr>
<td nowrap style="width:100px;font-size:11pt">{$hud.kz}</td>
<td nowrap style="width:120px;font-size:11pt">{$hud.info}</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$hud.hudate|date_format:"%m / %Y"}</td>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
{/if}
<!-- *********** Fahrzeug Oelwechsel -->
{if $fanz5>0}
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> {foreach from=$hudata item=hd}
<tr>
<td nowrap style="width:100px;font-size:11pt">{$hd.kz}</td>
<td nowrap style="width:120px;font-size:11pt">{$hd.info}</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'>{$hd.hudate|date_format:"%m / %Y"}</td>
</tr>
{/foreach}
</tbody>
</table>
</section>
</div>
{/if}
{literal}
<style>
.rinfo {
background: #115270;
color:#bbbbbb;
padding: 6px;
border: 1px solid;
border-radius:10px;
margin-bottom: 8px;
margin-top: -10px;
font-size: 14pt;
}
</style>
<script type="text/javascript">
$.ajax({
type : "POST",
url : 'ajax.php?s=huau&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#huau").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=sani&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#sani").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
});
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
})
}, 10000);
</script>
{/literal}