Seleccionar todos los estatus de REQ/OC al asignar
This commit is contained in:
@@ -112,20 +112,20 @@
|
||||
<asp:TextBox ID="TxtUsuario" runat="server"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVUsuario" runat="server" ControlToValidate="TxtUsuario" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Usuario''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCEUsuario" runat="server" HighlightCssClass="vco" TargetControlID="RFVUsuario" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
|
||||
|
||||
|
||||
<asp:LinkButton ID="LnkRestablecer" runat="server" ToolTip="Restablecer Contraseña" data-toggle="confirmation" data-popout="true">
|
||||
<i class="material-icons" style="font-size:20px;">vpn_lock</i>
|
||||
<asp:LinkButton ID="LnkRestablecer" runat="server" ToolTip="Restablecer Contraseña" data-toggle="confirmation" data-popout="true">
|
||||
<i class="material-icons" style="font-size:20px;">vpn_lock</i>
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="LnkVerPass" runat="server" ToolTip="Ver Contraseña" Visible="false">
|
||||
<i class="material-icons" style="font-size:20px;">lock</i>
|
||||
<asp:LinkButton ID="LnkVerPass" runat="server" ToolTip="Ver Contraseña" Visible="false">
|
||||
<i class="material-icons" style="font-size:20px;">lock</i>
|
||||
</asp:LinkButton>
|
||||
<asp:LinkButton ID="LnkRenviaCorreo" runat="server" ToolTip="Reenviar Correo" Visible="false">
|
||||
<i class="material-icons" style="font-size:20px;">email</i>
|
||||
<asp:LinkButton ID="LnkRenviaCorreo" runat="server" ToolTip="Reenviar Correo" Visible="false">
|
||||
<i class="material-icons" style="font-size:20px;">email</i>
|
||||
</asp:LinkButton>
|
||||
<%--<asp:ImageButton ID="ImgRestablecer" runat="server" AlternateText="Restablecer Contraseña"
|
||||
ToolTip="Restablecer Contraseña" CausesValidation="False" ImageUrl="/Imagenes/ResetPassword.jpg"
|
||||
OnClientClick="return confirm('Está seguro que desea restablecer la contraseña?')" Height="16" Width="16" />--%>
|
||||
<%--<asp:ImageButton ID="ImgRestablecer" runat="server" AlternateText="Restablecer Contraseña"
|
||||
ToolTip="Restablecer Contraseña" CausesValidation="False" ImageUrl="/Imagenes/ResetPassword.jpg"
|
||||
OnClientClick="return confirm('Está seguro que desea restablecer la contraseña?')" Height="16" Width="16" />--%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr runat="server" id="TrContraseña">
|
||||
@@ -162,27 +162,27 @@
|
||||
<ajax:ValidatorCalloutExtender ID="VCECorreo" runat="server" HighlightCssClass="vco" TargetControlID="RFVCorreo" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</td>
|
||||
</tr>
|
||||
<%--<tr>
|
||||
<td>Supervisa:</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="DdlSupervisa" runat="server" AppendDataBoundItems="true" DataTextField="Nombre" DataValueField="CveUsuario" Width="400px" ValidationGroup="GrpGuardar">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
|
||||
<asp:RequiredFieldValidator ID="RFVSupervisa" runat="server" ControlToValidate="DdlSupervisa" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Supervisa''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCOSupervisa" runat="server" HighlightCssClass="vco" TargetControlID="RFVSupervisa" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Autoriza:</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="DdlAutoriza" runat="server" AppendDataBoundItems="true" DataTextField="Nombre" DataValueField="CveUsuario" Width="400px" ValidationGroup="GrpGuardar">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
|
||||
<asp:RequiredFieldValidator ID="RFVAutoriza" runat="server" ControlToValidate="DdlAutoriza" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Autoriza''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCOAutoriza" runat="server" HighlightCssClass="vco" TargetControlID="RFVAutoriza" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</td>
|
||||
<%--<tr>
|
||||
<td>Supervisa:</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="DdlSupervisa" runat="server" AppendDataBoundItems="true" DataTextField="Nombre" DataValueField="CveUsuario" Width="400px" ValidationGroup="GrpGuardar">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
|
||||
<asp:RequiredFieldValidator ID="RFVSupervisa" runat="server" ControlToValidate="DdlSupervisa" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Supervisa''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCOSupervisa" runat="server" HighlightCssClass="vco" TargetControlID="RFVSupervisa" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Autoriza:</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="DdlAutoriza" runat="server" AppendDataBoundItems="true" DataTextField="Nombre" DataValueField="CveUsuario" Width="400px" ValidationGroup="GrpGuardar">
|
||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
|
||||
<asp:RequiredFieldValidator ID="RFVAutoriza" runat="server" ControlToValidate="DdlAutoriza" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Autoriza''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCOAutoriza" runat="server" HighlightCssClass="vco" TargetControlID="RFVAutoriza" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</td>
|
||||
</tr>--%>
|
||||
<tr>
|
||||
<td>Empresa:</td>
|
||||
@@ -212,8 +212,8 @@
|
||||
<asp:TextBox ID="TxtCodigoAcceso" runat="server" type="password" Width="400px"></asp:TextBox>
|
||||
</td>
|
||||
<td>
|
||||
<asp:LinkButton ID="LnkVerCodigoAcceso" runat="server" ToolTip="Ver Código Acceso">
|
||||
<i class="material-icons" style="font-size:20px;">lock</i>
|
||||
<asp:LinkButton ID="LnkVerCodigoAcceso" runat="server" ToolTip="Ver Código Acceso">
|
||||
<i class="material-icons" style="font-size:20px;">lock</i>
|
||||
</asp:LinkButton>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -369,7 +369,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditAlmacen" />
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditAlmacen" />
|
||||
|
||||
<asp:LinkButton ID="imgC" runat="server" AlternateText="Cancelar" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-circle btn-sm red" Text="<i class='fa fa-times'></i>" />
|
||||
</EditItemTemplate>
|
||||
@@ -455,7 +455,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditSubProyecto" />
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditSubProyecto" />
|
||||
|
||||
<asp:LinkButton ID="imgC" runat="server" AlternateText="Cancelar" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-circle btn-sm red" Text="<i class='fa fa-times'></i>" />
|
||||
</EditItemTemplate>
|
||||
@@ -501,6 +501,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll1" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll1,'chkEstatusREQ1');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ1" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -522,6 +534,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll2" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll2,'chkEstatusREQ2');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ2" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -543,6 +567,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll3" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll3,'chkEstatusREQ3');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ3" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -564,6 +600,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll4" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll4,'chkEstatusREQ4');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ4" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -585,6 +633,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll5" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll5,'chkEstatusREQ5');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ5" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -606,6 +666,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll6" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll6,'chkEstatusREQ6');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ6" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -627,6 +699,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll7" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll7,'chkEstatusREQ7');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ7" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -648,6 +732,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll8" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll8,'chkEstatusREQ8');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ8" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -669,6 +765,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll9" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll9,'chkEstatusREQ9');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ9" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -690,6 +798,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusREQAll10" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusREQAll10,'chkEstatusREQ10');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatusREQ10" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -723,6 +843,18 @@
|
||||
<asp:BoundField HeaderText="SubProyecto" DataField="SubProyecto" ItemStyle-HorizontalAlign="Left" />
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll1" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll1,'chkEstatus1');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus1" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -744,6 +876,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll2" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll2,'chkEstatus2');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus2" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -765,6 +909,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll3" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll3,'chkEstatus3');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus3" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -786,6 +942,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll4" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll4,'chkEstatus4');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus4" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -807,6 +975,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll5" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll5,'chkEstatus5');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus5" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -828,6 +1008,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll6" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll6,'chkEstatus6');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus6" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -849,6 +1041,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll7" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll7,'chkEstatus7');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus7" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -870,6 +1074,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll8" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll8,'chkEstatus8');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus8" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -891,6 +1107,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll9" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll9,'chkEstatus9');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus9" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -912,6 +1140,18 @@
|
||||
|
||||
<asp:TemplateField Visible="false">
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
<HeaderTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
<td style="width: 30%; text-align: right">
|
||||
<asp:CheckBox ID="chkEstatusAll10" ClientIDMode="Static" runat="server" onclick="chkSeleccionarEstatus(chkEstatusAll10,'chkEstatus10');" />
|
||||
</td>
|
||||
<td style="width: 70%; text-align: center">
|
||||
<asp:Label ID="LblTituloEstatus10" runat="server"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<table style="text-align: center; width: 100%">
|
||||
<tr>
|
||||
@@ -1626,7 +1866,7 @@
|
||||
<div class="titlefiltros caption ">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
Empresa:
|
||||
Empresa:
|
||||
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
@@ -2054,7 +2294,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditSubProyecto" />
|
||||
<asp:LinkButton ID="imgU" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>" ValidationGroup="GrpEditSubProyecto" />
|
||||
|
||||
<asp:LinkButton ID="imgC" runat="server" AlternateText="Cancelar" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-circle btn-sm red" Text="<i class='fa fa-times'></i>" />
|
||||
</EditItemTemplate>
|
||||
@@ -2415,7 +2655,7 @@
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
Usuario a clonar:
|
||||
Usuario a clonar:
|
||||
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
@@ -2507,7 +2747,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3" style="max-width: 150px;">
|
||||
IP:
|
||||
IP:
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
@@ -2516,7 +2756,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3" style="max-width: 150px;">
|
||||
Mac:
|
||||
Mac:
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
@@ -2527,18 +2767,18 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<%--<div class="row">
|
||||
<div class="col-md-3" style="max-width: 150px;">
|
||||
Restrincción por Equipo:
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<asp:CheckBox ID="chkSessionxEquipo" runat="server" CssClass="chksino" Text=" " />
|
||||
</div>
|
||||
<%--<div class="row">
|
||||
<div class="col-md-3" style="max-width: 150px;">
|
||||
Restrincción por Equipo:
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<asp:CheckBox ID="chkSessionxEquipo" runat="server" CssClass="chksino" Text=" " />
|
||||
</div>
|
||||
</div>--%>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3" style="max-width: 150px;">
|
||||
Aplica Restricción:
|
||||
Aplica Restricción:
|
||||
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@@ -2880,103 +3120,114 @@
|
||||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||||
<script src="/Metronic/assets/global/plugins/jquery.pulsate.min.js"></script>
|
||||
<script src="/Scripts/DataTables.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function chk1Change(chk1, img1) {
|
||||
if (chk1.checked == true)
|
||||
$get(img1).style.display = 'inline';
|
||||
else
|
||||
if (chk1.checked == true)
|
||||
$get(img1).style.display = 'inline';
|
||||
else
|
||||
$get(img1).style.display = 'none';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function chk1Change(chk1, img1) {
|
||||
if (chk1.checked == true)
|
||||
$get(img1).style.display = 'inline';
|
||||
else
|
||||
$get(img1).style.display = 'none';
|
||||
}
|
||||
|
||||
function chkSeleccionarEstatus(chkall, cssChk) {
|
||||
$("." + cssChk + " input").not(this).prop('checked', chkall.checked);
|
||||
}
|
||||
|
||||
function chkMostrarLimitesCambio() {
|
||||
if (chkMostrarLimites.checked == true)
|
||||
$get('DivLimites').style.display = 'inline';
|
||||
else
|
||||
if (chkMostrarLimites.checked == true)
|
||||
$get('DivLimites').style.display = 'inline';
|
||||
else
|
||||
$get('DivLimites').style.display = 'none';
|
||||
}
|
||||
|
||||
|
||||
//function AplicaRestriccion(chk) {
|
||||
// if (chk.checked) {
|
||||
// $("#C_DivRestricciones").show(500)
|
||||
// } else {
|
||||
// $("#C_DivRestricciones").hide(500)
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//function AplicaRestriccion(chk) {
|
||||
// if (chk.checked) {
|
||||
// $("#C_DivRestricciones").show(500)
|
||||
// } else {
|
||||
// $("#C_DivRestricciones").hide(500)
|
||||
// }
|
||||
//}
|
||||
|
||||
function CambiaHoraInicio(txt) {
|
||||
$(".HI").val(txt.value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function CambiaHoraFin(txt) {
|
||||
$(".HF").val(txt.value);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function OrdenarGV() {
|
||||
var Tam = TamañoVentana();
|
||||
var Alto = Tam.height - 270;
|
||||
var Tam = TamañoVentana();
|
||||
var Alto = Tam.height - 270;
|
||||
if (Alto < 100) {
|
||||
Alto = 100;
|
||||
}
|
||||
}
|
||||
$('#GvModulosAcceso').DataTable({
|
||||
scrollY: Alto + 'px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
scrollY: Alto + 'px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
info: false
|
||||
});
|
||||
});
|
||||
$('#GvModulosAcceso').parent().parent().children().first().css("position", "static");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function OrdenarGVModulosAsignar() {
|
||||
$('#GvModulosAsignar').DataTable({
|
||||
retrieve: true,
|
||||
scrollY: '300px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
retrieve: true,
|
||||
scrollY: '300px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
info: false
|
||||
});
|
||||
});
|
||||
$('#GvModulosAsignar').parent().parent().children().first().css("position", "static");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function OrdenarGVPermisosAsignar() {
|
||||
$('#GvPermisosAsignar').DataTable({
|
||||
retrieve: true,
|
||||
scrollY: '300px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
retrieve: true,
|
||||
scrollY: '300px',
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
searching: false,
|
||||
info: false
|
||||
});
|
||||
});
|
||||
$('#GvPermisosAsignar').parent().parent().children().first().css("position", "static");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$('.ajax__tab_outer').click(function () {
|
||||
$.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function pageLoad() {
|
||||
if ($('#DivAdvertencia')) {
|
||||
$("#DivAdvertencia").pulsate("destroy");
|
||||
$("#DivAdvertencia").pulsate("destroy");
|
||||
jQuery('#DivAdvertencia').pulsate({
|
||||
color: "#faebcc"
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function ADSReady() {
|
||||
$.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</asp:Content>
|
||||
|
||||
@@ -2473,7 +2473,17 @@ Partial Class Sistemas_UsuarioDetalle
|
||||
End Sub
|
||||
#Region "GRIDVIEW"
|
||||
|
||||
Protected Sub GvEstatusUsuariosREQ_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstatusUsuariosREQ.RowDataBound
|
||||
Protected Sub GvEstatusUsuariosREQ_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstatusUsuariosREQ.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.Header Then
|
||||
For i As Integer = 2 To GvEstatusUsuariosREQ.Columns.Count - 1
|
||||
Dim CveEstatus As Integer = GvEstatusUsuariosREQ.Columns(i).FooterText.ToEntero
|
||||
Dim idIndex As Integer = i - 1
|
||||
If CveEstatus > -1 Then
|
||||
e.Row.FCLabel($"LblTituloEstatusREQ{idIndex}").Text = GvEstatusUsuariosREQ.Columns(i).HeaderText
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
Dim tmpT As DataTable = DTEstatusSubProyectos.FiltraParametros(String.Format("CveSubProyecto = {0}", e.Row.DBCampo("CveSubProyecto").ToString))
|
||||
|
||||
@@ -2487,6 +2497,7 @@ Partial Class Sistemas_UsuarioDetalle
|
||||
Dim hdnCveEstatusUsuarios As HiddenField = e.Row.FCHiddenField($"hdnCveEstatusUsuarios{idIndex}")
|
||||
Dim lblSuperior As Label = e.Row.FCLabel($"lblSuperior{idIndex}")
|
||||
Dim lblLimites As Label = e.Row.FCLabel($"lblLimites{idIndex}")
|
||||
chkEstatus.CssClass = $"chkEstatusREQ{idIndex}"
|
||||
|
||||
Dim dtTemp As New DataTable
|
||||
Dim existenPermisosActuales As Boolean
|
||||
@@ -2599,7 +2610,18 @@ Partial Class Sistemas_UsuarioDetalle
|
||||
Next
|
||||
End If
|
||||
End Sub
|
||||
Protected Sub GvEstatusUsuariosOC_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstatusUsuariosOC.RowDataBound
|
||||
Protected Sub GvEstatusUsuariosOC_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvEstatusUsuariosOC.RowDataBound
|
||||
|
||||
If e.Row.RowType = DataControlRowType.Header Then
|
||||
For i As Integer = 2 To GvEstatusUsuariosOC.Columns.Count - 1
|
||||
Dim CveEstatus As Integer = GvEstatusUsuariosOC.Columns(i).FooterText.ToEntero
|
||||
Dim idIndex As Integer = i - 1
|
||||
If CveEstatus > -1 Then
|
||||
e.Row.FCLabel($"LblTituloEstatus{idIndex}").Text = GvEstatusUsuariosOC.Columns(i).HeaderText
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
Dim tmpT As DataTable = DTEstatusSubProyectos.FiltraParametros(String.Format("CveSubProyecto = {0}", e.Row.DBCampo("CveSubProyecto").ToString))
|
||||
|
||||
@@ -2612,8 +2634,8 @@ Partial Class Sistemas_UsuarioDetalle
|
||||
Dim ImgClasificaciones As LinkButton = e.Row.FCLinkButton($"ImgClasificaciones{idIndex}")
|
||||
Dim hdnCveEstatusUsuarios As HiddenField = e.Row.FCHiddenField($"hdnCveEstatusUsuarios{idIndex}")
|
||||
Dim lblSuperior As Label = e.Row.FCLabel($"lblSuperior{idIndex}")
|
||||
Dim lblLimites As Label = e.Row.FCLabel($"lblLimites{idIndex}")
|
||||
|
||||
Dim lblLimites As Label = e.Row.FCLabel($"lblLimites{idIndex}")
|
||||
chkEstatus.CssClass = $"chkEstatus{idIndex}"
|
||||
|
||||
Dim dtTemp As New DataTable
|
||||
Dim existenPermisosActuales As Boolean
|
||||
|
||||
Reference in New Issue
Block a user