534 lines
16 KiB
Smarty
534 lines
16 KiB
Smarty
<!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.7.0.css/font-awesome.css" media="all" type="text/css" />
|
|
********** -->
|
|
{literal}
|
|
<style>
|
|
input[type=text] {
|
|
width: 250px;
|
|
border:none;
|
|
border-bottom: 1px solid #333333;
|
|
color: #dcdcdc;
|
|
background-color: #222222;
|
|
}
|
|
input[type=number] {
|
|
width: 250px;
|
|
border:none;
|
|
border-bottom: 1px solid #333333;
|
|
color: #dcdcdc;
|
|
background-color: #222222;
|
|
}
|
|
</style>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("[rel=popover]").popover({'trigger':'hover'});
|
|
});
|
|
function save_exemplare(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_exemplare",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&exemplare=" + $("#exemplare_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_gewicht3(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_gewicht3",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&gewicht3=" + $("#gewicht3_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_abst(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_abst",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&abst=" + $("#abst_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_gewicht9(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_gewicht9",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&gewicht9=" + $("#gewicht9_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_time(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=time_save",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&zeit=" + $("#zeit_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'warning',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_gewicht(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_gewicht",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&gewicht=" + $("#gewicht_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_pakete(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_pakete",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&pakete=" + $("#pakete_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function save_pakete2(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_pakete2",
|
|
dataType: 'json',
|
|
data: 'tourID=' + tourID + "&pakete2=" + $("#pakete2_"+tourID).val(),
|
|
success: function (data) {
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote
|
|
},{
|
|
type: 'info',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "bottom",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
console.log(data)
|
|
}
|
|
});
|
|
}
|
|
function amtsblatt(tourID) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "ajax.php?s=isaso&a=save_amtsblatt",
|
|
dataType: "json",
|
|
//contentType: "application/json; charset=utf-8",
|
|
data: 'tourID=' + tourID,
|
|
success: function (data) {
|
|
|
|
if(data.success == true) {
|
|
$.notify({
|
|
icon: 'glyphicon glyphicon-warning-ok',
|
|
message: data.lastnote,
|
|
|
|
},{
|
|
type: 'success',
|
|
showProgressbar: true,
|
|
delay: 300,
|
|
newest_on_top: false,
|
|
element: 'body',
|
|
placement: {
|
|
from: "top",
|
|
align: "right"
|
|
},
|
|
animate: {
|
|
enter: 'animated fadeInDown',
|
|
exit: 'animated fadeOutUp'
|
|
}
|
|
});
|
|
}
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
<style>
|
|
[rel="popover"]{
|
|
cursor: pointer;
|
|
display:inline-block; /* chrome-fix */
|
|
}
|
|
|
|
</style>
|
|
{/literal}
|
|
<!-- ********** --> <div class="container-fluid">
|
|
<div class="row">
|
|
<!-- Main Section -- mittlere Spalte -->
|
|
<div class="col-md-8">
|
|
{if $sa11 != 0}
|
|
<!-- <a style="width:90px;font-size:8pt" align="left">06:00 Uhr - {$datum} - Block 1 ({$sa11}Touren)</a> -->
|
|
<div class="panel panel-danger">
|
|
<div class="panel-body">
|
|
<table class="table-hover" style="font-size:11pt">
|
|
{include file='tpl/_iss_datakopf.tpl'}
|
|
<tbody>
|
|
{foreach from=$s11 item=tour}
|
|
{include file='tpl/_iss_data.tpl'}
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
|
|
</div>
|
|
|
|
<!-- -------------------------------------->
|
|
|
|
|
|
|
|
<!-- rechte seite -->
|
|
<!-- -------------------------------------->
|
|
|
|
<!-- Sidebar -->
|
|
<aside class="col-md-4">
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Datum wechseln</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
|
|
<b><i><span style='font-size:12pt;line-height:115%;
|
|
color:#4F81BD'>SaSo 2020 </span></i></b>   
|
|
<b><i><span style='font-size:12pt;line-height:115%;
|
|
color:#4F81BD'><a class="button-blue" href="?s=iss&wahl=1&jahr={$jahr}&kw={$kw}">«</a>
|
|
  {$kw}.KW / {$jahr}  
|
|
<a class="button-blue" href="?s=iss&wahl=2&jahr={$jahr}&kw={$kw}">»</a></span></i></b>
|
|
</p>
|
|
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<!-- -------------------------------------->
|
|
<!-- -------------------------------------->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Download MPV Daten</h2></div>
|
|
<table class="table-condensed">
|
|
<tr>
|
|
{if $mpvcopycheck !=0}
|
|
{if $tdl !=0}
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt;color:#200ADF" class="far fa-spinner fa-pulse fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
{else}
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
{/if}
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
{else}
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
</td>
|
|
{/if}
|
|
|
|
|
|
|
|
<td>
|
|
<!-- Amtsblattcopy -->
|
|
{if $abcopycheck !=0}
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
{else}
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn disabled" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
|
</form>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
{if $tdl !=0}
|
|
<td>{$tdl}/{$tsumme}</td>
|
|
{else}
|
|
<td>Grunddaten</td>
|
|
{/if}
|
|
<td>Planzeiten</td>
|
|
<td>Endzeiten</td>
|
|
<td>Amtsblatt</td>
|
|
</tr>
|
|
</table>
|
|
<!--
|
|
<section class="panel-body" id="download" >
|
|
<form action="" method="post">
|
|
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
|
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
-->
|
|
</div>
|
|
<!-- ------------------------------------ -->
|
|
{if $tnorm ==0}
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Stadt-Touren Paketnorm {$norm} St.</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<form action="" method="post">
|
|
<label for="sasonorm">SaSo-Norm: </label>
|
|
<input type="text" style="width:30px;" name="sasonorm" value="{$norm}"> <input type="submit" name="speichern" value="Norm speichern" />
|
|
</form>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
<!-- ------------------------------------ -->
|
|
{if $iab !=0}
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Paketnorm {$abnorm} St.</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed">
|
|
<form action="" method="post">
|
|
<label for="abnorm">AB.-Norm: </label>
|
|
<input type="text" style="width:40px;" id="abnorm" name="abnorm" value="{$abnorm}">
|
|
<input type="submit" value="speichern" />
|
|
</form>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Berechnung</h2></div>
|
|
<section class="panel-body">
|
|
<table class="table-condensed"> Faktor: {$abegw}</br>
|
|
<form action="" method="post">
|
|
<b>ges.Gew. Tour10: <input type="text" style="width:50px;" name="abcalc" /> <input type="submit" name="speichern" value="AB-berechnen" />
|
|
</form>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
<!-- ------------------------------------ -->
|
|
{if $tnorm!=0}
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="panel-heading"><h2 class="panel-title">Abnahme Tour</h2></div>
|
|
<section class="panel-body">
|
|
<form action="" method="post">
|
|
</br><b>Abnahme hinzu:</b>
|
|
<select name="plus" style="width:140px;" >
|
|
{foreach from=$tourplus item=tplus}
|
|
{html_options values=$tplus.id output=$tplus.tour}
|
|
{/foreach}
|
|
<input type="hidden" name="dazu" value="{$tplus.id}"/>
|
|
<input type="submit" name="dazuplus" value="hinzufügen" >
|
|
</select>
|
|
</form>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</aside>
|
|
</div>
|
|
|
|
|
|
<!-- Sidebar End -->
|