75 lines
2 KiB
Smarty
75 lines
2 KiB
Smarty
|
|
|
|
<form action="" method="post">
|
|
<b> Auswahl Monat/Jahr:
|
|
|
|
<select name="monate" style="width:180px;" >
|
|
{html_options values=$monate.id output=$monate.name selected=$monate.monat}
|
|
</select>
|
|
|
|
<select name="jahre" style="width:180px;" >
|
|
{html_options values=$jahre.id output=$jahre.name selected=$jahre.jahr}
|
|
</select>
|
|
<input type="submit" name="auswahl" value="OK" >
|
|
|
|
</form>
|
|
|
|
|
|
</br>
|
|
</br>
|
|
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
|
|
{foreach from=$kltag item=kl_tag}
|
|
{if $kl_tag.tag==1 }
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" align="left">Kalenderwoche: {$kl_tag.kw} - {$kl_tag.jahr}</div>
|
|
<table class="table-hover">
|
|
<tbody>
|
|
{/if}
|
|
{if $kl_tag.wt=="Montag" }
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" align="left">Kalenderwoche: {$kl_tag.kw} - {$kl_tag.jahr}</div>
|
|
<table class="table-hover">
|
|
<tbody>
|
|
|
|
{/if}
|
|
<tr>
|
|
<td style="width:150px; text-align:left" onclick="window.location='?s=kalender_neu&tag={$kl_tag.tag}.{$kl_tag.monat}.{$kl_tag.jahr}';">{$kl_tag.tag}.{$kl_tag.monat}.{$kl_tag.jahr} ({$kl_tag.tw})</td>
|
|
</tr>
|
|
<tr>
|
|
{foreach from=$kl_tag.data item=data}
|
|
<td nowrap align="left" style="width:200px;font-size:11pt">
|
|
<b> </b>
|
|
</td>
|
|
|
|
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&id={$data.pid}';">
|
|
<img src="/template/images/icon/{$data.icon}" width="16" height="16"/> {$data.name}
|
|
</td>
|
|
|
|
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&id={$data.pid}';">{$data.bez}
|
|
</td>
|
|
<td style="width:300px; text-align:left" onclick="window.location='?s=kalender_edit&id={$data.pid}';"><img {$data.info}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
|
|
|
|
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|