ulteriore fix grafico elenco docs
This commit is contained in:
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<publishData>
|
||||
<publishProfile publishUrl="https://winlab.steamware.net:8172/MsDeploy.axd" deleteExistingFiles="False" ftpAnonymousLogin="False" ftpPassiveMode="True" msdeploySite="Default Web Site/ETS-WS" msdeploySiteID="" msdeployRemoteSitePhysicalPath="" msdeployAllowUntrustedCertificate="True" msdeploySkipExtraFilesOnServer="True" msdeployMarkAsApp="True" profileName="WinLab" publishMethod="MSDeploy" replaceMatchingFiles="True" userName="Administrator" savePWD="True" userPWD="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA/oPi/XPymEOp3XKJvf8o/wAAAAACAAAAAAADZgAAwAAAABAAAADUtXeK/FTaloge0GbiqN5GAAAAAASAAACgAAAAEAAAAFfFLT5ra7an2iD7YZw9puIYAAAA4C4vjAXMzUu2YPKz0mcXqxVcW3acovdgFAAAAIyoPlfvbDX9H2S0WIhL+UDA0lU/" SelectedForPublish="True" />
|
||||
<publishProfile publishUrl="https://winlab.steamware.net:8172/MsDeploy.axd" deleteExistingFiles="False" ftpAnonymousLogin="False" ftpPassiveMode="True" msdeploySite="Default Web Site/ETS-WS" msdeploySiteID="" msdeployRemoteSitePhysicalPath="" msdeployAllowUntrustedCertificate="True" msdeploySkipExtraFilesOnServer="True" msdeployMarkAsApp="True" profileName="WinLab" publishMethod="MSDeploy" replaceMatchingFiles="True" userName="Administrator" savePWD="True" userPWD="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFmNUguGW/kK/L084ZvFUuQAAAAACAAAAAAADZgAAwAAAABAAAAAHrfzW3kGYyzdh3Mw/NpQQAAAAAASAAACgAAAAEAAAAH6vm1SXX7dZCB0377vHsZwYAAAAkvlwc5gZLXO22anhmiZtsHrxssEH2ZY9FAAAAOIXRK9hNL1H/YUe+3jw03t0bBNp" SelectedForPublish="True" />
|
||||
</publishData>
|
||||
@@ -15,9 +15,10 @@
|
||||
<EditRowStyle CssClass="secoColA-1" />
|
||||
<SelectedRowStyle CssClass="secoColA-1" />
|
||||
<FooterStyle CssClass="secColA-1" />
|
||||
<PagerStyle CssClass="secColA-1" ForeColor="White" HorizontalAlign="Center" Height="1.2em" VerticalAlign="Middle"
|
||||
Font-Size="11pt" />
|
||||
<HeaderStyle CssClass="secColA-1" ForeColor="White" Font-Bold="True" Font-Size="11pt" Height="1.2em"/>
|
||||
<PagerStyle CssClass="secColA-1" ForeColor="White" HorizontalAlign="Center" Height="1.2em"
|
||||
VerticalAlign="Middle" Font-Size="11pt" />
|
||||
<HeaderStyle CssClass="secColA-1" ForeColor="White" Font-Bold="True" Font-Size="11pt"
|
||||
Height="1.2em" />
|
||||
<EmptyDataRowStyle CssClass="secColA-5" />
|
||||
<Columns>
|
||||
<%--<asp:BoundField DataField="idxFile" HeaderText="idxFile" ReadOnly="True" SortExpression="idxFile"
|
||||
@@ -25,25 +26,27 @@
|
||||
<asp:BoundField DataField="Commessa" HeaderText="Commessa" SortExpression="Commessa" />
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Image runat="server" ID="lblFileType" Width="32" Height="32" ImageUrl='<%# imgFromName(Eval("Nome")) %>' />
|
||||
<asp:Image runat="server" ID="lblFileType" Width="22" Height="22" ImageUrl='<%# imgFromName(Eval("Nome")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Nome" SortExpression="Nome">
|
||||
<asp:TemplateField HeaderText="Nome" SortExpression="Nome" ItemStyle-Wrap="false">
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" ID="hlFile" Text='<%# Eval("Nome") %>' ToolTip='<%# accoda("{0}/{1}",new object[]{Eval("fullPath"),Eval("Nome")}) %>'
|
||||
<asp:HyperLink runat="server" ID="hlFile" Text='<%# shortMe(Eval("Nome"),25,4) %>'
|
||||
ToolTip='<%# accoda("{0}/{1}",new object[]{Eval("fullPath"),Eval("Nome")}) %>'
|
||||
Target="_blank" NavigateUrl='<%# accoda("{0}/{1}",new object[]{Eval("fullPath"),Eval("Nome")})%>' />
|
||||
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Path" SortExpression="fullPath">
|
||||
<asp:TemplateField HeaderText="">
|
||||
<ItemTemplate>
|
||||
<asp:HyperLink runat="server" ImageUrl="~/images/folder_l.png" Text="folder" ToolTip='<%# Eval("fullPath") %>'
|
||||
<asp:HyperLink runat="server" ImageUrl="~/images/folder_m.png" Text="folder" ToolTip='<%# Eval("fullPath") %>'
|
||||
Target="_blank" NavigateUrl='<%# filePath(Eval("fullPath"), true) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:BoundField DataField="userId" HeaderText="userId" SortExpression="userId" />
|
||||
<asp:BoundField DataField="Anno" HeaderText="Anno" SortExpression="Anno" />
|
||||
<asp:BoundField DataField="Numero" HeaderText="Numero" SortExpression="Numero" />--%>
|
||||
<asp:BoundField DataField="NrProtocollo" HeaderText="NrProtocollo" SortExpression="NrProtocollo" />
|
||||
<asp:BoundField DataField="NrProtocollo" HeaderText="NrProt." SortExpression="NrProtocollo" />
|
||||
<asp:TemplateField HeaderText="DataRic" SortExpression="DataRic">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblDataDoc" runat="server" Text='<%# Eval("DataRic","{0:dd/MM/yyyy}") %>'
|
||||
|
||||
@@ -128,5 +128,22 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// restituisce una stringa di max "maxChar caratteri tenendo gli ultimi lastChar
|
||||
/// </summary>
|
||||
/// <param name="stringa"></param>
|
||||
/// <param name="maxChar"></param>
|
||||
/// <returns></returns>
|
||||
public string shortMe(object _strOrig, object _maxChar, object _lastChar)
|
||||
{
|
||||
string answ = _strOrig.ToString();
|
||||
int maxChar=Convert.ToInt32(_maxChar);
|
||||
int lastChar=Convert.ToInt32(_lastChar);
|
||||
if (answ.Length > maxChar)
|
||||
{
|
||||
answ = answ.Substring(0, 30) +"[...]"+ answ.Substring(answ.Length - lastChar);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -4,3 +4,171 @@
|
||||
background-repeat: repeat-x;
|
||||
color: #ECECEC;
|
||||
}
|
||||
|
||||
/* Schema colori */
|
||||
.priCol-1
|
||||
{
|
||||
background-color: #00B060;
|
||||
}
|
||||
.priCol-2
|
||||
{
|
||||
background-color: #218457;
|
||||
}
|
||||
.priCol-3
|
||||
{
|
||||
background-color: #00733E;
|
||||
}
|
||||
.priCol-4
|
||||
{
|
||||
background-color: #36D88E;
|
||||
}
|
||||
.priCol-5
|
||||
{
|
||||
background-color: #C3FFE4;
|
||||
}
|
||||
.secColA-1
|
||||
{
|
||||
background-color: #0A64A4;
|
||||
}
|
||||
.secColA-2
|
||||
{
|
||||
background-color: #24577B;
|
||||
}
|
||||
.secColA-3
|
||||
{
|
||||
background-color: #03406A;
|
||||
}
|
||||
.secColA-4
|
||||
{
|
||||
background-color: #3E94D1;
|
||||
}
|
||||
.secColA-5
|
||||
{
|
||||
background-color: #B8E1FD;
|
||||
}
|
||||
.secColB-1
|
||||
{
|
||||
background-color: #FF9000;
|
||||
}
|
||||
.secColB-2
|
||||
{
|
||||
background-color: #BF8130;
|
||||
}
|
||||
.secColB-3
|
||||
{
|
||||
background-color: #A65E00;
|
||||
}
|
||||
.secColB-4
|
||||
{
|
||||
background-color: #FFAC40;
|
||||
}
|
||||
.secColB-5
|
||||
{
|
||||
background-color: #FDD7A6;
|
||||
}
|
||||
.comCol-1
|
||||
{
|
||||
background-color: #FF4500;
|
||||
}
|
||||
.comCol-2
|
||||
{
|
||||
background-color: #BF5730;
|
||||
}
|
||||
.comCol-3
|
||||
{
|
||||
background-color: #A62D00;
|
||||
}
|
||||
.comCol-4
|
||||
{
|
||||
background-color: #FF7340;
|
||||
}
|
||||
.comCol-5
|
||||
{
|
||||
background-color: #FFCEBC;
|
||||
}
|
||||
|
||||
.lightGray
|
||||
{
|
||||
background-color: #EDEDED;
|
||||
}
|
||||
|
||||
/* FINE Schema colori */
|
||||
|
||||
|
||||
/* area gridview
|
||||
.grView
|
||||
{
|
||||
color: #333333;
|
||||
font-size: 8pt;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.ctrHeaderPager
|
||||
{
|
||||
background-color: #b8b8b8;
|
||||
font-weight: bold;
|
||||
color: White;
|
||||
}
|
||||
.ctrHeaderPagerRight
|
||||
{
|
||||
background-color: #b8b8b8;
|
||||
font-weight: bold;
|
||||
color: White;
|
||||
text-align: right;
|
||||
}
|
||||
.ctrHeaderPagerBlue
|
||||
{
|
||||
height: 1px;
|
||||
}
|
||||
.ctrHeaderPagerBlueRight
|
||||
{
|
||||
background-color: #507CD1;
|
||||
height: 1px;
|
||||
text-align: right;
|
||||
}
|
||||
.ctrFooter
|
||||
{
|
||||
font-weight: bold;
|
||||
color: White;
|
||||
}
|
||||
.ctrRowStyle
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
.ctrAltRowStyle
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
.ctrRowStyleRight
|
||||
{
|
||||
background-color: #EFF3FB;
|
||||
text-align: right;
|
||||
}
|
||||
.ctrAltRowStyleRight
|
||||
{
|
||||
background-color: White;
|
||||
text-align: right;
|
||||
}
|
||||
.ctrInsRowStyle
|
||||
{
|
||||
background-color: #b8b8b8;
|
||||
}
|
||||
.ctrEditRowStyle
|
||||
{
|
||||
background-color: #D1DDF1;
|
||||
}
|
||||
.ctrSelRowStyle
|
||||
{
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
background-color: #D1DDF1;
|
||||
}
|
||||
.ctrSelRowStyleYellow
|
||||
{
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
background-color: Yellow;
|
||||
}
|
||||
FINE area gridview */
|
||||
Reference in New Issue
Block a user