init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
147
template/tpl/ajax/ntour.tpl
Normal file
147
template/tpl/ajax/ntour.tpl
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
<td nowrap style="width:90px;line-height:28px;font-size:11pt;">{if $tour.aktiv==0}<mark>{/if}{$tour.tname}</mark></td>
|
||||
<!-- --------------------------- fahrer mit anwesenheitsprüfung -->
|
||||
<td nowrap style="width:195px;font-size:11pt;">
|
||||
<!-- --------------------------- -->
|
||||
|
||||
<!-- --------------------------- -->
|
||||
<select name="Fahrer[{$tour.id}]" id="user_{$tour.id}"
|
||||
{if $tour.fahrer_id==0} style="width:190px;border:none;border-bottom: 1px solid #FF2222;"
|
||||
{elseif $tour.fahrer_ok==0} style="width:190px;border:none;border-bottom: 1px solid #FF2222;"
|
||||
{elseif $tour.fahrer_ok==2} style="width:190px;border:none;border-bottom: 1px solid #FF9900;"
|
||||
{elseif $tour.fahrer_ok==3} style="width:190px;border:none;border-bottom: 1px solid #99FF00;"
|
||||
|
||||
{else} style="width:190px;border:none;border-bottom: 1px solid #dcdcdc;"
|
||||
{/if}
|
||||
onChange="save_user({$tour.id})";>
|
||||
|
||||
<!-- --------------------------- fahrer fährt ständig *** typ 3 -->
|
||||
<optgroup label="aktuelle Fahrer">
|
||||
{foreach from=$tour.fahrer_array1 item=allfahrer}
|
||||
<option value="{$allfahrer.id}" {if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if}>
|
||||
<strong>{$allfahrer.name}</strong>
|
||||
</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
<!-- --------------------------- fahrer noch nie *** typ 4 -->
|
||||
<optgroup label="------------------------------------">
|
||||
{foreach from=$tour.fahrer_array2 item=allfahrer}
|
||||
<option value="{$allfahrer.id}" {if $tour.fahrer_id==$allfahrer.id} selected="selected"{/if}>
|
||||
<strong>{$allfahrer.name}</strong>
|
||||
</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
<!-- --------------------------- -->
|
||||
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:100px;font-size:11pt;">
|
||||
<select name="Fahrzeug[{$tour.id}]" id="car_{$tour.id}"
|
||||
{if $tour.auto_id==0} style="width:100px;border:none;border-bottom: 4px solid #ff0000;"
|
||||
{else} style="width:95px;border:none;border-bottom: 1px solid #dcdcdc;"
|
||||
{/if}
|
||||
style="width:95px;"
|
||||
|
||||
onChange="save_car({$tour.id})" >
|
||||
{foreach from=$auto_array item=allauto}
|
||||
{html_options values=$allauto.id output=$allauto.kz selected=$tour.auto_id}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<!-- --------------------------- Info -->
|
||||
<td nowrap id="ma_gh{$tour.id}" style="width:128px; font-size:8pt;">
|
||||
<input type="text" value="{$tour.infotext}" id="info_{$tour.id}"
|
||||
style="width:125px;height:22px;border-color:#dcdcdc;border:none;border-bottom: 1px solid #dcdcdc;" name="infotext[{$tour.id}]"
|
||||
onChange="save_info({$tour.id})">
|
||||
</td>
|
||||
|
||||
|
||||
<td nowrap id="ma_gh{$tour.id}" style="width:127px;font-size:8pt;">
|
||||
{if $tour.stamm_info==1}
|
||||
<div style="text-align: right; width:125px;font-size:8pt;color:#FF2222">{$tour.stamminfo}</div>
|
||||
{/if}
|
||||
{if $tour.stamm_info==2}
|
||||
<div style="text-align: right; width:125px;font-size:8pt;color:#FF9900">{$tour.stamminfo}</div>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
|
||||
<td nowrap>
|
||||
<input type="hidden" name="savetour" value="{$tour.id}"/>
|
||||
</center></td>
|
||||
<td><center>
|
||||
<input type="hidden" name="sendtour" value="{$tour.id}"/>
|
||||
<td>
|
||||
<center>
|
||||
|
||||
<div id="smsstatus{$tour.id}" style="text-align:center;">
|
||||
{if $tour.fahrer_id==0 || $tour.fahrer_ok==0}
|
||||
<button type='submit' name="smssenden" data-toggle="tooltip" title="SMS senden nicht möglich" value="{$tour.id}"><i class='fa fa-times' style="color:#000000;"></i></button>
|
||||
{else}
|
||||
|
||||
{if $tour.smsstatus==0} <!-- SMS in Warteschleife -->
|
||||
<button type='submit' name="smssenden" value="{$tour.id}"><i class='fa fa-commenting-o' style="color:#0080FF
|
||||
;"></i></button>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $tour.smsstatus==20 || $tour.smsstatus==8} <!-- SMS in Warteschleife -->
|
||||
<button type='submit' name="smssenden" value="{$tour.id}"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
|
||||
{/if}
|
||||
{if $tour.smsstatus==1 || $tour.smsstatus==3 || $tour.smsstatus==4} <!-- SMS in statusbericht abfarge -->
|
||||
<button type='submit' name="smssenden" value="{$tour.id}"><i class='fa fa-check-square-o' style="color:#FF8000;"></i></button>
|
||||
{/if}
|
||||
{if $tour.smsstatus==2}
|
||||
<button type='submit' name="smssenden" data-toggle="tooltip" title="zugestellt am: {$tour.smsstatusdate|date_format:"%d.%m.%Y-%H:%M"} Uhr" value="{$tour.id}"><i class='fa fa-check-square-o' style="color:#04B404;"></i></button>
|
||||
{/if}
|
||||
{if $tour.smsstatus==5}
|
||||
<button type='submit' name="smssenden" data-toggle="tooltip" title="Versand fehlgeschlagen !!" value="{$tour.id}"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
|
||||
{/if}
|
||||
{if $tour.smsstatus==99}
|
||||
<button type='submit' name="smssenden" value="{$tour.id}"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue