Fix grafico enroll da email + key
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<h1><%: traduci("UserAdminTitle") %></h1>
|
||||
<%: traduci("UserAdminInstr01") %>
|
||||
<br />
|
||||
<br />
|
||||
<uc4:mod_enrollByAuthKey ID="mod_enrollByAuthKey1" runat="server" />
|
||||
<br />
|
||||
<uc2:mod_enrollByEmail ID="mod_enrollByEmail1" runat="server" />
|
||||
|
||||
@@ -2,13 +2,30 @@
|
||||
Inherits="C2P.WebUserControls.mod_enrollByAuthKey" %>
|
||||
|
||||
<div data-collapsed="false" data-role="collapsible" data-iconpos="right" data-mini="true">
|
||||
<h4>Registrazione da Auth Key</h4>
|
||||
<asp:TextBox runat="server" ID="txtEmailAK" placeholder="Prego digitare indirizzo email" />
|
||||
<asp:TextBox runat="server" ID="txtAuthKey" placeholder="Prego digitare auth key" TextMode="Password" />
|
||||
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus" ID="btnEnrollByAK" Text="Abilita Device Personale" data-theme="a" OnClick="btnEnrollByAK_Click" />
|
||||
<asp:Label runat="server" ID="lblOutRegAuthKey" Text="..." Visible="false" ForeColor="Red" />
|
||||
<div data-role="collapsible" data-iconpos="right" data-theme="a" data-content-theme="a">
|
||||
<h3>Spiegazione</h3>
|
||||
Questa funzione permette di inserire un devices tra quelli gestiti tramite digitazione della AuthKey personale (MD5 o meno se abilitato, da richiedere all'admin se non nota).
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><%: traduci("AuthKeyEnrollTitle") %></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox runat="server" ID="txtEmailAK" Width="100%" placeholder="e-mail" />
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox runat="server" ID="txtAuthKey" Width="100%" placeholder="password" TextMode="Password" />
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:Button runat="server" Width="100%" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus" ID="btnEnrollByAK" Text="Abilita Device Personale" data-theme="a" OnClick="btnEnrollByAK_Click" />
|
||||
</div>
|
||||
<div class="col-xs-12 text-right">
|
||||
<asp:Label runat="server" ID="Label1" Text="..." Visible="false" ForeColor="Red" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:Label runat="server" ID="lblOutRegAuthKey" Text="..." Visible="false" ForeColor="Red" />
|
||||
<div data-role="collapsible" data-iconpos="right" data-theme="a" data-content-theme="a">
|
||||
<h4><%: traduci("AuthKeyEnrollExplTitle") %></h4>
|
||||
<i><%: traduci("AuthKeyEnrollExplInstr01") %></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,21 +39,30 @@ namespace C2P.WebUserControls
|
||||
}
|
||||
else
|
||||
{
|
||||
lblOutRegAuthKey.Text = "Attenzione! auth key NON valida, prego contattare amministratore!";
|
||||
lblOutRegAuthKey.Text = traduci("ErrorEAK01");// "Attenzione! auth key NON valida, prego contattare amministratore!";
|
||||
lblOutRegAuthKey.Visible = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lblOutRegAuthKey.Text = "Attenzione! email non trovata, prego contattare amministratore!";
|
||||
lblOutRegAuthKey.Text = traduci("ErrorEAK02");//"Attenzione! email non trovata, prego contattare amministratore!";
|
||||
lblOutRegAuthKey.Visible = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lblOutRegAuthKey.Text = "Attenzione! preogo inserire email valida!";
|
||||
lblOutRegAuthKey.Text = traduci("ErrorEAK03");//"Attenzione! preogo inserire email valida!";
|
||||
lblOutRegAuthKey.Visible = true;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnEnrollByAK;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 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 Label1;
|
||||
|
||||
/// <summary>
|
||||
/// lblOutRegAuthKey control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user