<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminTemplate.Master" AutoEventWireup="true" CodeBehind="AdminCursos.aspx.cs" Inherits="QuintoCaminoV2.Admin.AdminCursos" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div id="page-wrapper">
        
       <div class="container-fluid">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h1 class="page-header">
                            CURSOS <small> - Administra cursos</small>
                        </h1>
                        <ol class="breadcrumb">
                            <li class="active">
                                <i class="fa fa-dashboard"></i> Administrar
                            </li>
                        </ol>
                    </div>
                </div>


      <asp:GridView ID="grdCursos" runat="server" OnRowDeleting="grdCursos_RowDeleting" OnRowDataBound="grdCursos_RowDataBound"  OnRowCommand="grdCursos_RowCommand"  DataKeyNames="intCursoId"  AutoGenerateColumns="False" CssClass="table table-bordered table-hover">
        <AlternatingRowStyle BackColor="White" />
           <Columns>
               <asp:BoundField DataField="intCursoId" HeaderText="ID" />
               <asp:BoundField DataField="vchTitulo" HeaderText="Titulo" />
               <asp:BoundField DataField="vchDescripcion"  HeaderText="Descripción" />
               <asp:BoundField DataField="decCosto" HeaderText="Costo" />
               <asp:CheckBoxField DataField="bitActivo" HeaderText="Activo" />
               <asp:ButtonField CommandName="detail" ControlStyle-CssClass="btn btn-info"  ButtonType="Button" Text="Detalle"  >   
                   </asp:ButtonField>
               <asp:ButtonField CommandName="delete" ControlStyle-CssClass="btn btn-info" ButtonType="Button" Text="Borrar"  >              
                </asp:ButtonField>
            
           </Columns>                        
       </asp:GridView>
           <input type="submit"  class="btn btn-primary btn-lg" id="btnGuardar" value="+ Agregar Curso" />
       </div> 
       </div>

    
        <div id="modalSignUp" class="modal fade">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">AGREGAR CURSO</h4>
              </div>
              <div class="modal-body">
                <div class="row">
                   <div class="col-lg-12">
                    <label for="InputName">Tituo del curso</label>
                        <div class="input-group">
                            <input type="text" class="form-control"  name="txtTitulo"  id="txtTitulo" />
                        </div>
                    </div>
                </div>
                <div class="row">
                  <div class="col-lg-12">
                    <label for="InputName">Descripción</label>
                        <div class="input-group">
                            <input type="text"  class="form-control"  name="txtDesCripcion"  id="txtDesCripcion" />
                        </div>
                    </div>
                </div>                
                 <div class="row">
                  <div class="col-lg-12">
                    <label for="InputName">Costo</label>
                        <div class="input-group">
                            <input type="text"   class="form-control"  name="txtCosto"  id="txtCosto" />
                        </div>
                    </div>
                </div>

              </div>
              <div class="modal-footer">
                <button type="button" class="btn btn-default" id="btnGuardaCurso" name="btnGuardaCurso" >Guardar</button>                
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>                
              </div>
            </div><!-- /.modal-content -->
          </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->


    
  


  
</asp:Content>
