335 lines
12 KiB
Smarty
335 lines
12 KiB
Smarty
{literal}
|
|
|
|
<script type="text/javascript">
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=fstatus&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#huau").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=hkal_1&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_1").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=hkal_2&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_2").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=hkal_3&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_3").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=kal_nw&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#kal_nw").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=login_edv&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#maonline").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
});
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=smslog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#smslog").html(data);
|
|
},
|
|
});
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=system&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#slog").html(data);
|
|
},
|
|
});
|
|
var refreshId = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
})
|
|
}, 10000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=login_edv&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#maonline").html(data);
|
|
},
|
|
})
|
|
}, 30000);
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=system&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#slog").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
|
|
var refresh_EDV = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=smslog&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#smslog").html(data);
|
|
},
|
|
})
|
|
}, 3000);
|
|
</script>
|
|
{/literal}
|
|
|
|
<div class="container-fluid">
|
|
<!-- aktueller Tag -->
|
|
<div class="row">
|
|
<!-- heute Tag !!!!!!!!!!!! offene Tourenplanung -->
|
|
<div class="col-sm-4">
|
|
{if $wichtiga1>0}
|
|
<div class="panel panel-danger">
|
|
{else}
|
|
<div class="panel panel-success">
|
|
{/if}
|
|
<div class="panel-heading">Tourenplanung Heute ({$tag1})</div>
|
|
<div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;">
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw1 item=tw1 }
|
|
<!--<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tag1}</strong></td> -->
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tw1.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw1.fahrer}</strong></td>
|
|
<td nowrap style="width:90px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw1.kennz}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw3 item=tw3 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw3.tour}</strong></td>
|
|
<td nowrap style="width:170px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw3.fahrer}</strong></td>
|
|
<td nowrap style="width:90px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw3.kennz}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4"><div id="kal_1" style="text-align:center;"></div></div>
|
|
<!-- 2. Tag Tag -->
|
|
<!-- 2. Tag !!!!!!!!!!!! offene Tourenplanung -->
|
|
<div class="col-sm-2">
|
|
{if $wichtiga2>0}
|
|
<div class="panel panel-danger">
|
|
{else}
|
|
<div class="panel panel-success">
|
|
{/if}
|
|
<div class="panel-heading">Tourenplanung Morgen ({$tag2})</div>
|
|
{if $wichtigz2==1} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==2} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==3} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==4} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==5} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==6} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==7} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==8} <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==9} <div class="panel-body" style="min-height:200px;max-height:215px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==10} <div class="panel-body" style="min-height:200px;max-height:235px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==11} <div class="panel-body" style="min-height:200px;max-height:255px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==12} <div class="panel-body" style="min-height:200px;max-height:275px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==13} <div class="panel-body" style="min-height:200px;max-height:295px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==14} <div class="panel-body" style="min-height:200px;max-height:315px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==15} <div class="panel-body" style="min-height:200px;max-height:335px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==16} <div class="panel-body" style="min-height:200px;max-height:355px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==17} <div class="panel-body" style="min-height:200px;max-height:375px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==18} <div class="panel-body" style="min-height:200px;max-height:395px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==19} <div class="panel-body" style="min-height:200px;max-height:415px;overflow-y: scroll;"> {/if}
|
|
{if $wichtigz2==20} <div class="panel-body" style="min-height:200px;max-height:435px;overflow-y: scroll;"> {/if}
|
|
|
|
|
|
|
|
<!-- <div class="panel-body" style="min-height:200px;max-height:200px;overflow-y: scroll;"> -->
|
|
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw2 item=tw2 }
|
|
<!--<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tag1}</strong></td> -->
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong>{$tw2.tour}</strong></td>
|
|
<td nowrap style="width:180px;line-height:80%;font-size:11pt"> <strong><span style='color:#FF0000'>{$tw2.fahrer}</strong></td>
|
|
<td nowrap style="width:90px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw2.kennz}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
<table class="table-condensed">
|
|
<tbody> {foreach from=$tw4 item=tw4 }
|
|
<td nowrap style="width:100px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw4.tour}</strong></td>
|
|
<td nowrap style="width:170px;line-height:80%;font-size:11pt"> <strong><span style='color:#271FE0'>{$tw4.fahrer}</strong></td>
|
|
<td nowrap style="width:90px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw4.kennz}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4"><div id="kal_2" style="text-align:center;"></div></div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
<!-- -------------------------------- Türlog !, Kalender nächste KW -->
|
|
<div class="row">
|
|
<!-- -------------------------------- Status Zutritt Tür -->
|
|
<div class="col-sm-4"><div id="tlog" style="text-align:center;"></div> </div>
|
|
<div class="col-sm-4"><div id="huau" style="text-align:center;"></div> </div>
|
|
<div class="col-sm-4"><div id="kal_nw" style="text-align:center;"></div></div>
|
|
</div>
|
|
<!-- -------------------------------- -->
|
|
<div class="row">
|
|
<!-- -------------------------------- Status Login -->
|
|
<div class="col-sm-4"><div id="maonline" style="text-align:center;"></div> </div>
|
|
<!-- -------------------------------- sms Status -->
|
|
<div class="col-sm-4"><div id="smslog" style="text-align:center;"></div> </div>
|
|
<!-- -------------------------------- system status -->
|
|
<div class="col-sm-4"><div id="slog" style="text-align:center;"></div> </div>
|
|
</div>
|
|
<!-- -------------------------------- -->
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading" align="left">Fehler Türsystem</div>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$estatus item=estatus}
|
|
<tr></strong>
|
|
<td nowrap style="width:160px;font-size:11pt">{$estatus.karte}</td>
|
|
<td nowrap style="width:170px;font-size:11pt" align="right">{$estatus.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
|
<!-- <td> <span style='color:#FF0000'>{$status.zeit2}</td> -->
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- -------------------------------- Status gesperrte Login -->
|
|
<div class="col-md-8">
|
|
<div class="panel panel-default collapsible">
|
|
<div class="panel-heading" align="left">Sperre Türsystem</div>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$ustatus item=ustatus}
|
|
<tr></strong>
|
|
<td nowrap style="width:220px;font-size:11pt">{$ustatus.user}</td>
|
|
<td nowrap style="width:290px;font-size:11pt">{$ustatus.grund}</td>
|
|
<td nowrap style="width:180px;font-size:11pt" align="right">{$ustatus.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- -------------------------------- -->
|
|
<!-- -------------------------------- -->
|
|
|
|
|
|
<!-- -------------------------------- rundschau heute -->
|
|
<!-- <div id="info_rs" style="text-align:center;"></div>
|
|
<!-- -------------------------------- exxtra morgen -->
|
|
<!-- <div id="info_ex" style="text-align:center;"></div>
|
|
<!-- -------------------------------- Saso Info -->
|
|
<!-- <div id="info_ss" style="text-align:center;"></div>
|
|
<!-- -------------------------------- -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|