Files
NKC/NKC_WF/MachineUnload.aspx
T
2019-09-16 18:18:39 +02:00

122 lines
3.2 KiB
Plaintext

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MachineUnload.aspx.cs" Inherits="NKC_WF.MachineUnload" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%-- <asp:UpdatePanel runat="server" ID="uplTavola">
<ContentTemplate>
<asp:Timer runat="server" ID="timReloadCss" Interval="1000"></asp:Timer>
<link href="getDynCss" rel="stylesheet" />
</ContentTemplate>
</asp:UpdatePanel>--%>
<%-- <asp:UpdatePanel runat="server" ID="uplTavola">
<ContentTemplate>
<asp:Timer runat="server" ID="timReloadCss" Interval="1000"></asp:Timer>
<link href="api/getMUCss" rel="stylesheet" />
</ContentTemplate>
</asp:UpdatePanel>--%>
<style>
.strokeThick {
stroke-width: 2px !important;
}
/* Animazione per richiamo attenzione*/
.flashStroke {
stroke: blue;
/* Safari 4.0 - 8.0 */
-webkit-animation-name: blueFlash;
-webkit-animation-duration: 0.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-delay: 0s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
/* Standard syntax */
animation-name: blueFlash;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: alternate;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes blueFlash {
0% {
stroke: #c4dbff;
}
25% {
stroke: #9dc4ff;
}
50% {
stroke: #5ca5ff;
}
75% {
stroke: #1b82ff;
}
100% {
stroke: #005ccc;
}
}
</style>
<div id="uplTavola">
<link href="api/getMUCss" rel="stylesheet" id="dynCss" />
</div>
<script type="text/javascript">
lastVal = 0;
setInterval("my_function();", 900);
function my_function() {
$.ajax({
url: "api/getMUCssRev"
}).then(function (data) {
// se è cambiato...
if (data != lastVal) {
$('#uplTavola').load(location.href + ' #dynCss');
lastVal = data;
}
});
}
</script>
<asp:UpdatePanel runat="server" ID="upnlDrawings">
<ContentTemplate>
<div class="m-2">
<div class="card text-center" style="width: 100%;">
<h3 class="card-header"><%: traduci("MachineLoad") %></h3>
<div class="card-body py-1">
<div class="row">
<div class="col-2">
BATCH<br />
Stack<br />
Sheet<br />
<%--<div style="width: 200px; height: 200px;">
<svg viewBox='0 0 105 93' xmlns='http://www.w3.org/2000/svg'>
<path id="IT000006" d='M66,0h39v93zM38,0h-38v93zM52,35l25,58h-16l-8-18h-18z' fill='#ED1C24' />
</svg>
</div>--%>
</div>
<div class="col-8">
<svg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg' runat="server" id="svgTable">
</svg>
<%--<object type="image/svg+xml" data="Images/test.svg">
</object>--%>
</div>
<div class="col-2">
CARTS<br />
BINS
</div>
</div>
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>