pulizia ed installer x ETS

This commit is contained in:
Samuele Locatelli
2013-06-05 10:46:40 +02:00
parent c4d62f4a4f
commit c4bf045d38
21 changed files with 11 additions and 263 deletions
Binary file not shown.
Binary file not shown.
-34
View File
@@ -1,34 +0,0 @@
<%@ Page Title="About" Language="C#" MasterPageFile="~/WebMasterPages/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="PROJ_ETS.About" %>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<hgroup class="title">
<h1><%: Title %>.</h1>
<h2>Your app description page.</h2>
</hgroup>
<article>
<p>
Use this area to provide additional information.
</p>
<p>
Use this area to provide additional information.
</p>
<p>
Use this area to provide additional information.
</p>
</article>
<aside>
<h3>Aside Title</h3>
<p>
Use this area to provide additional information.
</p>
<ul>
<li><a runat="server" href="~/">Home</a></li>
<li><a runat="server" href="~/About.aspx">About</a></li>
<li><a runat="server" href="~/Contact.aspx">Contact</a></li>
</ul>
</aside>
</asp:Content>
-17
View File
@@ -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 PROJ_ETS
{
public partial class About : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
-17
View File
@@ -1,17 +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 PROJ_ETS
{
public partial class About
{
}
}
@@ -10,6 +10,7 @@ namespace PROJ_ETS
{
public static void RegisterRoutes(RouteCollection routes)
{
// tolto x problemi compatibilità Chrome/Firefox (va solo con explorer...)
routes.EnableFriendlyUrls();
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace PROJ_ETS
string pagina = utils.obj.StringSessionObj("nextPage");
if (pagina == "")
{
pagina = "menu";
pagina = "Menu";
}
return pagina;
}
-24
View File
@@ -110,7 +110,6 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Content Include="About.aspx" />
<Content Include="Admin.aspx" />
<Content Include="App_Readme\Elmah.txt" />
<Content Include="Bazaar.aspx" />
@@ -345,7 +344,6 @@
<Content Include="Default.aspx" />
<Content Include="favicon.ico" />
<Content Include="Global.asax" />
<Content Include="ViewSwitcher.ascx" />
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
@@ -361,13 +359,6 @@
<DependentUpon>Admin.aspx</DependentUpon>
</Compile>
<Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="About.aspx.cs">
<DependentUpon>About.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="About.aspx.designer.cs">
<DependentUpon>About.aspx</DependentUpon>
</Compile>
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Bazaar.aspx.cs">
<DependentUpon>Bazaar.aspx</DependentUpon>
@@ -496,20 +487,6 @@
<Compile Include="WebMasterPages\Site.Master.designer.cs">
<DependentUpon>Site.Master</DependentUpon>
</Compile>
<Compile Include="WebMasterPages\Site.Mobile.Master.cs">
<DependentUpon>Site.Mobile.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebMasterPages\Site.Mobile.Master.designer.cs">
<DependentUpon>Site.Mobile.Master</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="WebUserControls\mod_autocomplete.ascx.cs">
<DependentUpon>mod_autocomplete.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -652,7 +629,6 @@
</ItemGroup>
<ItemGroup>
<Content Include="Scripts\jquery-2.0.0.min.map" />
<Content Include="WebMasterPages\Site.Mobile.Master" />
<Content Include="Progetti.sitemap">
<SubType>Designer</SubType>
</Content>
+1 -1
View File
@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>Win2008R2_Sviluppo %28.26%29</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>ETS</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
-4
View File
@@ -1,4 +0,0 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewSwitcher.ascx.cs" Inherits="PROJ_ETS.ViewSwitcher" %>
<div id="viewSwitcher">
<%: CurrentView %> view | <a href="<%: SwitchUrl %>">Switch to <%: AlternateView %></a>
</div>
-43
View File
@@ -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 PROJ_ETS
{
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 swith view route is out of sync
this.Visible = false;
return;
}
var url = GetRouteUrl(switchViewRouteName, new { view = AlternateView });
url += "?ReturnUrl=" + HttpUtility.UrlEncode(Request.RawUrl);
SwitchUrl = url;
}
}
}
-15
View File
@@ -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 PROJ_ETS {
public partial class ViewSwitcher {
}
}
+2 -2
View File
@@ -26,7 +26,7 @@
<add key="appName" value="PROJ-ETS"/>
<add key="SiteName" value="ETS"/>
<add key="mainRev" value="0.6"/>
<add key="minRev" value="163"/>
<add key="minRev" value="165"/>
<add key="stdEmail" value="info@steamware.net"/>
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx"/>
<!--area gestione auth cookie-->
@@ -65,7 +65,7 @@
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
</controls>
</pages>
<authentication mode="Forms">
<authentication mode="Windows">
<forms loginUrl="~/Menu" timeout="2880"/>
</authentication>
<profile defaultProvider="DefaultProfileProvider">
@@ -1,23 +0,0 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="PROJ_ETS.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 PROJ_ETS
{
public partial class Site_Mobile : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -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 PROJ_ETS {
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;
}
}
@@ -10,13 +10,13 @@
PostBackUrl="~/Progetti" />
</div>
<div style="float: left; margin: auto; border: 1px solid #666666; width: 268px; background: #FDFDFD; margin-left: 8px;" class="ui-corner-all shadowBox">
<asp:ImageButton runat="server" ID="btnBazaar" ImageUrl="~/Images/Bazaar.png" ToolTip="Area BAzaar settimanale" PostBackUrl="~/Bazaar" />
<asp:ImageButton runat="server" ID="btnBazaar" ImageUrl="~/Images/Bazaar.png" ToolTip="Area Bazaar settimanale" PostBackUrl="~/Bazaar" />
</div>
<div style="float: right; border: 1px solid #666666; width: 268px; background: #FDFDFD;" class="ui-corner-all shadowBox">
<asp:HyperLink ID="hlHelp" runat="server" Target="_blank" NavigateUrl="~/HelpOnLine/index.html" ToolTip="Istruzioni" ImageUrl="~/Images/Help.png" />
</div>
<div style="float: right; border: 1px solid #666666; width: 268px; background: #FDFDFD; margin-right: 8px;" class="ui-corner-all shadowBox">
<asp:ImageButton runat="server" ID="btnAdmin" ImageUrl="~/Images/AdminArea.png" ToolTip="Area Amministrativa" PostBackUrl="~/Admin.aspx" />
<asp:ImageButton runat="server" ID="btnAdmin" ImageUrl="~/Images/AdminArea.png" ToolTip="Area Amministrativa" PostBackUrl="~/Admin" />
</div>
</div>
<div class="clearDiv"></div>
@@ -4,24 +4,16 @@
<asp:HyperLink runat="server" ID="hlDatiCom" NavigateUrl="~/DatiCommessa">
<asp:Label runat="server" ID="lblDatiCom" Text="Dettaglio commessa" AssociatedControlID="imgDatiCom" />
<asp:Image ID="imgDatiCom" runat="server" ImageUrl="~/Images/DettaglioCommessa.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Dettaglio commessa" />
</asp:HyperLink>
</div>
<div class="divSx" style="padding: 2px;">
</asp:HyperLink></div><div class="divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlFasi" NavigateUrl="~/FasiCommessa">
<asp:Label runat="server" ID="lblFasi" Text="Fasi commessa" AssociatedControlID="imgFasi" />
<asp:Image ID="imgFasi" runat="server" ImageUrl="~/Images/fasi.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Fasi commessa" />
</asp:HyperLink>
</div>
<div class="clearDiv divSx" style="padding: 2px;">
</asp:HyperLink></div><div class="clearDiv divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlIntegrazioni" NavigateUrl="~/IntegrazioniCommessa">
<asp:Label runat="server" ID="lblInteg" Text="Integrazioni commessa" AssociatedControlID="imgIntegr" />
<asp:Image ID="imgIntegr" runat="server" ImageUrl="~/Images/integrazioni.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Integrazioni commessa" />
</asp:HyperLink>
</div>
<div class="divSx" style="padding: 2px;">
</asp:HyperLink></div><div class="divSx" style="padding: 2px;">
<asp:HyperLink runat="server" ID="hlFornitori" NavigateUrl="~/FornitoriCommessa">
<asp:Label runat="server" ID="lblForn" Text="Fornitori commessa" AssociatedControlID="imgForn" />
<asp:Image ID="imgForn" runat="server" ImageUrl="~/Images/fornitori.png" CssClass="ui-corner-all shadowBox bordoGrigio" ToolTip="Fornitori commessa" />
</asp:HyperLink>
</div>
</div>
</asp:HyperLink></div></div>
Binary file not shown.
Binary file not shown.
Binary file not shown.