Abbozzato controllo login
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
|
||||
<%@ Register Src="~/WUC/mod_home.ascx" TagPrefix="uc1" TagName="mod_home" %>
|
||||
<%@ Register Src="~/WUC/tmp_WIP.ascx" TagPrefix="uc1" TagName="tmp_WIP" %>
|
||||
<%@ Register Src="~/WUC/mod_userLogin.ascx" TagPrefix="uc1" TagName="mod_userLogin" %>
|
||||
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<uc1:mod_home runat="server" id="mod_home" />
|
||||
<uc1:mod_userLogin runat="server" id="mod_userLogin" />
|
||||
</asp:Content>
|
||||
|
||||
+9
@@ -20,5 +20,14 @@ namespace WebLCP {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::WebLCP.WUC.mod_home mod_home;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_userLogin.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::WebLCP.WUC.mod_userLogin mod_userLogin;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,40 +13,4 @@
|
||||
<a href="http://www.steamware.net" class="btn btn-primary btn-lg" target="_blank">Eventuale altro link al sito progetto »</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<%-- <div class="card">
|
||||
<div class="card-header">About</div>
|
||||
<div class="card-body">
|
||||
<a class="btn btn-block btn-info" href="About">
|
||||
<i class="fa fa-info" aria-hidden="true"></i>Informazioni »</a>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="card">
|
||||
<div class="card-header">Accesso</div>
|
||||
<div class="card-body">
|
||||
Per accedere alla piattaforma è necessario registrarsi tramite un account email valido ed impiegare il link di autorizzazione che riceverete all'indirizzo email
|
||||
<div class="form-group">
|
||||
<label for="txtEmail">Email address:</label>
|
||||
<asp:TextBox runat="server" ID="txtEmail" TextMode="Email" CssClass="form-control" />
|
||||
<hr />
|
||||
<asp:LinkButton runat="server" ID="lbtSendToken" CssClass="btn btn-block btn-info">
|
||||
<i class="fa fa-email" aria-hidden="true"></i> Invia email accesso »</asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtNewUser" CssClass="btn btn-block btn-warning">
|
||||
<i class="fa fa-user" aria-hidden="true"></i> registra nuovo account »</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<%--<div class="card">
|
||||
<div class="card-header">Contact</div>
|
||||
<div class="card-body">
|
||||
<a class="btn btn-block btn-info" href="Contact">
|
||||
<i class="fa fa-info" aria-hidden="true"></i>Contatti »</a>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
-27
@@ -11,32 +11,5 @@ namespace WebLCP.WUC {
|
||||
|
||||
|
||||
public partial class mod_home {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtEmail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtEmail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSendToken.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSendToken;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtNewUser.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtNewUser;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_register.ascx.cs" Inherits="WebLCP.WUC.mod_register" %>
|
||||
@@ -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 WebLCP.WUC
|
||||
{
|
||||
public partial class mod_register : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebLCP.WUC
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_register
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sendToken.ascx.cs" Inherits="WebLCP.WUC.mod_sendToken" %>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4>Recupero Tokena</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Per richiedere l'invio di un token di accesso all'email registrata prego compilare il form seguente:
|
||||
<div class="form-group">
|
||||
<label for="email">Email:</label>
|
||||
<asp:TextBox runat="server" id="txtEmail" TextMode="Email" class="form-control"></asp:TextBox>
|
||||
<asp:LinkButton runat="server" ID="lbtResendToken" CssClass="btn btn-block btn-success" OnClick="lbtResendToken_Click"><i class="fa fa-envelope-o" aria-hidden="true"></i> Invia per email »</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebLCP.WUC
|
||||
{
|
||||
public partial class mod_sendToken : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void lbtResendToken_Click(object sender, EventArgs e)
|
||||
{
|
||||
// verifico email esista !!!FIXME!!!
|
||||
if (true)
|
||||
{
|
||||
lblOut.CssClass = "text-success";
|
||||
lblOut.Text = "Email inviata!";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebLCP.WUC {
|
||||
|
||||
|
||||
public partial class mod_sendToken {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtEmail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtEmail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtResendToken.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtResendToken;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_userLogin.ascx.cs" Inherits="WebLCP.WUC.mod_userLogin" %>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<%-- <div class="card">
|
||||
<div class="card-header">About</div>
|
||||
<div class="card-body">
|
||||
<a class="btn btn-block btn-info" href="About">
|
||||
<i class="fa fa-info" aria-hidden="true"></i>Informazioni »</a>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<div id="accordion">
|
||||
<div class="card">
|
||||
<div class="card-header bg-info">
|
||||
<a class="card-link text-light" data-toggle="collapse" href="#collapseOne">
|
||||
<i class="fa fa-sign-in" aria-hidden="true"></i> Accesso
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseOne" class="collapse" data-parent="#accordion">
|
||||
<div class="card-body">
|
||||
Per accedere alla piattaforma è necessario registrarsi tramite un account email valido ed impiegare il link di autorizzazione che riceverete all'indirizzo email
|
||||
<hr />
|
||||
<div class="form-group">
|
||||
<div class="row align-bottom">
|
||||
<div class="col">
|
||||
<label for="txtEmail">Email address:</label>
|
||||
<asp:TextBox runat="server" ID="txtEmail" TextMode="Email" CssClass="form-control" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<label> </label>
|
||||
<asp:LinkButton runat="server" ID="lbtSendToken" CssClass="btn btn-block btn-info" OnClick="lbtSendToken_Click"><i class="fa fa-email" aria-hidden="true"></i> Invia email accesso »</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" ID="lbtNewUser" CssClass="btn btn-block btn-warning" OnClick="lbtNewUser_Click"><i class="fa fa-user" aria-hidden="true"></i> registra nuovo account »</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<%--<div class="card">
|
||||
<div class="card-header">Contact</div>
|
||||
<div class="card-body">
|
||||
<a class="btn btn-block btn-info" href="Contact">
|
||||
<i class="fa fa-info" aria-hidden="true"></i>Contatti »</a>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebLCP.WUC
|
||||
{
|
||||
public partial class mod_userLogin : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void lbtSendToken_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void lbtNewUser_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebLCP.WUC {
|
||||
|
||||
|
||||
public partial class mod_userLogin {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtEmail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtEmail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSendToken.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSendToken;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtNewUser.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtNewUser;
|
||||
}
|
||||
}
|
||||
@@ -196,6 +196,9 @@
|
||||
<Content Include="WUC\mod_about.ascx" />
|
||||
<Content Include="WUC\mod_contacts.ascx" />
|
||||
<Content Include="WUC\mod_home.ascx" />
|
||||
<Content Include="WUC\mod_register.ascx" />
|
||||
<Content Include="WUC\mod_sendToken.ascx" />
|
||||
<Content Include="WUC\mod_userLogin.ascx" />
|
||||
<Content Include="WUC\tmp_WIP.ascx" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
<Content Include="Site.Master" />
|
||||
@@ -275,6 +278,27 @@
|
||||
<Compile Include="WUC\mod_home.ascx.designer.cs">
|
||||
<DependentUpon>mod_home.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_register.ascx.cs">
|
||||
<DependentUpon>mod_register.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_register.ascx.designer.cs">
|
||||
<DependentUpon>mod_register.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_sendToken.ascx.cs">
|
||||
<DependentUpon>mod_sendToken.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_sendToken.ascx.designer.cs">
|
||||
<DependentUpon>mod_sendToken.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_userLogin.ascx.cs">
|
||||
<DependentUpon>mod_userLogin.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WUC\mod_userLogin.ascx.designer.cs">
|
||||
<DependentUpon>mod_userLogin.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WUC\tmp_WIP.ascx.cs">
|
||||
<DependentUpon>tmp_WIP.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=22']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=28']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '0.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '0.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'LCP'
|
||||
|
||||
Reference in New Issue
Block a user