Refresh timbratrice: ora è ok dimensioni e colori (scuri)...

This commit is contained in:
Samuele E. Locatelli
2016-11-10 09:59:50 +01:00
parent 14d1f43055
commit aec02cc5c1
5 changed files with 97 additions and 82 deletions
+5
View File
@@ -23,4 +23,9 @@ textarea {
.body-content {
padding: 0;
}
}
.elTimbSmart {
padding: 0.2em;
font-size: 1.1em;
line-height: 1.3em;
}
+7
View File
@@ -29,3 +29,10 @@ textarea {
padding: 0;
}
}
.elTimbSmart{
padding: 0.2em;
font-size: 1.1em;
line-height: 1.3em;
}
+1 -1
View File
@@ -1 +1 @@
body{padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}input,select,textarea{max-width:280px;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}}
body{padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}input,select,textarea{max-width:280px;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}}.elTimbSmart{padding:.2em;font-size:1.1em;line-height:1.3em;}
+4 -4
View File
@@ -1,14 +1,14 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_footer.ascx.cs" Inherits="GPW.WebUserControls.mod_footer" %>
<div data-role="navbar" data-iconpos="top">
<div data-role="navbar" data-iconpos="top" >
<ul>
<li>
<asp:HyperLink runat="server" ID="btnTimbra" data-role="button" data-icon="home" NavigateUrl="~/A3/Timbrature.aspx" rel="external">Timbra</asp:HyperLink>
<asp:HyperLink runat="server" ID="btnTimbra" data-role="button" data-icon="home" data-theme="b" NavigateUrl="~/A3/Timbrature.aspx" rel="external">Timbra</asp:HyperLink>
</li>
<li>
<asp:HyperLink runat="server" ID="btnProgetti" data-role="button" data-icon="grid" NavigateUrl="~/A3/Progetti.aspx" rel="external">Progetti</asp:HyperLink>
<asp:HyperLink runat="server" ID="btnProgetti" data-role="button" data-icon="grid" data-theme="b" NavigateUrl="~/A3/Progetti.aspx" rel="external">Progetti</asp:HyperLink>
</li>
<li>
<asp:HyperLink runat="server" ID="btnAdmin" data-role="button" data-icon="gear" NavigateUrl="~/A3/Admin.aspx" rel="external">Admin</asp:HyperLink>
<asp:HyperLink runat="server" ID="btnAdmin" data-role="button" data-icon="gear" data-theme="b" NavigateUrl="~/A3/Admin.aspx" rel="external">Admin</asp:HyperLink>
</li>
</ul>
</div>
+80 -77
View File
@@ -4,92 +4,95 @@
<asp:Button runat="server" CssClass="ui-btn ui-icon-plus ui-btn-icon-left ui-shadow ui-corner-all" ID="btnEntrata" Text="Entrata" data-theme="b" OnClick="btnEntrata_Click" Width="100%" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-icon-minus ui-btn-icon-left ui-shadow ui-corner-all" ID="btnUscita" Text="Uscita" data-theme="e" OnClick="btnUscita_Click" Width="100%" />
<asp:Button runat="server" CssClass="ui-btn ui-icon-minus ui-btn-icon-left ui-shadow ui-corner-all" ID="btnUscita" Text="Uscita" data-theme="e" OnClick="btnUscita_Click" Width="100%" />
</div>
</div>
<asp:Label runat="server" ID="lblWarning" Visible="false" />
<asp:GridView ID="grView" runat="server" AllowPaging="True" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="dataLav,idxDipendente" CellPadding="4" ForeColor="#333333" GridLines="None" Font-Size="Smaller" Width="100%">
<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" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<Columns>
<asp:TemplateField HeaderText="data" SortExpression="dataLav" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("dataLav", "{0:MM-dd ddd}") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_1" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("entrata_1","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_1" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Eval("uscita_1","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_2" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("entrata_2","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_2" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Eval("uscita_2","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_3" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label7" runat="server" Text='<%# Eval("entrata_3","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_3" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label8" runat="server" Text='<%# Eval("uscita_3","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="X-Small" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="H lav" SortExpression="h_lav" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<ItemTemplate>
<b>
<asp:Label ID="Label11" runat="server" Text='<%# Eval("h_lav","{0:0.00}") %>' />
</b>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<ItemTemplate>
<b>
<asp:Label ID="lblIsOk" runat="server" Text="*" ForeColor="Red" Visible='<%# invBool(Eval("isOk")) %>' />
</b>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="Original_{0}" SelectMethod="getLastByUser" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter" UpdateMethod="Update" FilterExpression="idxDipendente = {0} AND (NOT (entrata_1 IS NULL) )">
<FilterParameters>
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
</FilterParameters>
<SelectParameters>
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
<asp:Parameter Name="num2show" DefaultValue="12" />
<%--<asp:ControlParameter ControlID="lblInizio" Name="inizio" PropertyName="Text" Type="DateTime" />
<div class="elTimbSmart">
<asp:GridView ID="grView" runat="server" AllowPaging="True" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="dataLav,idxDipendente" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%">
<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" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<Columns>
<asp:TemplateField HeaderText="data" SortExpression="dataLav" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("dataLav", "{0:MM-dd ddd}") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_1" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("entrata_1","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_1" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Eval("uscita_1","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_2" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("entrata_2","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_2" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Eval("uscita_2","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ent" SortExpression="entrata_3" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label7" runat="server" Text='<%# Eval("entrata_3","{0:HH:mm}") %>' ForeColor="#226622" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usc" SortExpression="uscita_3" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label8" runat="server" Text='<%# Eval("uscita_3","{0:HH:mm}") %>' ForeColor="#222266" Font-Size="Smaller" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="H lav" SortExpression="h_lav" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<ItemTemplate>
<b>
<asp:Label ID="Label11" runat="server" Text='<%# Eval("h_lav","{0:0.00}") %>' />
</b>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
<ItemTemplate>
<b>
<asp:Label ID="lblIsOk" runat="server" Text="*" ForeColor="Red" Visible='<%# invBool(Eval("isOk")) %>' />
</b>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="Original_{0}" SelectMethod="getLastByUser" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter" UpdateMethod="Update" FilterExpression="idxDipendente = {0} AND (NOT (entrata_1 IS NULL) )">
<FilterParameters>
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
</FilterParameters>
<SelectParameters>
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" />
<asp:Parameter Name="num2show" DefaultValue="12" />
<%--<asp:ControlParameter ControlID="lblInizio" Name="inizio" PropertyName="Text" Type="DateTime" />
<asp:ControlParameter ControlID="lblFine" Name="fine" PropertyName="Text" Type="DateTime" />--%>
</SelectParameters>
</asp:ObjectDataSource>
</SelectParameters>
</asp:ObjectDataSource>
</div>
<asp:Label runat="server" ID="lblInizio" Visible="false" />
<asp:Label runat="server" ID="lblFine" Visible="false" />
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" ID="btnAbilitaFull" Text="AbilitaAll" data-theme="a" data-icon="alert" OnClick="btnAbilitaFull_Click" />
<asp:Button runat="server" ID="btnAbilitaFull" Text="AbilitaAll" data-theme="b" data-icon="alert" OnClick="btnAbilitaFull_Click" />
</div>
<div class="ui-block-b">
<asp:HyperLink runat="server" ID="hlMancateTimbr" NavigateUrl="~/A3/mancataTimbr.aspx" data-role="button" data-theme="a" data-icon="star" data-transition="slide" Text="Mancata Tim." rel="external" />
<asp:HyperLink runat="server" ID="hlMancateTimbr" NavigateUrl="~/A3/mancataTimbr.aspx" data-role="button" data-theme="b" data-icon="star" data-transition="slide" Text="Mancata Tim." rel="external" />
</div>
</div>