153 lines
9.9 KiB
Plaintext
153 lines
9.9 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatSubProyectosZonas.aspx.vb" Inherits="RH_CatSubProyectosZonas" %>
|
||
|
||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content3" ContentPlaceHolderID="E" Runat="Server">
|
||
Catálogo Zonas
|
||
</asp:Content>
|
||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" Runat="Server">
|
||
|
||
</asp:Content>
|
||
<asp:Content ID="Content5" ContentPlaceHolderID="H" Runat="Server">
|
||
<asp:UpdatePanel ID="UpAcciones" runat="server">
|
||
<ContentTemplate>
|
||
<li>
|
||
<asp:LinkButton runat="server" ID="LnkAgregarZona" CssClass=" " data-toggle="tooltip" data-placement="left" title="Agregar Zona" Text="<i class='fa fa-plus'></i>Agregar Zona"></asp:LinkButton>
|
||
</li>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content7" ContentPlaceHolderID="C" Runat="Server">
|
||
|
||
|
||
|
||
<asp:UpdatePanel ID="UpGralDatos" runat="server">
|
||
<ContentTemplate>
|
||
|
||
<div class="portlet smmallpadding light bordered" id="Div2" runat="server">
|
||
<div class="portlet-title">
|
||
<div class="caption font-green">
|
||
<i class="icon-pin font-green"></i>
|
||
<span class="caption-subject bold uppercase">SUBPROYECTOS ZONAS</span>
|
||
</div>
|
||
<div class="actions">
|
||
<div class="btn-group">
|
||
|
||
</div>
|
||
|
||
<input type="text" id="TxtBuscaZona" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBuscaZona','{0}')", GvZonas.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBuscaZona','{0}')", GvZonas.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||
|
||
</div>
|
||
<div class="tools">
|
||
</div>
|
||
</div>
|
||
<div class="portlet-body form">
|
||
|
||
<asp:UpdatePanel ID="UPTabFamiliares4" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<asp:GridView ID="GvZonas" runat="server" AutoGenerateColumns="False" DataKeyNames="CveSubProyectoZona,SubProyectoZona,CveSubProyecto,Estatus" EmptyDataText="No se encontraron registros de familiares" ToolTip="Listado de familiares"
|
||
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="SubProyectoZona">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlSubProyectoZona" runat="server" Text='<%# Eval("SubProyectoZona") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="SubProyecto">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlSubProyecto" runat="server" Text='<%# Eval("SubProyecto")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="70" HeaderText="Activo">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlEstatus" runat="server" Text='<%# Eval("SEstatus") %>'>></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100" HeaderText="Estatus">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("Fecha", "{0:d}") %>'>></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-Width="200px" HeaderText="Usuario">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlUsuario" runat="server" Text='<%# Eval("Usuario") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Right" ItemStyle-Width="80px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="ImgE" OnClick="Edit_ClickZona" runat="server" AlternateText="Editar" CausesValidation="False"
|
||
CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-pencil'></i>" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="imgD" OnClick="Remove_ClickZona" runat="server" AlternateText="Eliminar" CausesValidation="False" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="confirmar" data-btn-ok-label="si" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
</Columns>
|
||
</asp:GridView>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
</ContentTemplate>
|
||
<Triggers>
|
||
</Triggers>
|
||
</asp:UpdatePanel>
|
||
|
||
|
||
|
||
<div id="divAgregarZona" class="modal ADS fade" role="dialog">
|
||
<div class="modal-dialog" style="width: 450px;">
|
||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalZona" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div class="modal-header ">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Literal ID="LtlTituloModalZona" runat="server"> Agregar Zona</asp:Literal></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtSubproyectoZona" CssClass="form-control" MaxLength="50" runat="server"></asp:TextBox>
|
||
<asp:RequiredFieldValidator ID="rfvTxtNombreFamiliar4" runat="server" ControlToValidate="TxtSubproyectoZona" ValidationGroup="GrpFamiliar" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Zona''</b> es necesario, por favor ingréselo."></asp:RequiredFieldValidator>
|
||
<label for="<%= TxtSubproyectoZona.ClientID.ToString()%>">Zona:</label>
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DdlSubproyecto" DataTextField="SubProyecto" DataValueField="CveSubproyecto" runat="server" Width="300" CssClass=" select2me form-control ">
|
||
</asp:DropDownList>
|
||
<asp:RequiredFieldValidator InitialValue="-1" ID="rfvDDLParentescoFamiliar" ControlToValidate="DdlSubproyecto" CssClass="help-block errorimput" ValidationGroup="GrpFamiliar" runat="server" ErrorMessage="Seleccione una de las opciones"></asp:RequiredFieldValidator>
|
||
<label for="<%= DdlSubproyecto.ClientID.ToString()%>">Subproyecto:</label>
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:CheckBox ID="ChkEstatus" runat="server" />
|
||
<label for="<%= ChkEstatus.ClientID.ToString()%>">Activo:</label>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<asp:Button ID="BtnAgregarZonaModal" runat="server" class="btn btn-success" Text="Agregar" ValidationGroup="GrpFamiliar" />
|
||
<button id="BtnCancelarZonaModal" runat="server" type="button" class="btn default" data-dismiss="modal">Cancelar</button>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</asp:Content>
|
||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" Runat="Server">
|
||
|
||
|
||
</asp:Content>
|
||
|