jb-data.de/template/tpl/ue_home2019.tpl
2025-08-11 22:23:30 +02:00

452 lines
15 KiB
Smarty

{literal}
<script type="text/javascript">
$.ajax({
type : "POST",
url : 'ajax.php?s=infop&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#infop").html(data);
},
});
$.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=kal_ue_1&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#kal_1").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=kal_ue_2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#kal_2").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=conline&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#conline").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=tuerlog2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog2").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=syslog&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#sys_log").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);
},
})
}, 20000);
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog2").html(data);
},
})
}, 10000);
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=infop&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#infop").html(data);
},
})
}, 60000);
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=conline&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#conline").html(data);
},
})
}, 120000);
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);
},
})
}, 1200000);
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=syslog&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#sys_log").html(data);
},
})
}, 30000);
</script>
{/literal}
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<div id="tlog2" style="text-align:center;"></div>
</div>
<div class="col-sm-4">
<!-- -------------------------------- Überschrift aktueller Tag -->
{if $wichtiga1>0} <div class="panel-heading" style="background-color:red;">
{else} <div class="panel-heading" style="background-color:greenyellow;">
{/if}
<h5 class="panel-title">Tourenplanung Heute ({$tag1})</h5>
</div>
<!-- -------------------------------- Kalender aktueller Tag -->
<div id="kal_1" style="text-align:center;"></div>
<!-- -------------------------------- Sondertouren aktueller Tag -->
<div class="panel">
{if $wichtigb1>0} <div class="panel-heading" style="background-color:deepskyblue;" id="accordion">
{else} <div class="panel-heading" style="background-color:gray;" id="accordion">
{/if}
<h5 class="panel-title">Sonder-Touren Heute ({$tag1})</h5>
<div class="btn-group pull-right">
<a type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-parent="#accordion" href="#collapse1">
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
</div>
</div>
<div class="panel-collapse collapse" id="collapse1">
<div class="panel-body">
<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:80px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw3.kennz}</strong></td>
<!-- <td nowrap style="width:260px;line-height:80%;font-size:8pt"> <strong><span style='color:#271FE0'>{$tw3.info}</strong></td> -->
</tbody> {/foreach}
</table>
</div>
</div>
</div>
<!-- -------------------------------- offene Tourenplanung aktueller Tag -->
{if $wichtiga1>0}
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-condensed">
<tbody> {foreach from=$tw1 item=tw1 }
<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:80px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw1.kennz}</strong></td>
<!-- <td nowrap style="width:250px;line-height:80%;font-size:8pt"> <strong><span style='color:#FF0000'>{$tw1.info}</strong></td> -->
</tbody> {/foreach}
</table>
</div>
</div>
{/if}
</div>
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- nächster Tag -->
<!-- ----------------------------------------------------------- -->
<div class="col-sm-4">
<!-- -------------------------------- Überschrift nächster Tag -->
{if $wichtiga2>0} <div class="panel-heading" style="background-color:red;">
{else} <div class="panel-heading" style="background-color:greenyellow;">
{/if}
<h5 class="panel-title">Tourenplanung Morgen ({$tag2})</h5>
</div>
<!-- -------------------------------- Kalender nächster Tag -->
<div id="kal_2" style="text-align:center;"></div>
<!-- -------------------------------- Sondertouren nächster Tag -->
<div class="panel">
{if $wichtigb2>0} <div class="panel-heading" style="background-color:deepskyblue;" id="accordion">
{else} <div class="panel-heading" style="background-color:gray;" id="accordion">
{/if}
<h5 class="panel-title">Sonder-Touren Morgen ({$tag2})</h5>
<div class="btn-group pull-right">
<a type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-parent="#accordion" href="#collapse2">
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
</div>
</div>
<div class="panel-collapse collapse" id="collapse2">
<div class="panel-body">
<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:80px;line-height:80%;font-size:11pt"> <strong> <span style='color:#271FE0'>{$tw4.kennz}</strong></td>
<!-- <td nowrap style="width:260px;line-height:80%;font-size:8pt"> <strong><span style='color:#271FE0'>{$tw4.info}</strong></td> -->
</tbody> {/foreach}
</table>
</div>
</div>
</div>
<!-- -------------------------------- offene Tourenplanung nächster Tag -->
{if $wichtiga2>0}
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-condensed">
<tbody> {foreach from=$tw2 item=tw2 }
<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:80px;line-height:80%;font-size:11pt"> <strong> <span style='color:#FF0000'>{$tw2.kennz}</strong></td>
<!-- <td nowrap style="width:250px;line-height:80%;font-size:8pt"> <strong><span style='color:#FF0000'>{$tw2.info}</strong></td> -->
</tbody> {/foreach}
</table>
</div>
</div>
{/if}
</div>
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- infofeld -->
<!-- ----------------------------------------------------------- -->
<div class="col-sm-4">
<div class="panel">
<div class="panel-heading" style="background-color:yellow;">
<h5 class="panel-title">Informationspanel JB-intern</h5>
</div>
<div id="infop" style="text-align:left;"></div>
</div>
</div>
<!-- ----------------------------------------------------------- -->
</div>
<div class="row">
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- information 1 -->
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- Türlog ! -->
<div class="col-sm-4"><div id="tlog" style="text-align:center;"></div> </div>
<!-- --------------------------------------------- Kartenlog -->
<div class="col-sm-4"><div id="conline" style="text-align:center;"></div> </div>
<!-- --------------------------------------------- Kalender nächste KW -->
<div class="col-sm-4"><div id="kal_nw" style="text-align:center;"></div></div>
<!-- ----------------------------------------------------------- -->
</div>
<div class="row">
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- information 2 -->
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- Ma online -->
<div class="col-sm-4"><div id="maonline" style="text-align:center;"></div> </div>
<!-- --------------------------------------------- Car-Termine
<div class="col-sm-4"><div id="huau" style="text-align:center;"></div> </div> -->
<!-- --------------------------------------------- syslog -->
<div class="col-sm-8"><div id="sys_log" style="text-align:center;"></div></div>
<!-- ----------------------------------------------------------- -->
</div>
<div class="row">
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- information 3 -->
<!-- ----------------------------------------------------------- -->
<!-- --------------------------------------------- Türsystem -->
<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>
<!-- --------------------------------------------- Car-Termine -->
<div class="col-sm-4"><div id="huau" style="text-align:center;"></div> </div>
<!-- -------------------------------- Status gesperrte Login -->
<div class="col-md-4">
<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>
<td nowrap style="width:300px;font-size:10pt">{$ustatus.user} ( {$ustatus.zeit|date_format:"%d.%m.%Y - %H:%M Uhr"} ) </td>
</tr>
<tr>
<td nowrap style="width:400px;font-size:8pt">{$ustatus.grund}</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>
<!-- -------------------------------- -->