<commit_before><article>
  <h1>Mis Cursos</h1>

  <div>
    <select id="ciclo_select">
      <option value="{CICLO}">{CICLO}</option>
    </select>

    <select id="curso_select">
      <option value="{CURSO}">{CURSO}</option>
    </select>

    <select id="seccion_select">
      <option value="{SECCION}">{SECCION}</option>
    </select>

    <input type="button" id="ver_evaluacion" value="Ver Evaluacion" onclick="location='index.php?ctl=evaluacion'" />
    <input type="button" id="ver_asistencias" value="Ver Asistencias" onclick="location='index.php?ctl=asistencias'" />
  </div>

  <form>
    <fieldset>
      <label>Clave de la Materia</label>
      <br>
      <input type="text" name="clave_materia" placeholder="Clave de la Materia" id="clave_materia" onblur="validaNRC('clave_materia')" oninput="enable_button('guardar')" />
      <br>

      <label>NRC</label>
      <br>
      <input type="text" name="nrc" placeholder="NRC" id="nrc" onblur="validaNRC('nrc')" oninput="enable_button('guardar')" />
      <br>
    
      <label>Materia</label>
      <br>
      <input type="text" name="materia" id="materia" placeholder="Materia" onblur="validaMateria('materia')" oninput="enable_button('guardar')" />
      <br>

      <label>Seccion</label>
      <br>
      <input type="text" name="seccion" id="seccion" placeholder="Seccion" onblur="validaSeccion('seccion')" oninput="enable_button('guardar')" />
      <br>

      <label>Academia</label>
      <br>
      <input type="text" name="academia" id="academia" placeholder="Academia" oninput="enable_button('guardar')">
        <option></option>
      </select>
      <br>

      <label>Horarios</label>
      <input type="button" id="b_diaclase" class="diaClase" value="+">
      <br>
      <div id="wrapper" class="wrapper">
        {HORARIO}
      </div>
    </fieldset>
  </form>
  <br>
  <br>

  <div>
    <input type="button" id="agregr" value="Agregar Curso" onclick="toggle_modal_agregar()">
    <input type="button" id="clonar" value="Clonar Curso" onclick="toggle_modal_clonar()">
    <input type="button" id="guardar" value="Guardar Cambios" disabled>
  </div>

  <div id="modal">
    <div id="modal_bg"></div>
    <div id="modal_win">
      <form>
        <fieldset>
          <h3>Agregar curso</h3>
         
          <label>Ciclo</label>
		      <br />
		      <select id="new_ciclo">
		        <option id="{NEWCICLO}">{NEWCICLO}</option>
		      </select>
		      <br />

		      <label>Clave de la materia</label>
		      <br />
		      <input type="text" name="clave" id="clave" placeholder="Clave de la materia">
          <br />

		      <label>NRC</label>
		      <br />
          <input type="text" name="nrc" placeholder="NRC" id="new_nrc" onblur="validaNRC('new_nrc')" />
          <br />

          <label>Materia</label>
          <br>
          <input type="text" name="materia" id="new_materia" placeholder="Materia" onblur="validaMateria('new_materia')" disabled />
          <br />

          <label>Seccion</label>
          <br />
          <input type="text" name="seccion" id="new_seccion" placeholder="Seccion" onblur="validaSeccion('new_seccion')" />
          <br />

          <label>Academia</label>
          <br />
		      <input type="text" name="new_academia" id="new_academia" placeholder="Academia" disabled />
          <br />

          <label>Horarios</label>
          <input type="button" id="b_diaclase_m" class="diaClase" value="+">
          <br />
          <div id="wrapper_m" class="wrapper">
            {HORARIO}
          </div>
          <br />
          <br />

          <div>
            <input type="submit" id="agregar" value="Agregar" />
            <input type="button" value="Cancelar" onclick="toggle_modal()" />
          </div>
        </fieldset>
      </form>
    </div>
  </div>

  <script type="text/javascript" src="www/js/cursos.js">
  <script type="text/javascript">
    jQuery('#agregarDiaDeClase').agregaDiaDeClase('#inputWrapper');
  </script>
