<%@ Page Language="VB" AutoEventWireup="false" CodeFile="BuscarCarnet.aspx.vb" Inherits="ETOZ_BuscarCarnet" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html>
<html lang="es">
<head id="Head1" runat="server">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" rel="stylesheet" />
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" rel="stylesheet" />
    <link href="../css/Modern_UI/Principal.css" rel="stylesheet" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement && window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }
    </script>
</head>

<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />

        <div class="gov-header">
            <div class="gov-header-left">
                <img src="../images/logos/Imagen_Ambiente.png" alt="Bogotá D.C." />
            </div>
            <div class="gov-header-center">
                <div class="gov-entity">Secretaría Distrital de Salud</div>
                <div class="gov-area">Subsecretaría de Salud Pública</div>
                <div class="gov-program">Vigilancia en Salud Ambiental</div>
            </div>
            <div class="gov-header-right">
                <img src="../images/logos/home_negocios_rentables.PNG" alt="Salud Ambiental" />
            </div>
        </div>
        <div class="container-fluid form-container">
            <div class="panel panel-default">
                <div class="panel-heading form-title text-center">
                    BUSCAR CARNET
                </div>
                <div class="panel-body">
                    <br />
                    <div class="row">
                         <div class="col-md-6 col-sm-12">
                            <label class="form-label">
                                No. Carnet
                            </label>
                            <telerik:RadTextBox ID="txtCarnet"
                                runat="server"
                                Width="100%"
                                Skin="Bootstrap" />
                        </div>
                        <br />
                        <div class="col-md-6 col-sm-12 d-flex">
                            <asp:LinkButton ID="btnBuscarCarnet"
                                runat="server"
                                CssClass="btn btn-ingresarformSecun d-inline-flex align-items-center gap-1 mx-auto"
                                OnClick="btnBuscarCarnet_Click">
                                <i class="bi bi-search"></i>
                                Buscar Número de carnet
                            </asp:LinkButton>
                        </div>                    
                    </div>
                    <br />
                    <div class="row" id="panelResultado" runat="server" visible="false">
                        <div class="col-md-4 col-sm-12">
                            <label class="form-label">Nombre del animal</label>
                            <telerik:RadTextBox ID="txtNombreAnimal"
                                runat="server"
                                Width="100%"
                                Skin="Bootstrap"
                                Enabled="false" />
                        </div>
                        <div class="col-md-4 col-sm-12">
                            <label class="form-label">Especie</label>
                            <telerik:RadTextBox ID="txtEspecie"
                                runat="server"
                                Width="100%"
                                Skin="Bootstrap"
                                Enabled="false" />
                        </div>
                        <div class="col-md-4 col-sm-12">
                            <label class="form-label">Raza</label>
                            <telerik:RadTextBox ID="txtRaza"
                                runat="server"
                                Width="100%"
                                Skin="Bootstrap"
                                Enabled="false" />
                        </div>
                    </div>
                    <br />
                    <div class="row">
                        <div class="col-xs-12 text-center action-bar">
                            <asp:LinkButton ID="btnInsertar" runat="server"
                                CssClass="btn btn-success btn-sm btn-icon-img btn-icon-vertical"
                                    OnClick="btnInsertar_Click">
                                <img src="../Imagenes/new_icon/insert.png" alt="Insertar" />
                                <span>Insertar</span>
                            </asp:LinkButton>
                            <button type="button"
                                class="btn btn-danger btn-sm btn-icon-img btn-icon-vertical"
                                onclick="window.close();">
                                <img src="../Imagenes/new_icon/close_form.png" alt="Cerrar formulario" />
                                <span>Cerrar</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>