init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
111
template/tpl/ajax/tload.tpl
Normal file
111
template/tpl/ajax/tload.tpl
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
<tr id="loadzeile{$tour.id}">
|
||||
|
||||
<form action="" method="post" >
|
||||
{if $tour.aktiv==0}
|
||||
<td nowrap style="width:110px;color:bisque;border-bottom: 1px solid #000">{$tour.tour}</td>
|
||||
{else}
|
||||
<td nowrap style="width:110px;border-bottom: 1px solid #000">{$tour.tour}</td>
|
||||
{/if}
|
||||
<!-- --------------------------- fahrer hinweis -->
|
||||
{if $tour.stamm_info==0} <td style="width:20px"> </td> {/if}
|
||||
{if $tour.stamm_info==1} <td align="left" data-toggle="tooltip" title={$tour.stamminfo}><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> {/if}
|
||||
{if $tour.stamm_info==2} <td align="left" data-toggle="tooltip" title={$tour.stamminfo}><i class="far fa-info" style="color:orange"></i></td> {/if}
|
||||
|
||||
<!-- ------------------------------------------ -->
|
||||
{if $tour.fahrer_id==0}
|
||||
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
|
||||
|
||||
{elseif $tour.fahrer_ok==0}
|
||||
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
|
||||
{elseif $tour.fahrer_ok==2}
|
||||
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
|
||||
{elseif $tour.fahrer_ok==3}
|
||||
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
|
||||
|
||||
{else} <td style="width:20px"> </td>
|
||||
{/if}
|
||||
|
||||
<td nowrap style="width:195px;">
|
||||
<select name="Fahrer[{$tour.id}]" id="user_{$tour.id}"
|
||||
onChange="save_user({$tour.id})";>
|
||||
{if $tour.typ== 3}
|
||||
{foreach from=$tour.fahrer_array3 item=allfahrer}
|
||||
{html_options values=$allfahrer.id selected=$tour.fahrer_id output=$allfahrer.name options2=$allfahrer.name}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if $tour.typ== 4}
|
||||
{foreach from=$tour.fahrer_array4 item=allfahrer}
|
||||
<option value="{$allfahrer.id}" {if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if} style="color: darkgray">{$allfahrer.name}</option>{/foreach}
|
||||
{/if}
|
||||
{if $tour.typ== 5}
|
||||
{foreach from=$tour.fahrer_array5 item=allfahrer}
|
||||
<option value="{$allfahrer.id}" {if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if} style="color: darkgray">{$allfahrer.name}</option>{/foreach}
|
||||
{/if}
|
||||
{if $tour.typ== 17}
|
||||
{foreach from=$tour.fahrer_array17 item=allfahrer}
|
||||
<option value="{$allfahrer.id}" {if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if} style="color: darkgray">{$allfahrer.name}</option>{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:110px;">
|
||||
<select name="Fahrzeug[{$tour.id}]" id="car_{$tour.id}" data-width="100px"
|
||||
{if $tour.auto_id!=0} style="width:90px;border:none;border-bottom: 1px solid "
|
||||
{else} style="color: red"
|
||||
{/if}
|
||||
onChange="save_car({$tour.id})" data-hight="10px">
|
||||
{foreach from=$tour.auto_array item=allauto}
|
||||
{html_options values=$allauto.id selected=$tour.auto_id output=$allauto.kz options2=$allauto.kz }
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
{literal}
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Zusatzinfo neu -->
|
||||
|
||||
<td nowrap id="ma_gh{$tour.id}" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
|
||||
<input type="text" value="{$tour.infotext}" id="info_{$tour.id}"
|
||||
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[{$tour.id}]"
|
||||
onChange="save_info({$tour.id})">
|
||||
</td>
|
||||
|
||||
<!-- SMS Status !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px" id="smscheck{$tour.tourid}">
|
||||
<i class="fal fa-comment-alt fa-1x" style="color:#999" ></i>
|
||||
</td>
|
||||
<!-- Infobereich !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px">
|
||||
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo({$tour.tourid})"></i>
|
||||
</td>
|
||||
<!-- SMS senden Änderung ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr={$jahr}&monat={$monat}&tag={$tag}&sms={$tour.id}'";>
|
||||
<i class="fal fa-sms" style="color:#999" >
|
||||
</td>
|
||||
{if $tour.zusatz==0}
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr={$jahr}&monat={$monat}&tag={$tag}&dazu={$tour.tid}&kw={$tour.kw}'";>
|
||||
<i class="fal fa-plus" style="color:#999" >
|
||||
</td>
|
||||
{/if}
|
||||
{if $tour.zusatz==1}
|
||||
<!-- 2. Tour löschen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr={$jahr}&monat={$monat}&tag={$tag}&daweg={$tour.id}&kw={$tour.kw}'";>
|
||||
<i class="fas fa-times" style="color:#444" >
|
||||
</td>
|
||||
{/if}
|
||||
{if $tour.zusatz==2}
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;">
|
||||
<i class="fal fa-minus" style="color:#444" >
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
Loading…
Add table
Add a link
Reference in a new issue