tolto mobile + modulo x switch formato + continuo pulizia master...
This commit is contained in:
+51
-7
@@ -3,21 +3,65 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
<asp:ContentPlaceHolder ID="head" runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="GMW site" />
|
||||
<meta name="author" content="Steamware" />
|
||||
<link rel="shortcut icon" href="~/favicon.ico" />
|
||||
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<title>GMW - <%: Page.Title %></title>
|
||||
|
||||
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
|
||||
<%: Scripts.Render("~/bundles/modernizr") %>
|
||||
<%: Scripts.Render("~/bundles/jquery") %>
|
||||
<%: Scripts.Render("~/bundles/jqueryui") %>
|
||||
<%: Scripts.Render("~/bundles/bootSwitch") %>
|
||||
</asp:PlaceHolder>
|
||||
<%--<script src="Scripts/typeahead.bundle.min.js"></script>--%>
|
||||
|
||||
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
|
||||
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
|
||||
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
||||
<Scripts>
|
||||
<%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%>
|
||||
<%--Framework Scripts--%>
|
||||
<asp:ScriptReference Name="MsAjaxBundle" />
|
||||
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
|
||||
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
|
||||
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
|
||||
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
|
||||
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
|
||||
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
|
||||
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
|
||||
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
|
||||
<asp:ScriptReference Name="WebFormsBundle" />
|
||||
<%--Site Scripts--%>
|
||||
</Scripts>
|
||||
</asp:ScriptManager>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container-fluid">
|
||||
GMW
|
||||
</div>
|
||||
</div>
|
||||
<div style="min-height: 50px;"></div>
|
||||
<div class="container" role="main">
|
||||
<asp:ContentPlaceHolder ID="Main" runat="server">
|
||||
<div class="container" role="main">
|
||||
<h1>hello world!</h1>
|
||||
Area main content da customizzare
|
||||
</div>
|
||||
<h1>hello world!</h1>
|
||||
Area main content da customizzare
|
||||
</asp:ContentPlaceHolder>
|
||||
</div>
|
||||
</form>
|
||||
<script src="Scripts/bootstrap.min.js"></script>
|
||||
<asp:PlaceHolder ID="PlaceHolder2" runat="server">
|
||||
<%: Scripts.Render("~/bundles/jSteamware") %>
|
||||
</asp:PlaceHolder>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Generated
+47
-2
@@ -13,13 +13,40 @@ namespace GMW {
|
||||
public partial class Empty {
|
||||
|
||||
/// <summary>
|
||||
/// head control.
|
||||
/// PlaceHolder1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder head;
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// BundleReference1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
|
||||
|
||||
/// <summary>
|
||||
/// BundleReference2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPlaceHolder1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
@@ -30,6 +57,15 @@ namespace GMW {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// ScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Main control.
|
||||
/// </summary>
|
||||
@@ -38,5 +74,14 @@ namespace GMW {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder Main;
|
||||
|
||||
/// <summary>
|
||||
/// PlaceHolder2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder PlaceHolder2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -497,7 +497,6 @@
|
||||
<Content Include="Scripts\jSteamware.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="UpdateVoc.aspx" />
|
||||
<Content Include="ViewSwitcher.ascx" />
|
||||
<Content Include="WebUserControls\mod_assegnaNC.ascx" />
|
||||
<Content Include="WebUserControls\mod_assegnaNC_Dtx.ascx" />
|
||||
<Content Include="WebUserControls\mod_clock.ascx" />
|
||||
@@ -574,7 +573,6 @@
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="Scripts\jquery-2.2.3.min.map" />
|
||||
<Content Include="Site.Mobile.Master" />
|
||||
<None Include="Web.IIS_SP.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
@@ -1054,13 +1052,6 @@
|
||||
<Compile Include="SearchMag.aspx.designer.cs">
|
||||
<DependentUpon>SearchMag.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Site.Mobile.Master.designer.cs">
|
||||
<DependentUpon>Site.Mobile.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="spostaDataMatrix.aspx.cs">
|
||||
<DependentUpon>spostaDataMatrix.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1124,13 +1115,6 @@
|
||||
<Compile Include="UpdateVoc.aspx.designer.cs">
|
||||
<DependentUpon>UpdateVoc.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ViewSwitcher.ascx.designer.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="vocabolario.aspx.cs">
|
||||
<DependentUpon>vocabolario.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1138,13 +1122,6 @@
|
||||
<Compile Include="vocabolario.aspx.designer.cs">
|
||||
<DependentUpon>vocabolario.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\Ajax.master.cs">
|
||||
<DependentUpon>Ajax.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\Ajax.master.designer.cs">
|
||||
<DependentUpon>Ajax.master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\AjaxSearch.master.cs">
|
||||
<DependentUpon>AjaxSearch.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1152,13 +1129,6 @@
|
||||
<Compile Include="WebMasterPages\AjaxSearch.master.designer.cs">
|
||||
<DependentUpon>AjaxSearch.master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\AjaxSimple.master.cs">
|
||||
<DependentUpon>AjaxSimple.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\AjaxSimple.master.designer.cs">
|
||||
<DependentUpon>AjaxSimple.master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\AjaxSimpleFull.Master.cs">
|
||||
<DependentUpon>AjaxSimpleFull.Master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -2207,9 +2177,7 @@
|
||||
<Content Include="SearchMag.aspx" />
|
||||
<Content Include="StatoMag.aspx" />
|
||||
<Content Include="vocabolario.aspx" />
|
||||
<Content Include="WebMasterPages\Ajax.master" />
|
||||
<Content Include="WebMasterPages\AjaxSearch.master" />
|
||||
<Content Include="WebMasterPages\AjaxSimple.master" />
|
||||
<Content Include="WebMasterPages\AjaxTitle.master" />
|
||||
<Content Include="WebUserControls\mod_anagBlocchi.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagCelle.ascx" />
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="GMW.Site_Mobile" %>
|
||||
<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title></title>
|
||||
<asp:ContentPlaceHolder runat="server" ID="HeadContent" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>Mobile Master Page</h1>
|
||||
<asp:ContentPlaceHolder runat="server" ID="FeaturedContent" />
|
||||
<section class="content-wrapper main-content clear-fix">
|
||||
<asp:ContentPlaceHolder runat="server" ID="MainContent" />
|
||||
</section>
|
||||
<friendlyUrls:ViewSwitcher runat="server" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
public partial class Site_Mobile : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-51
@@ -1,51 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW {
|
||||
|
||||
|
||||
public partial class Site_Mobile {
|
||||
|
||||
/// <summary>
|
||||
/// HeadContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// FeaturedContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent;
|
||||
|
||||
/// <summary>
|
||||
/// MainContent control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewSwitcher.ascx.cs" Inherits="GMW.ViewSwitcher" %>
|
||||
<div id="viewSwitcher">
|
||||
<%: CurrentView %> view | <a href="<%: SwitchUrl %>" data-ajax="false">Switch to <%: AlternateView %></a>
|
||||
</div>
|
||||
@@ -1,43 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Microsoft.AspNet.FriendlyUrls.Resolvers;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
public partial class ViewSwitcher : System.Web.UI.UserControl
|
||||
{
|
||||
protected string CurrentView { get; private set; }
|
||||
|
||||
protected string AlternateView { get; private set; }
|
||||
|
||||
protected string SwitchUrl { get; private set; }
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// Determine current view
|
||||
var isMobile = WebFormsFriendlyUrlResolver.IsMobileView(new HttpContextWrapper(Context));
|
||||
CurrentView = isMobile ? "Mobile" : "Desktop";
|
||||
|
||||
// Determine alternate view
|
||||
AlternateView = isMobile ? "Desktop" : "Mobile";
|
||||
|
||||
// Create switch URL from the route, e.g. ~/__FriendlyUrls_SwitchView/Mobile?ReturnUrl=/Page
|
||||
var switchViewRouteName = "AspNet.FriendlyUrls.SwitchView";
|
||||
var switchViewRoute = RouteTable.Routes[switchViewRouteName];
|
||||
if (switchViewRoute == null)
|
||||
{
|
||||
// Friendly URLs is not enabled or the name of the switch view route is out of sync
|
||||
this.Visible = false;
|
||||
return;
|
||||
}
|
||||
var url = GetRouteUrl(switchViewRouteName, new { view = AlternateView, __FriendlyUrls_SwitchViews = true });
|
||||
url += "?ReturnUrl=" + HttpUtility.UrlEncode(Request.RawUrl);
|
||||
SwitchUrl = url;
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-15
@@ -1,15 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW {
|
||||
|
||||
|
||||
public partial class ViewSwitcher {
|
||||
}
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
<%@ Master Language="C#" AutoEventWireup="True" Inherits="Ajax" CodeBehind="Ajax.master.cs" %>
|
||||
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom"
|
||||
TagPrefix="uc5" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head id="Head1" runat="server">
|
||||
<title></title>
|
||||
<link href="~/Style.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="icon" href="images/favicon.png" type="image/png" />
|
||||
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
|
||||
</head>
|
||||
<body class="body">
|
||||
<form id="form1" runat="server">
|
||||
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
|
||||
EnableScriptLocalization="true">
|
||||
</asp:ScriptManager>
|
||||
<div class="fullscreen">
|
||||
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="topMenu" colspan="2">
|
||||
<div>
|
||||
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||
<ContentTemplate>
|
||||
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="menuSx">
|
||||
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
|
||||
<ContentTemplate>
|
||||
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</td>
|
||||
<td class="bodyMain">
|
||||
<div style="width: 100%; background: White; text-align: center; height: 100%;">
|
||||
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||
<ContentTemplate>
|
||||
<div class="boxShadowDark">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="bottomWrite">
|
||||
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,55 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
public partial class Ajax : System.Web.UI.MasterPage
|
||||
{
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
|
||||
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
|
||||
}
|
||||
|
||||
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
|
||||
{
|
||||
// chiamo update del menu sx...
|
||||
Mod_menuSx1.forzaUpdateMenu();
|
||||
}
|
||||
|
||||
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
|
||||
{
|
||||
// cambio stato visualizzaizone menù laterale...
|
||||
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
|
||||
}
|
||||
|
||||
protected override void OnUnload(EventArgs e)
|
||||
{
|
||||
base.OnUnload(e);
|
||||
// svuoto tutti gli event handler inseriti...
|
||||
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
|
||||
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
|
||||
}
|
||||
/// <summary>
|
||||
/// determina visibilità menù sx...
|
||||
/// </summary>
|
||||
public bool sxMenuVisible
|
||||
{
|
||||
get
|
||||
{
|
||||
return Mod_menuSx1.Visible;
|
||||
}
|
||||
set
|
||||
{
|
||||
Mod_menuSx1.Visible = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
-103
@@ -1,103 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class Ajax {
|
||||
|
||||
/// <summary>
|
||||
/// Head1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// sm control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager sm;
|
||||
|
||||
/// <summary>
|
||||
/// UpdatePanel1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
|
||||
|
||||
/// <summary>
|
||||
/// Mod_menuTop1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_menuTop Mod_menuTop1;
|
||||
|
||||
/// <summary>
|
||||
/// UpdatePanel2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
|
||||
|
||||
/// <summary>
|
||||
/// Mod_menuSx1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_menuSx Mod_menuSx1;
|
||||
|
||||
/// <summary>
|
||||
/// updPanelPagina control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPanelPagina;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPlaceHolder1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// Mod_menuBottom1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_menuBottom Mod_menuBottom1;
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
<%@ Master Language="C#" AutoEventWireup="True" Inherits="AjaxSimple" CodeBehind="AjaxSimple.master.cs" %>
|
||||
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom"
|
||||
TagPrefix="uc1" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title>Simplepage</title>
|
||||
<link href="../Style.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="icon" href="images/favicon.png" type="image/png" />
|
||||
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
|
||||
</head>
|
||||
<body class="body">
|
||||
<form id="form1" runat="server">
|
||||
<asp:ScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering="true"
|
||||
EnableScriptGlobalization="true" EnableScriptLocalization="true">
|
||||
</asp:ScriptManager>
|
||||
<div class="fullscreen">
|
||||
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="bodyMain">
|
||||
<div>
|
||||
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bottomWrite">
|
||||
<uc1:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using SteamWare;
|
||||
|
||||
public partial class AjaxSimple : System.Web.UI.MasterPage
|
||||
{
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
}
|
||||
-49
@@ -1,49 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class AjaxSimple {
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolkitScriptManager1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.ScriptManager ToolkitScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPlaceHolder1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// Mod_menuBottom1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_menuBottom Mod_menuBottom1;
|
||||
}
|
||||
@@ -1,12 +1,9 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_login" Codebehind="mod_login.ascx.cs" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_login" CodeBehind="mod_login.ascx.cs" %>
|
||||
<asp:Panel ID="pnlForceUser" runat="server">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td colspan="2" class="chPwdTitle">
|
||||
<asp:Label runat="server" ID="lblTitolo" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1>
|
||||
<asp:Label runat="server" ID="lblTitolo" />
|
||||
</h1>
|
||||
|
||||
<table class="smallTable">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
+1
-2
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_unauthorized" Codebehind="mod_unauthorized.ascx.cs" %>
|
||||
<table id="Table7" cellspacing="1" cellpadding="1" width="100%" border="0">
|
||||
<tr>
|
||||
<td class="UnauthAppTitle">
|
||||
<asp:Label runat="server" ID="lblTitleMain" Text="Gruppo MM" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label id="lblTitle" CssClass="UnauthTitle" runat="server" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label id="lblMess" CssClass="UnauthMess" runat="server" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_unauthorized" CodeBehind="mod_unauthorized.ascx.cs" %>
|
||||
|
||||
<div style="font-size: 1.5em; text-align: center; margin: auto; background-color: black; color: white; width: 100%; height:100%; min-height: 400px; margin: 0; padding: 0;">
|
||||
<h1>
|
||||
<asp:Label runat="server" ID="lblTitleMain" Text="Gruppo MM" /></h1>
|
||||
<div style="background-color: yellow; color: red; padding: 1em 0; width: 100%; line-height: 2em;">
|
||||
<asp:Label ID="lblTitle" CssClass="UnauthTitle" runat="server" />
|
||||
</div>
|
||||
<div style="background-color: lightgray; color: black; padding: 2em 0; width: 100%; line-height: 2em;">
|
||||
<asp:Label ID="lblMess" CssClass="UnauthMess" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-2
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Binary file not shown.
+7
-5
@@ -1,9 +1,11 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true"
|
||||
Inherits="forceUser" Title="ForceUser" Codebehind="forceUser.aspx.cs" %>
|
||||
<%@ Page Language="C#" MasterPageFile="~/Empty.master" AutoEventWireup="true"
|
||||
Inherits="forceUser" Title="ForceUser" CodeBehind="forceUser.aspx.cs" %>
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_login.ascx" TagName="mod_login" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
|
||||
<div class="centerAll">
|
||||
<uc1:mod_login ID="Mod_login1" runat="server" />
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="Server">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_login ID="Mod_login1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
Generated
+1
-2
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" Inherits="unauthorized" Title="Untitled Page" Codebehind="unauthorized.aspx.cs" %>
|
||||
<%@ Page Language="C#" MasterPageFile="~/Empty.master" AutoEventWireup="true" Inherits="unauthorized" Title="Untitled Page" Codebehind="unauthorized.aspx.cs" %>
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_unauthorized.ascx" TagName="mod_unauthorized" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
|
||||
<uc1:mod_unauthorized id="Mod_unauthorized1" runat="server">
|
||||
</uc1:mod_unauthorized>
|
||||
|
||||
|
||||
Generated
+1
-2
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user