<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminTemplate.Master" AutoEventWireup="true" CodeBehind="AdminCharlas.aspx.cs" Inherits="QuintoCaminoV2.Admin.AdminCharlas" %>
<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">
                            CHARLAS <small> - Administra charlas</small>
                        </h1>
                        <ol class="breadcrumb">
                            <li class="active">
                                <i class="fa fa-dashboard"></i> Administrar
                            </li>
                        </ol>
                    </div>
                </div>
           <asp:GridView ID="grdCharlas" runat="server" CssClass="table table-bordered table-hover" DataKeyNames="intCharlaId" AutoGenerateColumns="False"  OnRowDataBound="grdCharlas_RowDataBound" OnRowDeleting="grdCharlas_RowDeleting" OnRowCommand="grdCharlas_RowCommand" >
                     
                        <Columns>
                            <asp:BoundField DataField="intCharlaId" />
                            <asp:BoundField DataField="vchTitulo" HeaderText="Titulo" />
                            <asp:BoundField DataField="vchFecha" DataFormatString="{0:dd-M-yyyy}" HeaderText="Fecha curso" />
                            <asp:BoundField DataField="vchDescripcionCorta" HeaderText="Descripción" />
                            <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 Charla" />
        </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 CHARLA</h4>
              </div>
              <div class="modal-body">
              <div class="row">
                       <div class="col-lg-12">
                        <label for="InputName">Titulo de la charla</label><asp:HiddenField runat="server" ID="HideidCurso"  />
                            <div class="input-group">
                                <input type="text" class="form-control"   name="txtTitulo"  id="txtTitulo" />
                            </div>
                        </div>
                    </div>
                    <div class="row">
                      <div class="col-sm-9">
                        <label for="InputName">Fecha</label>
                          <%--<div id="datetimepicker1" class="input-append date">
                              <input data-format="dd/MM/yyyy hh:mm:ss" type="text"/>
                              <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                            </div>--%>
                            <div id="Div5" class="input-append date">
                                <input type="text"   name="txtFcharla"  class="form-control clsDatePicker"  id="txtFcharla" />
                               
                            </div>
                        </div>
                    </div>                
                     <div class="row">                  
                         <div class="col-sm-9">
                             <label for="InputName">Descripcion Corta</label>  
                              <div class="input-group">                    
                                <input type="text"   class="form-control"  name="txtDescCorta"   id="txtDescCorta" />
                            </div>
                          </div>                  
                    </div>

                  <div class="row">                  
                     <div class="col-sm-9">
                         <label for="InputName"></label>  
                          <div class="input-group">                    
                             <input type="button" id="open_btn" class="btn btn-primary" value="Cargar video"/>                          
                        </div>
                           <br />          
                         <label id="lblVideo"  class="form-control" ></label>
                    
                      </div>   

                              
                        <%-- <div class="col-sm-9">
                             <label for="InputName">Activo</label>  
                              <div class="input-group">                    
                                  <asp:CheckBox ID="chkActivo" runat="server" />
                            </div>
                          </div>         --%>         
                    
                </div>

              </div>
              <div class="modal-footer">
                <button type="button" class="btn btn-default" id="btnGuardaCharla" name="btnGuardaCharla" >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>

