ok menu TOP sticky
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
</div>
|
||||
<div class="col-3 text-left">
|
||||
<asp:Label runat="server" ID="lblApp" Text="." />
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
</footer>
|
||||
|
||||
@@ -11,12 +11,6 @@ namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
public partial class cmp_footer : BaseUserControl
|
||||
{
|
||||
#region Public Events
|
||||
|
||||
public event EventHandler eh_doRefresh;
|
||||
|
||||
#endregion Public Events
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void setClock()
|
||||
@@ -39,20 +33,29 @@ namespace GPW_Admin.WebUserControls
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// sistemo le stringhe...
|
||||
lblApp.Text = string.Format("<b>{0}</b> v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
|
||||
setLabel();
|
||||
setTimer();
|
||||
setClock();
|
||||
}
|
||||
|
||||
private void setLabel()
|
||||
{
|
||||
string appInfo = "";
|
||||
try
|
||||
{
|
||||
// sistemo le stringhe...
|
||||
appInfo = $"<b>{ConfigurationManager.AppSettings.Get("appName")}</b> v.{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version}";
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
lblApp.Text = appInfo;
|
||||
}
|
||||
|
||||
protected void Timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
setClock();
|
||||
// se qualcuno ascolta sollevo evento nuovo valore...
|
||||
if (eh_doRefresh != null)
|
||||
{
|
||||
eh_doRefresh(this, new EventArgs());
|
||||
}
|
||||
raiseEvent();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_menuTop.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_menuTop" %>
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfAnonym" />
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark text-light py-1 mb-1">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark text-light py-1 fixed-top">
|
||||
<%--<asp:LinkButton runat="server" ID="lbnUpdate" Text="---" OnClick="lbnUpdate_Click" CssClass="navbar-brand" ToolTip="HOME">Sauder NKC <i class="fa fa-object-group" aria-hidden="true"></i></asp:LinkButton>--%>
|
||||
<a class="navbar-brand" href="../">GPW <i class="fa fa-users" aria-hidden="true"></i></a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
@@ -49,4 +49,4 @@
|
||||
<asp:LinkButton runat="server" ID="lbtSearch" class="btn btn-secondary my-2 my-sm-0" type="submit" OnClick="lbtSearch_Click"># <%: traduci ("Search") %> <i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
<link href="~/css/Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<div class="row table-secondary mb-1">
|
||||
<div class="col-2 input-group-text">
|
||||
<asp:HyperLink runat="server" NavigateUrl="~/progetti" CssClass="btn btn-block btn-outline-warning text-dark"><i class="fa fa-arrow-left" aria-hidden="true"></i> Progetti</asp:HyperLink>
|
||||
<div class="col-2 input-group-text" runat="server" id="divReturn">
|
||||
<asp:HyperLink runat="server" ID="hlReturnProj" NavigateUrl="~/progetti" CssClass="btn btn-block btn-outline-warning text-dark"><i class="fa fa-arrow-left" aria-hidden="true"></i> Progetti</asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-2 input-group-text">
|
||||
<div class="col-4 input-group-text">
|
||||
<uc1:mod_filtro ID="filtroCli" runat="server" filterChekText="filtroCliente" comboWidth="150" changeCheckVisible="false"
|
||||
isChecked="true" />
|
||||
<asp:ObjectDataSource ID="odsClienti" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData"
|
||||
|
||||
@@ -12,6 +12,17 @@ namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
public partial class mod_adminFasi : System.Web.UI.UserControl
|
||||
{
|
||||
public bool showReturnProj
|
||||
{
|
||||
get
|
||||
{
|
||||
return divReturn.Visible;
|
||||
}
|
||||
set
|
||||
{
|
||||
divReturn.Visible = value;
|
||||
}
|
||||
}
|
||||
#region area standard (non modificare)
|
||||
|
||||
#region gestione eventi
|
||||
|
||||
@@ -14,6 +14,24 @@ namespace GPW_Admin.WebUserControls
|
||||
public partial class mod_adminFasi
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divReturn.
|
||||
/// </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.HtmlControls.HtmlGenericControl divReturn;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlReturnProj.
|
||||
/// </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.HyperLink hlReturnProj;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo filtroCli.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user