127 lines
11 KiB
Plaintext
127 lines
11 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatPac.aspx.vb" Inherits="Sistemas_CatPAC" %>
|
|
|
|
<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 de PAC
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
|
|
<asp:UpdatePanel runat="server" ID="UpDatos">
|
|
<ContentTemplate>
|
|
<table border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
<table class="table table-striped table-advance table-hover widthall">
|
|
<thead>
|
|
<tr class="Titulos">
|
|
<th width="200px">
|
|
<asp:LinkButton ID="LbLimite" runat="server" CausesValidation="false" Text="" CommandArgument="LimiteMaximo;0">
|
|
PAC
|
|
<asp:Literal ID="ImgLimiteMaximo" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="200px">
|
|
<asp:LinkButton ID="LbComision" runat="server" CausesValidation="false" Text="" CommandArgument="Comision;0">
|
|
Estatus
|
|
<asp:Literal ID="ImgComision" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
|
|
<th width="200px">
|
|
<asp:LinkButton ID="LbEsquema" runat="server" CausesValidation="false" Text="" CommandArgument="EsquemaComision;0">
|
|
Usuario
|
|
<asp:Literal ID="ImgEsquemaComision" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="165px">Comandos</th>
|
|
</tr>
|
|
</thead>
|
|
<tr>
|
|
<td style="text-align: left">
|
|
<asp:TextBox ID="TxtPAC" runat="server" Width="165px"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVPAC" runat="server" ControlToValidate="TxtPAC" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''PAC''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpGuardarCaracteristicas"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCOLimite" runat="server" HighlightCssClass="vco" TargetControlID="RFVPAC" Width="300px"></ajax:ValidatorCalloutExtender>
|
|
</td>
|
|
<td align="center">
|
|
<asp:CheckBox ID="ChkEstatus" runat="server" CssClass="md-checksd2" Checked="true" /></td>
|
|
<td> </td>
|
|
<td style="text-align: center">
|
|
<asp:LinkButton ID="LbAgregarC" runat="server" CausesValidation="true" CssClass="Texto" Text="Agregar" ValidationGroup="GrpGuardarCaracteristicas"></asp:LinkButton></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<asp:UpdatePanel ID="UpGvPac" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GVPac" runat="server" AutoGenerateColumns="False" DataKeyNames="CvePAC" EmptyDataText="No se encontraron PACS." ToolTip="Listado de PACS" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField ItemStyle-Width="200px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlPAC" runat="server" Text='<%# Eval("PAC", "{0}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:TextBox ID="TxtPAC" runat="server" CausesValidation="true" MaxLength="50" Text='<%# Eval("PAC")%>' Width="184px"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVCaracteristica" runat="server" ControlToValidate="TxtPAC" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''PAC''</b> es necesario, por favor ingréselo."></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCOCaracteristica" runat="server" HighlightCssClass="vco" TargetControlID="RFVCaracteristica" Width="100px"></ajax:ValidatorCalloutExtender>
|
|
</EditItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="200px" >
|
|
<ItemTemplate>
|
|
<asp:Label ID="LtlEstatus" runat="server" Text='<%# Eval("Estatus") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<asp:CheckBox ID="ChkEstatus" CssClass="md-checksd2" runat="server" />
|
|
</EditItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-Width="193px" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlUsuario" runat="server" Text='<%# Eval("Usuario") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Editar" ItemStyle-Width="89px">
|
|
<EditItemTemplate>
|
|
<center>
|
|
<asp:LinkButton ID="ImageButton1" runat="server" AlternateText="Actualizar" CausesValidation="True" CommandName="Update" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-check'></i>"/>
|
|
<asp:LinkButton ID="ImageButton2" runat="server" AlternateText="Cancelar" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-circle btn-sm red" Text="<i class='fa fa-times'></i>" />
|
|
</center>
|
|
</EditItemTemplate>
|
|
<ItemTemplate>
|
|
<asp:LinkButton ID="ImageButton3" runat="server" AlternateText="Editar" CausesValidation="False" CommandName="Edit" CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-pencil'></i>" />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Eliminar" ItemStyle-Width="83px">
|
|
<ItemTemplate>
|
|
<asp:LinkButton ID="ImageButton4" runat="server" AlternateText="Eliminar" CausesValidation="False" CommandName="Delete" 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>
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
</script>
|
|
</asp:Content>
|
|
|