<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Proyecto Individual</h3>
        </div>
    </div>

    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Registrar un nuevo proyecto individual</h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <form id="form-nueva" data-parsley-validate class="form-horizontal form-label-left"
                        enctype="multipart/form-data">
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-md-left" for="nombre">Nombre del
                                    docente<span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <input type="text" id="nombre" name="nombre" required="required" class="form-control"
                                    disabled>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-md-left" for="nombreP">Nombre del
                                    proyecto<span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <input type="text" id="nombreP" name="nombreP" required="required"
                                    class="form-control">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="label-align" for="periodo">Periodo<span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <select id="periodo" name="periodo" required="required"
                                    class="form-control form-control-sm">
                                    <option value="">--Seleccione--</option>
                                    @foreach ($periodo as $pe)
                                        <option value="{{ $pe->id }}">{{ $pe->nombre }}</option>
                                    @endforeach
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-md-left" for="objetivo">Objetivo<span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="objetivo" name="objetivo" rows="3" required="required" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-md-left" for="descripcion">Descripción<span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="descripcion" name="descripcion" rows="3" required="required" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-md-left" for="metas">Metas<span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="metas" name="metas" rows="3" required="required" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-md-left" for="actividades">Actividades<span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="actividades" name="actividades" rows="3" required="required" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-md-left" for="archivo">Documentos anexados
                                    que acreditan el avance <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <div class="input-group">
                                    @csrf
                                    <label for="documento" class="subir" id="basic-addon1">
                                        <i class="fa fa-cloud-upload"></i> Subir documento
                                    </label>
                                    <input id="documento" name="documento"
                                        onchange="sacardocumentos('documento','archivos');" required type="file"
                                        accept="image/jpeg,image/png,image/webp" style='display: none;' />
                                    <input id="archivos" name="archivos" type="text" class="form-control"
                                        placeholder="No eligio documentos" aria-describedby="basic-addon1" readonly />
                                </div>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">

                                <label class="text-md-left" for="conclusion">Conclusiones<span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="conclusion" name="conclusion" rows="3" required="required" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="ln_solid"></div>
                        <div class="mb-1 row">
                            <div class="col-md-3 col-sm-12"></div>
                            <div class="col-md-6 col-sm-12">
                                <div class="row">
                                    <div class="col">
                                        <button class="btn btn-outline-dark btn-block" type="button"
                                            onclick="history.back()"><i class="fa far fa-reply"></i> Regresar</button>
                                    </div>
                                    <div class="col">
                                        <button class="btn btn-outline-primary btn-block" type="reset"
                                            onclick="limpiar_general()">Limpiar</button>
                                    </div>
                                    <div class="col">
                                        <button type="button" onclick="add_proyectoindivudual(this.form)"
                                            class="btn btn-outline-success btn-block" form="form-nueva">Enviar <i
                                                class=" fa fas fa-paper-plane"></i></button>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-3 col-sm-12"></div>
                        </div>
                    </form>
                    <br>

                </div>
            </div>
        </div>
    </div>
</div>
