Update pagine e dati
This commit is contained in:
+16
-21
@@ -1,24 +1,19 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyDashboard.aspx.cs" Inherits="PUB.PAM.MyDashboard" %>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="JumboTronContent" runat="server">
|
||||
<div class="py-3">
|
||||
<div class="container">
|
||||
<h1>B2BCONDOMINI.IT</h1>
|
||||
<p class="lead">Qui dobbiamo spiegare all'utente "Amministratore" cosa deve fare e come deve accedere... TENDENZIALMENTE con email e certificato assocaito (come quelli già usati)</p>
|
||||
|
||||
<p>POTREBBE essere utile pensare anche a una forma di pubblicità (da rieptere dalla sezione "about" / contatti?) x convincere gli amministratori all'accesso</p>
|
||||
<p>!!!DA COMPLETARE!!! </p>
|
||||
<p><a href="/About" class="btn btn-primary btn-lg">Per maggiori informazioni »</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2>Accesso Amministratori</h2>
|
||||
<p>DISABILITATO</p>
|
||||
<i>dobbiamo definire come farli entrare... loro DI SICURO con il sistema email + link cliccabile...
|
||||
</i>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/SitePAM.Master" AutoEventWireup="true" CodeBehind="MyDashboard.aspx.cs" Inherits="PUB.PAM.MyDashboard" %>
|
||||
|
||||
<%@ Register Src="~/WebUserContols/mod_inCorso.ascx" TagPrefix="uc1" TagName="mod_inCorso" %>
|
||||
<%@ Register Src="~/WebUserContols/mod_richiesteList.ascx" TagPrefix="uc1" TagName="mod_richiesteList" %>
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div class="container-fluid my-1 bg-light">
|
||||
<div class="row p-2">
|
||||
<div class="col-md-6 my-1">
|
||||
<uc1:mod_richiesteList runat="server" ID="mod_richiesteList" />
|
||||
</div>
|
||||
<div class="col-md-6 my-1">
|
||||
<uc1:mod_inCorso runat="server" ID="mod_inCorso" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Generated
+18
@@ -11,5 +11,23 @@ namespace PUB.PAM {
|
||||
|
||||
|
||||
public partial class MyDashboard {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_richiesteList.
|
||||
/// </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_richiesteList mod_richiesteList;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_inCorso.
|
||||
/// </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_inCorso mod_inCorso;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,6 +252,7 @@
|
||||
<Content Include="WebUserContols\mod_scadenzeDetail.ascx" />
|
||||
<Content Include="WebUserContols\mod_scadenzeList.ascx" />
|
||||
<Content Include="WebUserContols\mod_statusRow.ascx" />
|
||||
<Content Include="WebUserContols\mod_statusRowPAM.ascx" />
|
||||
<Content Include="WebUserContols\mod_warnings.ascx" />
|
||||
<Content Include="WebUserContols\tpl_footer.ascx" />
|
||||
<Content Include="WebUserContols\tpl_header.ascx" />
|
||||
@@ -493,6 +494,13 @@
|
||||
<Compile Include="Site.Master.designer.cs">
|
||||
<DependentUpon>Site.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SitePAM.master.cs">
|
||||
<DependentUpon>SitePAM.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SitePAM.master.designer.cs">
|
||||
<DependentUpon>SitePAM.master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SitePBO.master.cs">
|
||||
<DependentUpon>SitePBO.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -675,6 +683,13 @@
|
||||
<Compile Include="WebUserContols\mod_statusRow.ascx.designer.cs">
|
||||
<DependentUpon>mod_statusRow.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_statusRowPAM.ascx.cs">
|
||||
<DependentUpon>mod_statusRowPAM.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_statusRowPAM.ascx.designer.cs">
|
||||
<DependentUpon>mod_statusRowPAM.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_warnings.ascx.cs">
|
||||
<DependentUpon>mod_warnings.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -712,6 +727,7 @@
|
||||
<Content Include="Scripts\jquery-3.3.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.3.1.min.map" />
|
||||
<Content Include="SitePBO.master" />
|
||||
<Content Include="SitePAM.master" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SitePAM.master.cs" Inherits="PUB.SitePAM" %>
|
||||
<%@ Register Src="~/WebUserContols/mod_statusRowPAM.ascx" TagPrefix="uc1" TagName="mod_statusRowPAM" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="JumboTronContent" runat="server">
|
||||
<uc1:mod_statusRowPAM runat="server" id="mod_statusRowPAM" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</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 PUB
|
||||
{
|
||||
public partial class SitePAM : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+33
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 PUB {
|
||||
|
||||
|
||||
public partial class SitePAM {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_statusRowPAM.
|
||||
/// </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_statusRowPAM mod_statusRowPAM;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo MainContent.
|
||||
/// </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.ContentPlaceHolder MainContent;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_inCorso.ascx.cs" Inherits="PUB.WebUserContols.mod_inCorso" %>
|
||||
|
||||
<div class="card">
|
||||
<h5 class="card-header alert alert-success text-uppercase">In corso</h5>
|
||||
<h5 class="card-header alert alert-warning text-uppercase">Interventi</h5>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Elenco degli interventi in corso</h5>
|
||||
<ul>
|
||||
@@ -13,6 +13,6 @@
|
||||
<li>Primo intervento</li>
|
||||
</ul>
|
||||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
|
||||
<a href="#" class="btn btn-success">Gestione Richieste</a>
|
||||
<a href="#" class="btn btn-success">Gestione Interventi</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1 +1,37 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_richiesteList.ascx.cs" Inherits="PUB.WebUserContols.mod_richiesteList" %>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header alert alert-danger text-uppercase align-middle">
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<h5 class="">Richieste</h5>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:DropDownList runat="server" ID="ddlCondominio" DataSourceID="odsCondomini" DataTextField="nome" DataValueField="idxCond" AppendDataBoundItems="true">
|
||||
<asp:ListItem Text="-- Selezionare Condominio --" Value="0"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource runat="server" ID="odsCondomini" SelectMethod="getByAmm" TypeName="Data.DS_appTableAdapters.AnagCondominiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="1" Name="idxAmm" SessionField="idxAmm" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-3 text-right">
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-danger btn-sm btn-block">Apri nuova »</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Elenco Richieste Aperte Amministratore</h5>
|
||||
<ul>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
<li>Primo intervento</li>
|
||||
</ul>
|
||||
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
|
||||
<a href="#" class="btn btn-success">Gestione Richieste</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+35
-10
@@ -1,17 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.WebUserContols
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_richiesteList
|
||||
{
|
||||
}
|
||||
namespace PUB.WebUserContols {
|
||||
|
||||
|
||||
public partial class mod_richiesteList {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlCondominio.
|
||||
/// </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.DropDownList ddlCondominio;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsCondomini.
|
||||
/// </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.ObjectDataSource odsCondomini;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtAddNew.
|
||||
/// </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 lbtAddNew;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statusRowPAM.ascx.cs" Inherits="PUB.WebUserContols.mod_statusRowPAM" %>
|
||||
<asp:Repeater ID="repStats" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class="row bg-secondary py-2 m-0">
|
||||
<div class="col-xl-3 col-sm-6 pr-1">
|
||||
<div class="item d-flex align-items-center p-1 bg-white">
|
||||
<asp:HyperLink runat="server" ID="hlAnagrafiche" NavigateUrl="~/PBO/Anagrafiche.aspx" CssClass="text-info">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icona text-info px-2">
|
||||
<i class="fas fa-user"></i>
|
||||
</div>
|
||||
<div class="titolo px-2">
|
||||
Condomini
|
||||
</div>
|
||||
</div>
|
||||
</asp:HyperLink>
|
||||
<div class="d-flex ml-auto align-items-center">
|
||||
<div class="number px-2 text-right">
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("numUsers") %>' /></strong> registrati
|
||||
</div>
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("reqUsers") %>' /></strong> da approvare
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-sm-6 px-1">
|
||||
<div class="item d-flex align-items-center p-1 bg-white">
|
||||
<asp:HyperLink runat="server" ID="hlRichieste" NavigateUrl="~/PBO/Richieste.aspx" CssClass="text-danger">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icona px-2">
|
||||
<i class="fas fa-phone"></i>
|
||||
</div>
|
||||
<div class="titolo px-2">
|
||||
Richieste
|
||||
</div>
|
||||
</div>
|
||||
</asp:HyperLink>
|
||||
<div class="d-flex ml-auto align-items-center">
|
||||
<div class="number px-2 text-right">
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("numReq") %>' /></strong> attive
|
||||
</div>
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("reqReq") %>' /></strong> da gestire
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-sm-6 px-1">
|
||||
<div class="item d-flex align-items-center p-1 bg-white">
|
||||
<asp:HyperLink runat="server" ID="hlAziende" NavigateUrl="~/PBO/Aziende.aspx" CssClass="text-warning">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icona px-2">
|
||||
<i class="fas fa-industry"></i>
|
||||
</div>
|
||||
<div class="titolo px-2">
|
||||
Interventi aperti
|
||||
</div>
|
||||
</div>
|
||||
</asp:HyperLink>
|
||||
<div class="d-flex ml-auto align-items-center">
|
||||
<div class="number px-2 text-right">
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("numForn") %>' /></strong> registrate
|
||||
</div>
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("reqForn") %>' /></strong> da approvare
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-sm-6 pl-1">
|
||||
<div class="item d-flex align-items-center p-1 bg-white">
|
||||
<asp:HyperLink runat="server" ID="hlInterventi" NavigateUrl="~/PBO/Interventi.aspx" CssClass="text-success">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icona px-2">
|
||||
<i class="fas fa-euro-sign"></i>
|
||||
</div>
|
||||
<div class="titolo px-2">
|
||||
Fatture
|
||||
</div>
|
||||
</div>
|
||||
</asp:HyperLink>
|
||||
<div class="d-flex ml-auto align-items-center">
|
||||
<div class="number px-2 text-right">
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("numInt") %>' /></strong> aperti
|
||||
</div>
|
||||
<div>
|
||||
<strong>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("reqInt") %>' /></strong> maturati
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="Data.DS_appTableAdapters.PBO_DashStatsTableAdapter"></asp:ObjectDataSource>
|
||||
@@ -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 PUB.WebUserContols
|
||||
{
|
||||
public partial class mod_statusRowPAM : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 PUB.WebUserContols {
|
||||
|
||||
|
||||
public partial class mod_statusRowPAM {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repStats.
|
||||
/// </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.Repeater repStats;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </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.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user