138 lines
No EOL
5.8 KiB
Smarty
138 lines
No EOL
5.8 KiB
Smarty
<div class="row">
|
|
<div class="col-sm-2" align="center">
|
|
<i class="fad fa-mobile-android-alt fa-10x"></i>
|
|
<p style="background-color: orange"> +49 178 356 00000</p>
|
|
</div>
|
|
<div class="col-sm-5">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-body" style="min-height:780px;max-height:780px;overflow-y: scroll;">
|
|
{foreach from=$smsdata item=smsdata}
|
|
{if $smsdata.incoming==1}
|
|
<table class="table table-condensed">
|
|
<tr class="success">
|
|
<td nowrap="nowrap" style="font-size:9pt;align:right">{$smsdata.senddate|date_format:"%d.%m.%y - %H:%M"} Uhr </td>
|
|
<td class="active" align="right" style="width:130px;font-size:11pt;align:left;max-height: 10px">
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&lid={$smsnotread.messageId}" onclick="return confirm('Möchten sie wirklich löschen ?')">
|
|
<i class="fa fa-trash" title="Nachricht löschen"></i>
|
|
</a>
|
|
{if $smsdata.look==1}
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&zid={$smsdata.messageId}&id={$mitarbeiter.id}">
|
|
<i class="fa fa-lock" title="Nachricht freigeben"></i>
|
|
</a>
|
|
{else}
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&sid={$smsdata.messageId}&id={$mitarbeiter.id}">
|
|
<i class="fa fa-unlock" title="Nachricht schützen"></i>
|
|
</a>
|
|
{/if}
|
|
{if $smsdata.read==1}
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&rid={$smsnotread.messageId}" onclick="return confirm('Möchten sie wirklich als gelesen markieren?')">
|
|
<i class="fa fa-check" title="als gelesen markieren"></i>
|
|
</a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-condensed" style="margin-top: -20px">
|
|
<tbody>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:10pt;align:left">{$smsdata.text} </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{else}
|
|
<table class="table table-condensed" style="margin-top: -10px">
|
|
<tbody>
|
|
<tr class="info">
|
|
<td nowrap="nowrap" style="font-size:9pt;align:right">{$smsdata.senddate|date_format:"%d.%m.%y - %H:%M"} Uhr
|
|
|
|
versendet von {$smsdata.von}
|
|
</td>
|
|
<td class="active" align="right" style="width:130px;font-size:10pt;align:left">
|
|
|
|
{if $smsdata.status==1}
|
|
<i class="fa fa-spinner fa-pulse fa-1x" title="versendet, wartet auf Bericht"></i></a>
|
|
{elseif $smsdata.status==2}
|
|
<i class="fa fa-check-square-o fa-1x" title="zugestellt {$smsdata.statusdate|date_format:"%d.%m.%y - %H:%M"} Uhr "></i>
|
|
{elseif $smsdata.status==3}
|
|
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
|
|
{elseif $smsdata.status==4}
|
|
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
|
|
{elseif $smsdata.status==8}
|
|
<i class="fa fa-share-square-o fa-1x" title="MSG. versendet"></i></a>
|
|
{elseif $smsdata.status==20}
|
|
<i class="fa fa-clock-o fa-1x" title="wartet auf senden."></i></a>
|
|
{/if}
|
|
<a> </a>
|
|
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&lid={$smsdata.messageId}&id={$mitarbeiter.id}" onclick="return confirm('Möchten sie wirklich löschen ?')">
|
|
<i class="fa fa-trash" title="Nachricht löschen"></i>
|
|
</a>
|
|
{if $smsdata.look==1}
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&zid={$smsdata.messageId}&id={$mitarbeiter.id}">
|
|
<i class="fa fa-lock" title="Nachricht freigeben"></i>
|
|
</a>
|
|
{else}
|
|
<a class="btn btn-default btn-xs" href="?s=smsserver&sid={$smsdata.messageId}&id={$mitarbeiter.id}">
|
|
<i class="fa fa-unlock" title="Nachricht schützen"></i>
|
|
</a>
|
|
{/if}
|
|
</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-condensed" style="margin-top: -20px">
|
|
<tbody>
|
|
<tr>
|
|
<td class="active" align="left" style="font-size:10pt;align:left">{$smsdata.text} </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{/if}
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-5">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-body" style="min-height:780px;max-height:780px;overflow-y: scroll;">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$info item=tel}
|
|
{if $tel.incoming==1}
|
|
<tr style="background-color:#fff">
|
|
{else}
|
|
<tr style="background-color:#ECFFE8">
|
|
{/if}
|
|
|
|
<td nowrap style="width:60px;font-size:12pt;" align="center">
|
|
{if $tel.status==0} <i class="fad fa-phone-alt" style="color: blue"></i> {/if}
|
|
{if $tel.status==1} <i class="fad fa-phone-alt" style="color: greenyellow"></i> {/if}
|
|
{if $tel.status==2} <i class="fad fa-phone-alt" style="color: darkgreen"></i> {/if}
|
|
{if $tel.status==3} <i class="fad fa-phone-alt" style="color: red"></i> {/if}
|
|
|
|
<td nowrap style="width:170px;font-size:12pt" align="left">{$tel.name}</td>
|
|
<td nowrap style="width:70px;font-size:7pt" align="right">{$tel.time|date_format:"%d:%m - "}</td>
|
|
<td nowrap style="width:50px;font-size:8pt" align="right">{$tel.time|date_format:"%H:%M Uhr"}</td>
|
|
<td nowrap style="width:70px;font-size:8pt" align="right">{$tel.dauer} sec.</td>
|
|
<tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div> |