Porting pagina UserAdmin a Bootstrap
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="UserAdmin.aspx.cs" Inherits="ScheMe.UserAdmin" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="UserAdmin.aspx.cs" Inherits="ScheMe.UserAdmin" %>
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_enrollByEmail.ascx" TagName="mod_enrollByEmail" TagPrefix="uc2" %>
|
||||
|
||||
@@ -8,17 +8,36 @@
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div id="divUnauth" runat="server">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<div class="row" style="margin-bottom: 0.5em;">
|
||||
<div class="col-xs-12">
|
||||
<h1>Gestione Accesso ScheMe</h1>
|
||||
Attenzione, se non è possibile accedere all'applicazione prego richiedere autorizzazione al responsabile del progetto.
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<i>Attenzione, se non è possibile accedere all'applicazione prego richiedere autorizzazione al responsabile del progetto.</i>
|
||||
<uc4:mod_enrollByAuthKey ID="mod_enrollByAuthKey1" runat="server" />
|
||||
<br />
|
||||
<uc2:mod_enrollByEmail ID="mod_enrollByEmail1" runat="server" />
|
||||
</div>
|
||||
<div id="divAdmin" runat="server" data-role="collapsible" data-iconpos="right" data-mini="true" data-theme="b" data-content-theme="b" data-collapsed="false">
|
||||
<h4>Admin Task</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divAdmin" runat="server">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<div class="row" style="margin-bottom: 0.5em;">
|
||||
<div class="col-xs-12">
|
||||
<b>Admin Task</b>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<uc3:mod_elencoRichResetUtenti ID="mod_elencoRichResetUtenti1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
Generated
+20
-20
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ScheMe {
|
||||
@@ -13,47 +13,47 @@ namespace ScheMe {
|
||||
public partial class UserAdmin {
|
||||
|
||||
/// <summary>
|
||||
/// divUnauth control.
|
||||
/// Controllo divUnauth.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.HtmlControls.HtmlGenericControl divUnauth;
|
||||
|
||||
/// <summary>
|
||||
/// mod_enrollByAuthKey1 control.
|
||||
/// Controllo mod_enrollByAuthKey1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::ScheMe.WebUserControls.mod_enrollByAuthKey mod_enrollByAuthKey1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_enrollByEmail1 control.
|
||||
/// Controllo mod_enrollByEmail1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::ScheMe.WebUserControls.mod_enrollByEmail mod_enrollByEmail1;
|
||||
|
||||
/// <summary>
|
||||
/// divAdmin control.
|
||||
/// Controllo divAdmin.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.HtmlControls.HtmlGenericControl divAdmin;
|
||||
|
||||
/// <summary>
|
||||
/// mod_elencoRichResetUtenti1 control.
|
||||
/// Controllo mod_elencoRichResetUtenti1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::ScheMe.WebUserControls.mod_elencoRichResetUtenti mod_elencoRichResetUtenti1;
|
||||
}
|
||||
|
||||
@@ -1,14 +1,38 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_enrollByAuthKey.ascx.cs"
|
||||
Inherits="ScheMe.WebUserControls.mod_enrollByAuthKey" %>
|
||||
Inherits="ScheMe.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>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item hBlock">
|
||||
<button class="btn btn-default btn-sm" type="button" data-toggle="collapse" data-target="#collapseCD_AKey" aria-expanded="false" aria-controls="collapseCD_AKey">
|
||||
<i class="fa fa-question" aria-hidden="true"></i>
|
||||
</button>
|
||||
<b>Registrazione da Auth Key</b>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-4">
|
||||
<asp:TextBox runat="server" ID="txtEmailAK" CssClass="form-control" placeholder="Prego digitare indirizzo email" />
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-4">
|
||||
<asp:TextBox runat="server" ID="txtAuthKey" CssClass="form-control" placeholder="Prego digitare auth key" TextMode="Password" />
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-4">
|
||||
<asp:Button runat="server" CssClass="btn btn-info form-control" ID="btnEnrollByAK" Text="Abilita Device Personale" OnClick="btnEnrollByAK_Click" />
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:Label runat="server" ID="lblOutRegAuthKey" Text="..." Visible="false" ForeColor="Red" />
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="collapse" id="collapseCD_AKey">
|
||||
<div class="card card-body small">
|
||||
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>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+17
-17
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ScheMe.WebUserControls {
|
||||
@@ -13,38 +13,38 @@ namespace ScheMe.WebUserControls {
|
||||
public partial class mod_enrollByAuthKey {
|
||||
|
||||
/// <summary>
|
||||
/// txtEmailAK control.
|
||||
/// Controllo txtEmailAK.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 txtEmailAK;
|
||||
|
||||
/// <summary>
|
||||
/// txtAuthKey control.
|
||||
/// Controllo txtAuthKey.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 txtAuthKey;
|
||||
|
||||
/// <summary>
|
||||
/// btnEnrollByAK control.
|
||||
/// Controllo btnEnrollByAK.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.Button btnEnrollByAK;
|
||||
|
||||
/// <summary>
|
||||
/// lblOutRegAuthKey control.
|
||||
/// Controllo lblOutRegAuthKey.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 lblOutRegAuthKey;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,35 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_enrollByEmail.ascx.cs"
|
||||
Inherits="ScheMe.WebUserControls.mod_enrollByEmail" %>
|
||||
Inherits="ScheMe.WebUserControls.mod_enrollByEmail" %>
|
||||
|
||||
<div data-role="collapsible" data-iconpos="right" data-mini="true" data-collapsed="false">
|
||||
<h4>Richiesta Reset Chiave Personale</h4>
|
||||
<asp:TextBox runat="server" ID="txtEmailReq" placeholder="Prego digitare indirizzo email" />
|
||||
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus" ID="btnReqNewKey" Text="Richiedi Nuova Chiave Personale" data-theme="a" OnClick="btnReqNewKey_Click" />
|
||||
<asp:Label runat="server" ID="lblOutUnauth" Text="..." Visible="false" ForeColor="Red" />
|
||||
<div data-role="collapsible" data-iconpos="right" data-theme="a" data-content-theme="a">
|
||||
<h3>Spiegazione</h3>
|
||||
Con questa procedura l'utente richiede il reset della propria chiave di autenticazione personale. L'amministratore della piattaforma valuterà e validata la richiesta annullerà le chiavi emesse per i devices eventualmente già autorizzati ed inoltrerà, all'indirizzo email dell'utente, la nuova chiave da utilizzare per abilitare i devices desiderati.
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item hBlock">
|
||||
<button class="btn btn-default btn-sm" type="button" data-toggle="collapse" data-target="#collapseCD_Email" aria-expanded="false" aria-controls="collapseCD_Email">
|
||||
<i class="fa fa-question" aria-hidden="true"></i>
|
||||
</button>
|
||||
<b>Richiesta Reset Chiave Personale</b>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-8">
|
||||
<asp:TextBox runat="server" ID="txtEmailReq" placeholder="Prego digitare indirizzo email" CssClass="form-control" />
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-4">
|
||||
<asp:Button runat="server" CssClass="btn btn-info form-control" ID="btnReqNewKey" Text="Richiedi Chiave Personale" OnClick="btnReqNewKey_Click" />
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:Label runat="server" ID="lblOutUnauth" Text="..." Visible="false" ForeColor="Red" />
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="collapse" id="collapseCD_Email">
|
||||
<div class="card card-body small">
|
||||
Con questa procedura l'utente richiede il reset della propria chiave di autenticazione personale. L'amministratore della piattaforma valuterà e validata la richiesta annullerà le chiavi emesse per i devices eventualmente già autorizzati ed inoltrerà, all'indirizzo email dell'utente, la nuova chiave da utilizzare per abilitare i devices desiderati.
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+14
-14
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ScheMe.WebUserControls {
|
||||
@@ -13,29 +13,29 @@ namespace ScheMe.WebUserControls {
|
||||
public partial class mod_enrollByEmail {
|
||||
|
||||
/// <summary>
|
||||
/// txtEmailReq control.
|
||||
/// Controllo txtEmailReq.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 txtEmailReq;
|
||||
|
||||
/// <summary>
|
||||
/// btnReqNewKey control.
|
||||
/// Controllo btnReqNewKey.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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.Button btnReqNewKey;
|
||||
|
||||
/// <summary>
|
||||
/// lblOutUnauth control.
|
||||
/// Controllo lblOutUnauth.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// 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 lblOutUnauth;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -7,8 +7,8 @@
|
||||
<!--<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>-->
|
||||
<!--VERSIONE SP-->
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<!--<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>-->
|
||||
<!--VERSIONE SP-->
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
|
||||
Reference in New Issue
Block a user