Merge branch 'develop' of keyhammer.ath.cx:C2P into develop
@@ -30,6 +30,8 @@ Thumbs.db
|
||||
#--------------------------------------------
|
||||
C2P/bin/*.pdb
|
||||
/C2P/bin/*.pdb
|
||||
C2P/bin/*.dll
|
||||
/C2P/bin/*.dll
|
||||
/C2P/obj/Release
|
||||
/C2P/obj/Debug
|
||||
/C2P/obj/Release/*
|
||||
@@ -78,4 +80,4 @@ C2P_Project/C2P_Project.dbmdl
|
||||
*.pdb
|
||||
*.pdb
|
||||
C2P/bin/C2P_Data.pdb
|
||||
C2P/bin/C2P_Data.pdb
|
||||
C2P/bin/C2P_Data.pdb
|
||||
|
||||
@@ -232,6 +232,20 @@
|
||||
<Content Include="Images\Report2.png" />
|
||||
<Content Include="Images\ReportFolders.png" />
|
||||
<Content Include="Images\Report.png" />
|
||||
<Content Include="Images\scratch\10-stdCost.jpg" />
|
||||
<Content Include="Images\scratch\11-MarginReport.jpg" />
|
||||
<Content Include="Images\scratch\12-whatIf.jpg" />
|
||||
<Content Include="Images\scratch\13-WhatIfHypercube.jpg" />
|
||||
<Content Include="Images\scratch\14-Settings.jpg" />
|
||||
<Content Include="Images\scratch\02-Menu.jpg" />
|
||||
<Content Include="Images\scratch\03-NuovaOffertaAlt.jpg" />
|
||||
<Content Include="Images\scratch\04-Errore.jpg" />
|
||||
<Content Include="Images\scratch\05-NuovaSimAlt.jpg" />
|
||||
<Content Include="Images\scratch\06-NuovaOfferta.jpg" />
|
||||
<Content Include="Images\scratch\07-NuovaSim.jpg" />
|
||||
<Content Include="Images\scratch\01-HomePage.jpg" />
|
||||
<Content Include="Images\scratch\08-ArchivioOfferte.jpg" />
|
||||
<Content Include="Images\scratch\09-Reports.jpg" />
|
||||
<Content Include="Images\Simulation.png" />
|
||||
<Content Include="Images\Simulation2.png" />
|
||||
<Content Include="Images\tiny_grid.png" />
|
||||
@@ -259,11 +273,16 @@
|
||||
<Content Include="fonts\OpenSans_600.woff" />
|
||||
<Content Include="fonts\OpenSans_italic_400.woff" />
|
||||
<Content Include="fonts\OpenSans_italic_600.woff" />
|
||||
<Content Include="Settings.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="UpdateVoc.aspx" />
|
||||
<Content Include="Vocabolario.aspx" />
|
||||
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\mod_testata.ascx" />
|
||||
<Content Include="JumboPage.master" />
|
||||
<Content Include="FullPage.master" />
|
||||
<Content Include="WebUserControls\mod_vocabolario.ascx" />
|
||||
<Content Include="WhatIf.aspx" />
|
||||
<None Include="Properties\PublishProfiles\218.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\RemoteZip.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\WinLab.pubxml" />
|
||||
@@ -387,6 +406,13 @@
|
||||
<DependentUpon>WS_data.asmx</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Settings.aspx.cs">
|
||||
<DependentUpon>Settings.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Settings.aspx.designer.cs">
|
||||
<DependentUpon>Settings.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Simulation.aspx.cs">
|
||||
<DependentUpon>Simulation.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -415,6 +441,13 @@
|
||||
<Compile Include="ViewSwitcher.ascx.designer.cs">
|
||||
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Vocabolario.aspx.cs">
|
||||
<DependentUpon>Vocabolario.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Vocabolario.aspx.designer.cs">
|
||||
<DependentUpon>Vocabolario.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_autocomplete.ascx.cs">
|
||||
<DependentUpon>mod_autocomplete.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -422,6 +455,13 @@
|
||||
<Compile Include="WebUserControls\mod_autocomplete.ascx.designer.cs">
|
||||
<DependentUpon>mod_autocomplete.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.designer.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_newQuote.ascx.cs">
|
||||
<DependentUpon>mod_newQuote.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -450,6 +490,20 @@
|
||||
<Compile Include="WebUserControls\mod_testata.ascx.designer.cs">
|
||||
<DependentUpon>mod_testata.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_vocabolario.ascx.cs">
|
||||
<DependentUpon>mod_vocabolario.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_vocabolario.ascx.designer.cs">
|
||||
<DependentUpon>mod_vocabolario.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WhatIf.aspx.cs">
|
||||
<DependentUpon>WhatIf.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WhatIf.aspx.designer.cs">
|
||||
<DependentUpon>WhatIf.aspx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Account\" />
|
||||
|
||||
@@ -16,6 +16,28 @@
|
||||
</asp:Content>
|
||||
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
|
||||
<div class="container marketing">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Grafica e navigazione: HOME (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/317" Target="_blank"><img src="Images/scratch/01-HomePage.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Menu (click x dettaglio) </h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/317" Target="_blank"><img src="Images/scratch/02-Menu.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-sm-4 col-4 col-lg-3">
|
||||
<div class="panel panel-default">
|
||||
|
||||
@@ -12,6 +12,24 @@ namespace C2P {
|
||||
|
||||
public partial class _Default {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
|
||||
/// <summary>
|
||||
/// hlQuote control.
|
||||
/// </summary>
|
||||
|
||||
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 47 KiB |
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("0.6.37.0")]
|
||||
[assembly: AssemblyFileVersion("0.6.37.0")]
|
||||
[assembly: AssemblyVersion("0.6.38.0")]
|
||||
[assembly: AssemblyFileVersion("0.6.38.0")]
|
||||
|
||||
@@ -9,6 +9,38 @@
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Nuova offerta (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/318" Target="_blank"><img src="Images/scratch/06-NuovaOfferta.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Alternativa meno preferita (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/318" Target="_blank"><img src="Images/scratch/03-NuovaOffertaAlt.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Archivio Offerte (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/321" Target="_blank"><img src="Images/scratch/08-ArchivioOfferte.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<uc1:mod_newQuote ID="mod_newQuote1" runat="server" />
|
||||
<uc2:mod_QuoteList ID="mod_QuoteList1" runat="server" />
|
||||
<br />
|
||||
|
||||
@@ -12,6 +12,33 @@ namespace C2P {
|
||||
|
||||
public partial class Quote {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink3 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.HyperLink HyperLink3;
|
||||
|
||||
/// <summary>
|
||||
/// mod_newQuote1 control.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,9 +1,44 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.Master" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="C2P.Report" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Reports (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/322" Target="_blank"><img src="Images/scratch/09-Reports.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Nuova simulazione alternativa (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/319" Target="_blank"><img src="Images/scratch/05-NuovaSimAlt.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Errore (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/320" Target="_blank"><img src="Images/scratch/04-Errore.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" /></p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" />
|
||||
</p>
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,15 +3,22 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
|
||||
|
||||
public partial class Report
|
||||
{
|
||||
namespace C2P {
|
||||
|
||||
|
||||
public partial class Report {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="Settings.aspx.cs" Inherits="C2P.Settings" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Settings (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/327" Target="_blank"><img src="Images/scratch/14-Settings.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Costi standard (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/323" Target="_blank"><img src="Images/scratch/10-stdCost.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Errore (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/320" Target="_blank"><img src="Images/scratch/04-Errore.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" />
|
||||
</p>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class Settings : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P {
|
||||
|
||||
|
||||
public partial class Settings {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,43 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.Master" AutoEventWireup="true" CodeBehind="Simulation.aspx.cs" Inherits="C2P.Simulation" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Nuova simulazione (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/319" Target="_blank"><img src="Images/scratch/07-NuovaSim.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Nuova simulazione alternativa (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/319" Target="_blank"><img src="Images/scratch/05-NuovaSimAlt.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Errore (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/320" Target="_blank"><img src="Images/scratch/04-Errore.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" /></p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" />
|
||||
</p>
|
||||
</asp:Content>
|
||||
|
||||
@@ -3,15 +3,40 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
|
||||
|
||||
public partial class Simulation
|
||||
{
|
||||
namespace C2P {
|
||||
|
||||
|
||||
public partial class Simulation {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink3 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.HyperLink HyperLink3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="Vocabolario.aspx.cs" Inherits="C2P.Vocabolario" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagPrefix="uc1" TagName="mod_lemmiVocab" %>
|
||||
<%@ Register src="WebUserControls/mod_vocabolario.ascx" tagname="mod_vocabolario" tagprefix="uc2" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
<%--<uc1:mod_lemmiVocab runat="server" ID="mod_lemmiVocab" />--%>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<%--<uc2:mod_vocabolario ID="mod_vocabolario1" runat="server" />--%>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class Vocabolario : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P {
|
||||
|
||||
|
||||
public partial class Vocabolario {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="C2P.WebUserControls.mod_lemmiVocab" Codebehind="mod_lemmiVocab.ascx.cs" %>
|
||||
<table class="txtMini">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
|
||||
DataKeyNames="Lingua,Lemma" DataSourceID="ods" OnDataBound="grView_DataBound" >
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Lingua" SortExpression="Lingua">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="TextBox0" runat="server" Text='<%# Eval("Lingua") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Bind("Lingua") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Lemma" SortExpression="Lemma" Visible="false">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="TextBox2" runat="server" Text='<%# Eval("Lemma") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Lemma") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Traduzione" SortExpression="Traduzione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Traduzione") %>' Width="500px"
|
||||
TextMode="MultiLine"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Traduzione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getVocabolario" TypeName="GMW_data.selDataVoc"
|
||||
OldValuesParameterFormatString="original_{0}"
|
||||
FilterExpression="Lemma LIKE '%{0}%'">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="lemma_sel" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,72 @@
|
||||
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;
|
||||
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_lemmiVocab : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(object lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma.ToString());
|
||||
}
|
||||
|
||||
#region protected
|
||||
|
||||
//protected override void aggiornaControlliDataGL()
|
||||
//{
|
||||
// base.aggiornaControlliDataGL();
|
||||
// grView.PageSize = _righeDataGridAnagr;
|
||||
//}
|
||||
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
|
||||
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblNumRec.Text = "";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiorna i dati mostrati
|
||||
/// </summary>
|
||||
public void doUpdate()
|
||||
{
|
||||
ods.DataBind();
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_lemmiVocab {
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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.Label lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
<li class='<%: liClass("default") %>'>
|
||||
<a class="navbar-brand" id="A1" runat="server" href="~/">
|
||||
<i class="fa fa-home fa-lg"></i>
|
||||
<span style="font-weight: 600;">C2P - <sub>13</sub>Al
|
||||
<span style="font-weight: 600;">C2P<sub>line</sub>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -61,6 +61,8 @@
|
||||
<li class='<%: liClass("Quote") %>'><a id="A2" runat="server" class="navbar-brand" href="~/Quote">Quotes</a></li>
|
||||
<li class='<%: liClass("Simulation") %>'><a id="A3" runat="server" class="navbar-brand" href="~/Simulation">Simulation</a></li>
|
||||
<li class='<%: liClass("Report") %>'><a id="A4" runat="server" class="navbar-brand" href="~/Report">Report</a></li>
|
||||
<li class='<%: liClass("WhatIf") %>'><a id="A7" runat="server" class="navbar-brand" href="~/WhatIf">WhatIf</a></li>
|
||||
<li class='<%: liClass("Settings") %>'><a id="A8" runat="server" class="navbar-brand" href="~/Settings">Settings</a></li>
|
||||
<li class='<%: liClass("Help") %>'><a id="A5" runat="server" class="navbar-brand" href="~/help/IT">Help</a></li>
|
||||
<li class="dropdown">
|
||||
<a id="A6" href="javscript:;" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@@ -71,6 +73,7 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="javascript:;">My Profile</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="Vocabolario">Gestione Voc</a></li>
|
||||
<li><a href="UpdateVoc">Update Voc</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -66,6 +66,24 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlAnchor A4;
|
||||
|
||||
/// <summary>
|
||||
/// A7 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.HtmlAnchor A7;
|
||||
|
||||
/// <summary>
|
||||
/// A8 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.HtmlAnchor A8;
|
||||
|
||||
/// <summary>
|
||||
/// A5 control.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" Inherits="C2P.WebUserControls.mod_vocabolario" CodeBehind="mod_vocabolario.ascx.cs" %>
|
||||
|
||||
<table class="txtMini">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
|
||||
DataKeyNames="Lingua,Lemma" DataSourceID="ods" OnDataBound="grView_DataBound"
|
||||
OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowEditing="grView_RowEditing">
|
||||
<FooterStyle CssClass="ctrFooter"></FooterStyle>
|
||||
<RowStyle CssClass="ctrRowStyle"></RowStyle>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
|
||||
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
|
||||
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
|
||||
</EditItemTemplate>
|
||||
<HeaderTemplate>
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
||||
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
|
||||
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
|
||||
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Lingua" SortExpression="Lingua">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="TextBox0" runat="server" Text='<%# Eval("Lingua") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Bind("Lingua") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Lemma" SortExpression="Lemma">
|
||||
<EditItemTemplate>
|
||||
<asp:Label ID="TextBox2" runat="server" Text='<%# Eval("Lemma") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Lemma") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Traduzione" SortExpression="Traduzione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Traduzione") %>' Width="500px"
|
||||
TextMode="MultiLine" Height="8em"></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Traduzione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
|
||||
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
|
||||
<%--<asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
|
||||
TargetControlID="imgDelete">
|
||||
</asp:ConfirmButtonExtender>--%>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<PagerStyle HorizontalAlign="Center" CssClass="ctrHeaderPager" ForeColor="White"></PagerStyle>
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle"></SelectedRowStyle>
|
||||
<HeaderStyle CssClass="ctrHeaderPager" Font-Bold="True" ForeColor="White"></HeaderStyle>
|
||||
<EditRowStyle CssClass="ctrEditRowStyle"></EditRowStyle>
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle"></AlternatingRowStyle>
|
||||
</asp:GridView>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getVocabolario" TypeName="GMW_data.selDataVoc"
|
||||
UpdateMethod="updateLemmaVoc" DeleteMethod="deleteLemmaVoc" OldValuesParameterFormatString="Original_{0}"
|
||||
FilterExpression="Traduzione LIKE '%{0}%' OR Lemma LIKE '%{0}%' "
|
||||
OnUpdated="ods_Updated">
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Traduzione" Type="String" />
|
||||
<asp:Parameter Name="Original_Lingua" Type="String" />
|
||||
<asp:Parameter Name="Original_Lemma" Type="String" />
|
||||
</UpdateParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Lingua" Type="String" />
|
||||
<asp:Parameter Name="Original_Lemma" Type="String" />
|
||||
</DeleteParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Button ID="btnNewLemma" runat="server" OnClick="btnNewLemma_Click" />
|
||||
<asp:TextBox ID="txtNewLemma" runat="server" />
|
||||
<%--<asp:TextBoxWatermarkExtender ID="TBW_newLemma" runat="server" TargetControlID="txtNewLemma" WatermarkCssClass="watermark">
|
||||
</asp:TextBoxWatermarkExtender>--%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,170 @@
|
||||
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;
|
||||
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_vocabolario : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
#region gestione eventi
|
||||
|
||||
public event EventHandler eh_selezioneValore;
|
||||
public event EventHandler eh_resetSelezione;
|
||||
|
||||
#endregion
|
||||
|
||||
#region protected
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
traduciObj();
|
||||
}
|
||||
aggiornaControlliDataGL();
|
||||
}
|
||||
|
||||
protected void traduciObj()
|
||||
{
|
||||
btnNewLemma.Text = user_std.UtSn.Traduci("btnNewLemma");
|
||||
txtNewLemma.Text = "";
|
||||
//TBW_newLemma.WatermarkText = user_std.UtSn.Traduci("insertNewLemma");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// inserisco nel db il nuovo lemma...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNewLemma_Click(object sender, EventArgs e)
|
||||
{
|
||||
creaNuovoLemma();
|
||||
}
|
||||
/// <summary>
|
||||
/// creazione nuovo lemma
|
||||
/// </summary>
|
||||
private void creaNuovoLemma()
|
||||
{
|
||||
if (txtNewLemma.Text != "")
|
||||
{
|
||||
// inserisco
|
||||
DataWrap.DW.creaNuovoLemmaVoc(txtNewLemma.Text.Trim());
|
||||
// metto in campo ricerca...
|
||||
memLayer.ML.setSessionVal("valoreCercato", txtNewLemma.Text.Trim());
|
||||
// svuoto campo text
|
||||
txtNewLemma.Text = "";
|
||||
// aggiorno il vocabolario in memoria...
|
||||
DataWrap.DW.resetVocabolario();
|
||||
// riparto...
|
||||
Response.Redirect("Vocabolario");
|
||||
}
|
||||
}
|
||||
|
||||
protected void aggiornaControlliDataGL()
|
||||
{
|
||||
//base.aggiornaControlliDataGL();
|
||||
//grView.PageSize = _righeDataGridAnagr;
|
||||
ods.DataBind();
|
||||
}
|
||||
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
|
||||
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblNumRec.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
selezionatoValore();
|
||||
}
|
||||
|
||||
private void selezionatoValore()
|
||||
{
|
||||
SteamWare.memLayer.ML.setSessionVal("lemma_sel", grView.SelectedDataKey.Values[1]);
|
||||
if (eh_selezioneValore != null)
|
||||
{
|
||||
eh_selezioneValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
|
||||
{
|
||||
// seleziono la riga corrente...
|
||||
grView.SelectedIndex = e.NewEditIndex;
|
||||
selezionatoValore();
|
||||
}
|
||||
|
||||
protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
|
||||
{
|
||||
selezionatoValore();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region area public
|
||||
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(object lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma.ToString());
|
||||
}
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
SteamWare.memLayer.ML.emptySessionVal("lemma_sel");
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_vocabolario {
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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.Label lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// btnNewLemma 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.Button btnNewLemma;
|
||||
|
||||
/// <summary>
|
||||
/// txtNewLemma 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.TextBox txtNewLemma;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="WhatIf.aspx.cs" Inherits="C2P.WhatIf" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">What if base (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" NavigateUrl="http://redmine.steamware.net/issues/325" Target="_blank"><img src="Images/scratch/12-whatIf.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">What if hypercube (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" NavigateUrl="http://redmine.steamware.net/issues/326" Target="_blank"><img src="Images/scratch/13-WhatIfHypercube.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div class="col-xs-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Errore (click x dettaglio)</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<asp:HyperLink runat="server" ID="HyperLink3" NavigateUrl="http://redmine.steamware.net/issues/320" Target="_blank"><img src="Images/scratch/04-Errore.jpg" class="img-responsive" /></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<p>
|
||||
<img alt="Work In Progress" class="auto-style1" src="Images/WorkInProgress.jpg" />
|
||||
</p>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class WhatIf : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P {
|
||||
|
||||
|
||||
public partial class WhatIf {
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink1 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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
}
|
||||
}
|
||||