Creato style x colori oggetto gridview

Pubblicazione vers 0.6 (manca DB)
This commit is contained in:
Samuele E. Locatelli
2014-04-29 16:00:27 +02:00
parent 1f3d900943
commit ec4e2b8bca
9 changed files with 105 additions and 21 deletions
+1
View File
@@ -7,6 +7,7 @@
<include path="~/Content/jquery.mobile-1.4.2.css" />
<include path="~/Content/jquery.mobile.icons-1.4.2.min.css" />
<include path="~/Content/jquery.mobile.theme-1.4.2.min.css" />
<include path="~/Content/Style.min.css" />
<!--<include path="~/Content/themes/base/jquery.ui.css" />
<include path="~/Content/themes/base/jquery.ui.accordion.css" />
<include path="~/Content/themes/base/jquery.ui.autocomplete.css" />
+30
View File
@@ -0,0 +1,30 @@
.baseRow {
background-color: #EFF3FB;
}
.altRow {
background-color: #FFF;
}
.editRow {
background-color: #2461bf;
}
.selectedRow {
background-color: #d1ddf1;
font-weight: 600;
color: #333333;
}
.headerRow {
background-color: #507cd1;
font-weight: 600;
color: white;
}
.footerRow {
background-color: #507cd1;
font-weight: 600;
color: white;
}
.pagerRow {
background-color: #2461bf;
color: white;
text-align: center;
margin: auto;
}
+45
View File
@@ -0,0 +1,45 @@
body {
}
@blu: #507CD1;
@bluChiaro: #D1DDF1;
@bluScuro: #2461BF;
@testoScuro: #333;
.baseRow {
background-color: #EFF3FB;
}
.altRow {
background-color: #FFF;
}
.editRow {
background-color: @bluScuro;
}
.selectedRow {
background-color: @bluChiaro;
font-weight: 600;
color: @testoScuro;
}
.headerRow {
background-color: @blu;
font-weight: 600;
color: white;
}
.footerRow {
background-color: @blu;
font-weight: 600;
color: white;
}
.pagerRow {
background-color: @bluScuro;
color: white;
text-align: center;
margin: auto;
}
+1
View File
@@ -0,0 +1 @@
.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerRow{background-color:#507cd1;font-weight:600;color:#fff}.footerRow{background-color:#507cd1;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}
+9 -2
View File
@@ -309,6 +309,12 @@
<Content Include="Content\jquery.mobile.structure-1.4.2.min.css" />
<Content Include="Content\jquery.mobile.theme-1.4.2.css" />
<Content Include="Content\jquery.mobile.theme-1.4.2.min.css" />
<Content Include="Content\Style.css">
<DependentUpon>Style.less</DependentUpon>
</Content>
<Content Include="Content\Style.min.css">
<DependentUpon>Style.less</DependentUpon>
</Content>
<Content Include="Default.aspx" />
<Content Include="Global.asax" />
<Content Include="packages.config" />
@@ -327,6 +333,7 @@
<Content Include="WebUserControls\mod_ElencoVisitePaziente.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
<Content Include="WebUserControls\mod_header.ascx" />
<Content Include="Content\Style.less" />
<None Include="NLog.xsd">
<SubType>Designer</SubType>
</None>
@@ -501,9 +508,9 @@
<WebProjectProperties>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerPort>52656</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:64431/</IISUrl>
<IISUrl>http://localhost:64430/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
+2 -2
View File
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.5.*")]
[assembly: AssemblyFileVersion("0.5.*")]
[assembly: AssemblyVersion("0.6.*")]
[assembly: AssemblyFileVersion("0.6.*")]
+17 -17
View File
@@ -6,17 +6,17 @@
<h3>Visita Ecocardiovascolare / Doppler</h3>
<div style="font-size: 0.7em;">
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="IdxPaziente,DataVisita" DataSourceID="ods" ForeColor="#333333" GridLines="None" Width="100%" OnRowDataBound="grView_RowDataBound" HorizontalAlign="Center">
<AlternatingRowStyle BackColor="White" />
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<AlternatingRowStyle CssClass="altRow" />
<EditRowStyle CssClass="editRow" />
<FooterStyle CssClass="footerRow" />
<HeaderStyle CssClass="headerRow" />
<PagerStyle CssClass="pagerRow" />
<RowStyle CssClass="baseRow" />
<SelectedRowStyle CssClass="selectedRow" />
<%--<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />--%>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
@@ -57,37 +57,37 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="FrazEiez" SortExpression="FrazEiez">
<EditItemTemplate>
<asp:TextBox ID="txtFrazEiez" runat="server" Text='<%# Bind("FrazEiez") %>' />
<asp:TextBox ID="txtFrazEiez" runat="server" Text='<%# Bind("FrazEiez", "{0:N4}") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("FrazEiez", "{0:P2}") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtFrazEiez" runat="server" Text='<%# Bind("FrazEiez") %>' />
<asp:TextBox ID="txtFrazEiez" runat="server" Text='<%# Bind("FrazEiez", "{0:N4}") %>' />
</FooterTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="TDI" SortExpression="TDI">
<EditItemTemplate>
<asp:TextBox ID="txtTDI" runat="server" Text='<%# Bind("TDI") %>' />
<asp:TextBox ID="txtTDI" runat="server" Text='<%# Bind("TDI", "{0:N2}") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TDI") %>'></asp:Label>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TDI", "{0:N2}") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtTDI" runat="server" Text='<%# Bind("TDI") %>' />
<asp:TextBox ID="txtTDI" runat="server" Text='<%# Bind("TDI", "{0:N2}") %>' />
</FooterTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="PlaccheVas" SortExpression="PlaccheVas">
<EditItemTemplate>
<asp:TextBox ID="txtPlaccheVas" runat="server" Text='<%# Bind("PlaccheVas") %>' />
<asp:TextBox ID="txtPlaccheVas" runat="server" Text='<%# Bind("PlaccheVas", "{0:N2}") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Eval("PlaccheVas") %>'></asp:Label>
<asp:Label ID="Label4" runat="server" Text='<%# Eval("PlaccheVas", "{0:N2}") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<asp:TextBox ID="txtPlaccheVas" runat="server" Text='<%# Bind("PlaccheVas") %>' />
<asp:TextBox ID="txtPlaccheVas" runat="server" Text='<%# Bind("PlaccheVas", "{0:N2}") %>' />
</FooterTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
Binary file not shown.
Binary file not shown.