Testing flash fermata se necessario
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<include path="~/Content/fonts.min.css" />
|
||||
<include path="~/Content/dichMan.min.css" />
|
||||
<include path="~/Content/bloccoMacc.min.css" />
|
||||
<include path="~/Content/flashing.min.css" />
|
||||
<include path="~/Content/baseStyle.min.css" />
|
||||
</styleBundle>
|
||||
<styleBundle path="~/Content/themes/base/css">
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
.flashingRed {
|
||||
animation-duration: 0.75s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
animation-play-state: running;
|
||||
animation-name: flsRed;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
@keyframes flsRed {
|
||||
from {
|
||||
border: 5px solid #dc3545;
|
||||
}
|
||||
to {
|
||||
border: 5px solid #ffc107;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
.flashingRed {
|
||||
animation-duration: 0.75s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
animation-play-state: running;
|
||||
animation-name: flsRed;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
@keyframes flsRed {
|
||||
from {
|
||||
border: 5px solid #dc3545;
|
||||
}
|
||||
|
||||
to {
|
||||
border: 5px solid #ffc107;
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
.flashingRed{animation-duration:.75s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;animation-play-state:running;animation-name:flsRed;transform:translateZ(0);}@keyframes flsRed{from{border:5px solid #dc3545;}to{border:5px solid #ffc107;}}
|
||||
@@ -12,7 +12,9 @@
|
||||
<div class="container-flow m-3" role="main">
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-8 col-md-9 col-xl-10">
|
||||
<asp:LinkButton runat="server" ID="lbtFermate" CssClass="btn btn-block btn-lg btn-danger flashingRed text-warning mb-2"><i class="fa fa-lg fa-bell"></i> DICH. FERMATA</asp:LinkButton>
|
||||
<uc1:mod_dettMacchina ID="mod_dettMacchina1" runat="server" />
|
||||
<%--statistiche produzione--%>
|
||||
<div class="card bg-dark mb-2">
|
||||
<div class="card-header bg-light" id="heading01">
|
||||
<p class="mb-0">
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace MoonProTablet
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
Session["TipoLink"] = "DetMacc";
|
||||
lbtFermate.Visible = showInsFermata;
|
||||
}
|
||||
mod_confProd1.eh_inserting += mod_confProd1_eh_inserting;
|
||||
mod_confProd1.eh_newVal += mod_confProd1_eh_newVal;
|
||||
@@ -52,5 +53,19 @@ namespace MoonProTablet
|
||||
{
|
||||
mod_dettMacchina1.doUpdate();
|
||||
}
|
||||
/// <summary>
|
||||
/// Determina se dato lo stato dell'impianto si debba mostrare btn fermata perché
|
||||
/// - impianto fermo
|
||||
/// - fermo > xx min (da web.config, es 20')
|
||||
/// </summary>
|
||||
public bool showInsFermata
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = true;
|
||||
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -12,6 +12,15 @@ namespace MoonProTablet {
|
||||
|
||||
public partial class DettaglioMacchina {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtFermate.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtFermate;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_dettMacchina1.
|
||||
/// </summary>
|
||||
|
||||
@@ -168,6 +168,12 @@
|
||||
<Content Include="Content\dichMan.min.css">
|
||||
<DependentUpon>dichMan.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\flashing.css">
|
||||
<DependentUpon>flashing.less</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\flashing.min.css">
|
||||
<DependentUpon>flashing.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\font-awesome.css" />
|
||||
<Content Include="Content\font-awesome.min.css" />
|
||||
<Content Include="Content\baseStyle.css">
|
||||
@@ -377,6 +383,7 @@
|
||||
<Content Include="Files\Disegni\PlaceHolder.file">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\flashing.less" />
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
||||
@@ -5,17 +5,6 @@ window.onresize = function (event) {
|
||||
function SetWidthHeight() {
|
||||
var height = $(window).outerHeight();
|
||||
var width = $(window).outerWidth();
|
||||
//var height = $(window).height();
|
||||
//var width = $(window).width();
|
||||
//$(window).innerHeight() * $(window).devicePixelRatio();
|
||||
|
||||
//w = window.screen.width;
|
||||
//h = window.screen.height;
|
||||
//if (window.devicePixelRatio < 1) {
|
||||
// w = window.screen.width / window.devicePixelRatio;
|
||||
// h = window.screen.height / window.devicePixelRatio;
|
||||
//}
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "./windowSize.ashx",
|
||||
@@ -33,7 +22,7 @@ function SetWidthHeight() {
|
||||
window.location.reload();
|
||||
};
|
||||
}).fail(function (xhr) {
|
||||
alert("Problem to retrieve browser size.");
|
||||
//alert("Problem to retrieve browser size.");
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<asp:HyperLink runat="server" ID="hlDisegno" NavigateUrl="~/Files/Disegni/ND.pdf" CssClass="btn btn-secondary btn-sm btn-block" Target="_blank">
|
||||
<i class="fa fa-file-pdf-o fa-2x"></i><br /><div class="small">DIS.</div>
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</div>
|
||||
|
||||
@@ -26,5 +26,9 @@
|
||||
{
|
||||
"outputFile": "Content/bootstrap/bootstrap.css",
|
||||
"inputFile": "Content/bootstrap/bootstrap.scss"
|
||||
},
|
||||
{
|
||||
"outputFile": "Content/flashing.css",
|
||||
"inputFile": "Content/flashing.less"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user