</article><commit_msg>accion para el boton agregar dia de clase<commit_after><article>
  <h1>Mis Cursos</h1>

  <div>
    <select id="ciclo_select">
      <option value="{CICLO}">{CICLO}</option>
    </select>

    <select id="curso_select">
      <option value="{CURSO}">{CURSO}</option>
    </select>

    <select id="seccion_select">
      <option value="{SECCION}">{SECCION}</option>
    </select>

    <input type="button" id="ver_evaluacion" value="Ver Evaluacion" onclick="location='index.php?ctl=evaluacion'" />
    <input type="button" id="ver_asistencias" value="Ver Asistencias" onclick="location='index.php?ctl=asistencias'" />
  </div>

  <form>
    <fieldset>
      <label>Clave de la Materia</label>
      <br>
      <input type="text" name="clave_materia" placeholder="Clave de la Materia" id="clave_materia" onblur="validaNRC('clave_materia')" oninput="enable_button('guardar')" />
      <br>

      <label>NRC</label>
      <br>
      <input type="text" name="nrc" placeholder="NRC" id="nrc" onblur="validaNRC('nrc')" oninput="enable_button('guardar')" />
      <br>
    
      <label>Materia</label>
      <br>
      <input type="text" name="materia" id="materia" placeholder="Materia" onblur="validaMateria('materia')" oninput="enable_button('guardar')" />
      <br>

      <label>Seccion</label>
      <br>
      <input type="text" name="seccion" id="seccion" placeholder="Seccion" onblur="validaSeccion('seccion')" oninput="enable_button('guardar')" />
      <br>

      <label>Academia</label>
      <br>
      <input type="text" name="academia" id="academia" placeholder="Academia" oninput="enable_button('guardar')">
        <option></option>
      </select>
      <br>

      <label>Horarios</label>
      <input type="button" id="b_diaclase" class="diaClase" value="+">
      <br>
      <div id="wrapper" class="wrapper">
        {HORARIO}
      </div>
    </fieldset>
  </form>
  <br>
  <br>

  <div>
    <input type="button" id="agregr" value="Agregar Curso" onclick="toggle_modal_agregar()">
    <input type="button" id="clonar" value="Clonar Curso" onclick="toggle_modal_clonar()">
    <input type="button" id="guardar" value="Guardar Cambios" disabled>
  </div>

  <div id="modal">
    <div id="modal_bg"></div>
    <div id="modal_win">
      <form>
        <fieldset>
          <h3>Agregar curso</h3>
         
          <label>Ciclo</label>
		      <br />
		      <select id="new_ciclo">
		        <option id="{NEWCICLO}">{NEWCICLO}</option>
		      </select>
		      <br />

		      <label>Clave de la materia</label>
		      <br />
		      <input type="text" name="clave" id="clave" placeholder="Clave de la materia">
          <br />

		      <label>NRC</label>
		      <br />
          <input type="text" name="nrc" placeholder="NRC" id="new_nrc" onblur="validaNRC('new_nrc')" />
          <br />

          <label>Materia</label>
          <br>
          <input type="text" name="materia" id="new_materia" placeholder="Materia" onblur="validaMateria('new_materia')" disabled />
          <br />

          <label>Seccion</label>
          <br />
          <input type="text" name="seccion" id="new_seccion" placeholder="Seccion" onblur="validaSeccion('new_seccion')" />
          <br />

          <label>Academia</label>
          <br />
		      <input type="text" name="new_academia" id="new_academia" placeholder="Academia" disabled />
          <br />

          <label>Horarios</label>
          <input type="button" id="b_diaclase_m" class="diaClase" value="+">
          <br />
          <div id="wrapper_m" class="wrapper">
            {HORARIO}
          </div>
          <br />
          <br />

          <div>
            <input type="submit" id="agregar" value="Agregar" />
            <input type="button" value="Cancelar" onclick="toggle_modal()" />
          </div>
        </fieldset>
      </form>
    </div>
  </div>

  <script type="text/javascript" src="www/js/cursos.js">
  <script type="text/javascript">
    jQuery('.diaClase').agregaDiaDeClase('.wrapper');
  </script>
</article>
{'fraction_non_alphanumeric': 0.18231631382316313, 'fraction_numerical': 0.00099626400996264, 'mean_word_length': 2.7917847025495752, 'pattern_counts': {'":': 0, '<': 253, '<?xml version=': 0, '>': 253, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5793389', 'n_tokens_mistral': 2935, 'n_tokens_neox': 2825, 'n_words': 470}