Continuo fix header menu + home
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Bootstrap.master.cs" Inherits="WebMasterPages.Bootstrap" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_title.ascx" TagPrefix="uc1" TagName="mod_title" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_footer.ascx" TagPrefix="uc1" TagName="mod_footer" %>
|
||||
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -71,18 +73,7 @@
|
||||
<!-- /.container -->
|
||||
<asp:UpdatePanel ID="uppFooter" runat="server">
|
||||
<ContentTemplate>
|
||||
<footer class="navbar fixed-bottom navbar-dark bg-dark text-light p-0 px-2 m-0 bg-black" style="font-size: 1.2em; height: 1.5em;">
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
<div class="d-flex justify-content-start pl-3 text-left">
|
||||
<strong>MoonProTablet</strong> -
|
||||
v.<%: currVersion.ToString() %> | <%: DateTime.Now %></div>
|
||||
<div class="d-flex justify-content-center text-center">
|
||||
<%: System.Web.Configuration.WebConfigurationManager.AppSettings["Environment"] %>
|
||||
</div>
|
||||
<div class="d-flex justify-content-end pr-3 text-right">
|
||||
Powered by <img src="../images/logoTextSteamware.png" height="24" /> © 2007-<%: DateTime.Now.Year %></div>
|
||||
</footer>
|
||||
<uc1:mod_footer runat="server" ID="mod_footer" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</form>
|
||||
|
||||
@@ -10,35 +10,6 @@ namespace WebMasterPages
|
||||
public partial class Bootstrap : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
setTimer();
|
||||
updateLabels();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Versione corrente sw
|
||||
/// </summary>
|
||||
public Version currVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
|
||||
/// </summary>
|
||||
private void setTimer()
|
||||
{
|
||||
Timer1.Interval = SteamWare.memLayer.ML.confReadInt("intUpdatePagina_ms");
|
||||
}
|
||||
protected void Timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
updateLabels();
|
||||
}
|
||||
private void updateLabels()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -130,13 +130,13 @@ namespace WebMasterPages {
|
||||
protected global::System.Web.UI.UpdatePanel uppFooter;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo Timer1.
|
||||
/// Controllo mod_footer.
|
||||
/// </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.Timer Timer1;
|
||||
protected global::MoonProTablet.WebUserControls.mod_footer mod_footer;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo PlaceHolder2.
|
||||
|
||||
Reference in New Issue
Block a user