spostato anagrafiche --> myHome
This commit is contained in:
@@ -1,5 +1,33 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/SitePBO.master" AutoEventWireup="true" CodeBehind="MyHome.aspx.cs" Inherits="PUB.PBO.MyHome" %>
|
||||
|
||||
<%@ Register Src="~/WebUserContols/mod_authError.ascx" TagPrefix="uc1" TagName="mod_authError" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="NoAjaxContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container-fluid my-1 bg-light" runat="server" id="divButtons">
|
||||
<div class="row p-2 text-uppercase">
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="hlAnagAmmin" CssClass="btn btn-outline-info btn-block btn-lg" NavigateUrl="AnagAmmin"><i class="far fa-user fa-4x"></i><h3>Amministratori</h3></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="hlAnagCondomini" CssClass="btn btn-outline-primary btn-block btn-lg" NavigateUrl="AnagCondomini"><i class="fas fa-building fa-4x"></i><h3>Condomini</h3></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="hlSegnalatori" CssClass="btn btn-outline-secondary btn-block btn-lg" NavigateUrl="AnagAree"><i class="fab fa-buromobelexperte fa-4x"></i><h3>Aree Intervento</h3></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="hlUtenti" CssClass="btn btn-outline-dark btn-block btn-lg" NavigateUrl="AnagFornitori"><i class="fas fa-industry fa-4x"></i><h3>Fornitori</h3></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="HyperLink1" CssClass="btn btn-outline-danger btn-block btn-lg" NavigateUrl="AnagUtenti"><i class="fas fa-users fa-4x"></i><h3>Utenti</h3></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-sm-6 my-2">
|
||||
<asp:HyperLink runat="server" ID="hlForn2Cond" CssClass="btn btn-outline-warning btn-block btn-lg" NavigateUrl="AnagCond2Forn"><i class="fas fa-building fa-4x"></i> + <i class="fas fa-industry fa-4x"></i><h3>Condomini - Fornitori</h3></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid my-1 bg-light" runat="server" id="divAuthError">
|
||||
<uc1:mod_authError runat="server" ID="mod_authError" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace PUB.PBO
|
||||
{
|
||||
@@ -11,7 +7,9 @@ namespace PUB.PBO
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
|
||||
divButtons.Visible = userAuth;
|
||||
divAuthError.Visible = !userAuth;
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+89
-10
@@ -1,17 +1,96 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// <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.
|
||||
// </auto-generated>
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace PUB.PBO
|
||||
{
|
||||
|
||||
|
||||
public partial class MyHome
|
||||
{
|
||||
}
|
||||
namespace PUB.PBO {
|
||||
|
||||
|
||||
public partial class MyHome {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divButtons.
|
||||
/// </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.HtmlControls.HtmlGenericControl divButtons;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlAnagAmmin.
|
||||
/// </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.HyperLink hlAnagAmmin;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlAnagCondomini.
|
||||
/// </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.HyperLink hlAnagCondomini;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlSegnalatori.
|
||||
/// </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.HyperLink hlSegnalatori;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlUtenti.
|
||||
/// </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.HyperLink hlUtenti;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo HyperLink1.
|
||||
/// </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.HyperLink HyperLink1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hlForn2Cond.
|
||||
/// </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.HyperLink hlForn2Cond;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divAuthError.
|
||||
/// </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.HtmlControls.HtmlGenericControl divAuthError;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_authError.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::PUB.WebUserContols.mod_authError mod_authError;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user