142 lines
6.2 KiB
Smarty
142 lines
6.2 KiB
Smarty
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
|
|
</head>
|
|
|
|
|
|
|
|
<div class="row sortable">
|
|
<div class="col-sm-4">
|
|
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<b><span style='font-size:12pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=pwtagx&wahl=1&jahr={$jahr}&monat={$monat}">«</a>   {$monat}/{$jahr}  <a class="button-blue" href="?s=pwtagx&wahl=2&jahr={$jahr}&monat={$monat}">»</a>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<a class="button button-orange" href="?s=list_pwtagx&jahr={$jahr}&monat={$monat}&tid={$anzeige}">PDF/Monat</a></div>
|
|
</div></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
<div class="panel-group" id="accordion">
|
|
{foreach from=$tag_tour item=tag_tour}
|
|
{if $tag_tour.menge>0}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">
|
|
<a data-toggle="collapse" data-parent="#accordion" href="{$tag_tour.raute}">{$tag_tour.name1} ({$tag_tour.name2})</a></h4>
|
|
</div>
|
|
{if $tag_tour.typ==$tag_tour.col} <!-- fenster aufgeklappt bei auswahl des types -->
|
|
<div id={$tag_tour.typ} class="panel-collapse collapse in">
|
|
{else}
|
|
<div id={$tag_tour.typ} class="panel-collapse collapse">
|
|
{/if}
|
|
<div class="panel-body">
|
|
{foreach from=$tag_tour.tdata item=tlist}
|
|
<table class="no-style full">
|
|
<thead>
|
|
{if $tlist.aktiv==0}
|
|
<tr>
|
|
<td style="font-size:10pt;color:gray" onclick="window.location='?s=pwtagx&id={$tlist.id}&jahr={$jahr}&monat={$monat}'">{$tlist.tour}
|
|
</td>
|
|
{else}
|
|
<tr>
|
|
<td style="font-size:10pt;color:blue" onclick="window.location='?s=pwtagx&id={$tlist.id}&jahr={$jahr}&monat={$monat}'">{$tlist.tour}
|
|
</td>
|
|
{/if}
|
|
|
|
<td nowrap style="font-size:6pt"> {$tlist.infotitel}</td>
|
|
|
|
<!--
|
|
<td nowrap style="font-size:11pt"><a href="?s=pwtagx&id={$tlist.id}&jahr={$jahr}&monat={$monat}" title="Kicke zum auswälen" >{$tlist.tour}</a></td>
|
|
<td nowrap style="font-size:8pt"> {$tlist.infotitel}</td>
|
|
-->
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
|
|
{if $anzeige==0}
|
|
<div class="col-md-9">
|
|
<div class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Info</span></h2></header>
|
|
<section class="panel-body">
|
|
<header class="current"><h2>Info </h2></header>
|
|
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>
|
|
Bitte die Tour auwählen die Sie bearbeiten möchten.
|
|
</span>
|
|
</div>
|
|
|
|
<div id="plan_tour" style="text-align:center;"></div>
|
|
|
|
|
|
</div>
|
|
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
|
|
{else}
|
|
<!-- ///////////////// menu seite -->
|
|
|
|
|
|
|
|
|
|
<div class="col-md-9">
|
|
<div class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Tourenplanung ges. Monat {$tourname}</span></h2></header>
|
|
<section class="panel-body">
|
|
<table class="no-style full">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:70px" align="left">Tour</th>
|
|
<th style="width:50px" align="left">kw</th>
|
|
<th style="width:190px" align="left">Fahrer</th>
|
|
<th style="width:120px" align="left">Fahrzeug</th>
|
|
<th style="width:300px" align="left">z.Info</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<form action="" method="post">
|
|
{foreach from=$tour_edit item=tour}
|
|
{if $tour.tagnr==1}
|
|
<td><hr style="color: red; height: 1px;" /></td>
|
|
<td><hr style="color: red; height: 1px;" /></td>
|
|
<td><hr style="color: red; height: 1px;" /></td>
|
|
<td><hr style="color: red; height: 1px;" /></td>
|
|
<td><hr style="color: red; height: 1px;" /></td>
|
|
|
|
{/if}
|
|
<tr>
|
|
<td style="width:70px"><b>{$tour.date|date_format:"%d.%m.%y"}</td>
|
|
<td style="width:45px;" >{$tour.kw} kw.</td>
|
|
|
|
<td style="width:190px">{$tour.fahrer_name}<center></td>
|
|
<td style="width:190px">{$tour.auto_kz}<center></td>
|
|
<td style="width:190px">{$tour.info}<center></td>
|
|
</tr>
|
|
|
|
{/foreach}
|
|
</tbody>
|
|
</div></div>
|
|
|
|
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full" id="trp" style="font-size:11pt">
|
|
</table>
|
|
</dl>
|
|
|
|
|
|
{/if}
|
|
|
|
</div></div></div></div>
|
|
|