fix update in progress icon

This commit is contained in:
Samuele E. Locatelli
2020-09-07 18:54:23 +02:00
parent fd70297ef6
commit e87129f874
2 changed files with 55 additions and 54 deletions
+38 -39
View File
@@ -1,51 +1,50 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="MoonPro_site.WebUserControls.mod_menuTop"
CodeBehind="mod_menuTop.ascx.cs" %>
CodeBehind="mod_menuTop.ascx.cs" %>
<%-- Gestione resize --%>
<asp:HiddenField runat="server" ID="HiddenHeight" OnValueChanged="HiddenHeight_ValueChanged" />
<asp:HiddenField runat="server" ID="HiddenWidth" OnValueChanged="HiddenWidth_ValueChanged" />
<nav class="navbar navbar-expand fixed-top navbar-dark bg-black text-light titleBlock p-0">
<div style="width: 100%;">
<div class="row topTitle p-1">
<div class="col-3 text-left">
<div class="d-flex justify-content-start pl-3 text-left">
<asp:LinkButton ID="btnUpdate" runat="server" CssClass="btn btn-sm btn-outline-info" OnClick="btnUpdate_Click"></asp:LinkButton>
<asp:LinkButton ID="btnLogOut" runat="server" CssClass="dxButtonClass" Visible="False"
OnClick="btnLogOut_Click"></asp:LinkButton>
<span class="mx-2 dateTimeSmall">
<%: DateTime.Now.ToString("yyyy.MM.dd") %><br />
<%: DateTime.Now.ToString("HH.mm.ss") %>
<asp:Label runat="server" ID="lastUpdate" CssClass="dateTimeSmall"></asp:Label>
</span>
<asp:UpdateProgress ID="updtPage" runat="server" DisplayAfter="10" DynamicLayout="true">
<ProgressTemplate>
<div id="progress_back">
</div>
<div id="progress_top">
<i class="fa fa-cog fa-spin"></i> <i class="fa fa-cog fa-spin"></i> <i class="fa fa-cog fa-spin"></i>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
</div>
<div class="col-6 text-center">
<asp:Image ID="Image1" runat="server" src="Images/LogoMapoNoText.png" CssClass="img-fluid" Height="1.5em" />
<asp:HyperLink runat="server" is="hlHome" CssClass="btn btn-outline-info" NavigateUrl="~/menu"><i class="fa fa-home" aria-hidden="true"></i> MAPO ADMIN - Menu generale </asp:HyperLink>
<asp:Image ID="Image2" runat="server" src="Images/LogoMapoNoText.png" CssClass="img-fluid" Height="1.5em" />
</div>
<div class="col-3 text-right">
<asp:HyperLink runat="server" ID="hlGuida" NavigateUrl="~/help/index.html" Target="_blank" Style="text-decoration: none; color: White; font-size: small;" Visible="false" >
<asp:Image ID="imgHelp" ImageUrl="~/images/Help.png" runat="server" ToolTip="Guida" Height="32px" />
</asp:HyperLink>
&nbsp;
<asp:HyperLink runat ="server" ID="hlSteamware" CssClass="btn btn-sm btn-outline-info" Target="_blank" NavigateUrl="https://www.steamware.net/MAPO">
<div style="width: 100%;">
<div class="row topTitle p-1">
<div class="col-3 text-left">
<div class="d-flex justify-content-start pl-3 text-left">
<asp:LinkButton ID="btnUpdate" runat="server" CssClass="btn btn-sm btn-outline-info" OnClick="btnUpdate_Click"></asp:LinkButton>
<asp:LinkButton ID="btnLogOut" runat="server" CssClass="dxButtonClass" Visible="False"
OnClick="btnLogOut_Click"></asp:LinkButton>
<span class="mx-2 dateTimeSmall">
<%: DateTime.Now.ToString("yyyy.MM.dd") %><br />
<%: DateTime.Now.ToString("HH.mm.ss") %>
<asp:Label runat="server" ID="lastUpdate" CssClass="dateTimeSmall"></asp:Label>
</span>
<asp:UpdateProgress ID="updtPage" runat="server" DisplayAfter="10" DynamicLayout="true">
<ProgressTemplate>
<div id="progress_back">
</div>
<div id="progress_top">
<i class="fa fa-circle-o-notch fa-spin text-warning"></i>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
</div>
<div class="col-6 text-center">
<asp:Image ID="Image1" runat="server" src="Images/LogoMapoNoText.png" CssClass="img-fluid" Height="1.5em" />
<asp:HyperLink runat="server" is="hlHome" CssClass="btn btn-outline-info" NavigateUrl="~/menu"><i class="fa fa-home" aria-hidden="true"></i> MAPO ADMIN - Menu generale </asp:HyperLink>
<asp:Image ID="Image2" runat="server" src="Images/LogoMapoNoText.png" CssClass="img-fluid" Height="1.5em" />
</div>
<div class="col-3 text-right">
<asp:HyperLink runat="server" ID="hlGuida" NavigateUrl="~/help/index.html" Target="_blank" Style="text-decoration: none; color: White; font-size: small;" Visible="false">
<asp:Image ID="imgHelp" ImageUrl="~/images/Help.png" runat="server" ToolTip="Guida" Height="32px" />
</asp:HyperLink>
&nbsp;
<asp:HyperLink runat="server" ID="hlSteamware" CssClass="btn btn-sm btn-outline-info" Target="_blank" NavigateUrl="https://www.steamware.net/MAPO">
Steamware - sito</asp:HyperLink>
</div>
</div>
</div>
</div>
</div>
</nav>
<div class="mb-3">&nbsp;</div>
+17 -15
View File
@@ -7,11 +7,13 @@
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MoonPro_site.WebUserControls {
public partial class mod_menuTop {
namespace MoonPro_site.WebUserControls
{
public partial class mod_menuTop
{
/// <summary>
/// Controllo HiddenHeight.
/// </summary>
@@ -20,7 +22,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField HiddenHeight;
/// <summary>
/// Controllo HiddenWidth.
/// </summary>
@@ -29,7 +31,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField HiddenWidth;
/// <summary>
/// Controllo btnUpdate.
/// </summary>
@@ -38,7 +40,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton btnUpdate;
/// <summary>
/// Controllo btnLogOut.
/// </summary>
@@ -47,7 +49,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton btnLogOut;
/// <summary>
/// Controllo lastUpdate.
/// </summary>
@@ -56,7 +58,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lastUpdate;
/// <summary>
/// Controllo updtPage.
/// </summary>
@@ -65,7 +67,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.UpdateProgress updtPage;
/// <summary>
/// Controllo Image1.
/// </summary>
@@ -74,7 +76,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Image Image1;
/// <summary>
/// Controllo Image2.
/// </summary>
@@ -83,7 +85,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Image Image2;
/// <summary>
/// Controllo hlGuida.
/// </summary>
@@ -92,7 +94,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlGuida;
/// <summary>
/// Controllo imgHelp.
/// </summary>
@@ -101,7 +103,7 @@ namespace MoonPro_site.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Image imgHelp;
/// <summary>
/// Controllo hlSteamware.
/// </summary>