102 lines
No EOL
3.6 KiB
Smarty
102 lines
No EOL
3.6 KiB
Smarty
<div class="container-fluid">
|
|
<div class="row">
|
|
<!-- Main Section -- mittlere Spalte -->
|
|
<div class="col-md-3">
|
|
<div class="panel">
|
|
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
|
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeugübersicht
|
|
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
|
href="?s=a_ma_pdf&jahr={$jahr}&monat={$monat}&ma={$ma_id}" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
|
</i>
|
|
</spawn>
|
|
</div>
|
|
<div class="panel-body" style="background-color:#ffffff">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
<tbody>
|
|
{foreach from=$mitarbeiterlist item=malist}
|
|
<tr>
|
|
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:#115270"
|
|
onclick="window.location='?s=a_fahrz&id={$malist.id}&jahr={$jahr}&monat={$monat}'">
|
|
<span style='font-size:12pt;color:#115270'>{$malist.kz}</span>
|
|
</td>
|
|
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:gray"
|
|
onclick="window.location='?s=a_fahrz&id={$malist.id}&jahr={$jahr}&monat={$monat}'">
|
|
<span style='font-size:8pt; color:#115270'>{$malist.name}</span>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
{if $ma_id==0}
|
|
<!-- else - kein MA ausgewählt -->
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
|
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeuge</span></div>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<thead>
|
|
<tr>
|
|
<td><span style='font-size:30pt;line-height:100%; color:orange'>Fahrzeug auswählen</span></a></td>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
{else}
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
|
<spawn style="width:5px;height:2px;font-size:12pt;">{$ma_kz} * {$ma_name} * (ID:{$ma_id}) * Zeitraum {$monat}/{$jahr}</span></div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped">
|
|
{foreach from=$senddata item=tdata}
|
|
<tr style='font-size:11pt;color:#115270'>
|
|
<td align="left" style='width:30px '>{$tdata.datum}</td>
|
|
<td align="left" style='width:120px'>{$tdata.typ}</td>
|
|
<td align="left" style='width:100px'>{$tdata.tname}</td>
|
|
<td align="left" style='width:170px'>{$tdata.fahrer}</td>
|
|
|
|
</tr>
|
|
{/foreach}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{/if}
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<aside class="col-md-3">
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
<td style="font-size:18px; color: white; text-align: center">
|
|
|
|
<i class="fad fa-arrow-left" onclick="javascript:location.href='?s=a_fahrz&wahl=1&jahr={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
|
<span> {$monat} / {$jahr} </span>
|
|
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_fahrz&wahl=2&jahr={$jahr}&monat={$monat}&id={$ma_id}'"></i>
|
|
</td>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|