12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {% extends 'ElVerdaderoHeader.html' %}
- {% block head %}
- {{MaestroId}}
- {% endblock %}
-
- {% block css %}
- <link rel='stylesheet' href ='../../../static/css/estilo.css'>
- {% endblock %}
- {% block body %}
- <h1 class = 'text-center text-white bg-dark'>Asistencia</h1>
- <div class ='row'>
- <div class = 'col-1'>
- </div>
-
- <div class="col-7">
- <form action="/dashboard/{{MaestroId}}/{{ofertaId}}/addAsistencia" method="POST"></form>
- <table class='table table-bordered'>
- <thead>
- <tr>
- <th>Estudiantes</th>
- <th>Presente</th>
- <th>Tarde</th>
- <th>Ausente</th>
- <th>Excusado</th>
- </tr>
- </thead>
- <tbody>
- {% set count = namespace(value=0) %}
- {% for estud in estudiantes %}
- <tr>
- <td>{{estud.apellidos}} {{estud.nombres}}</td>
- <div class = "form-check form-check-inline">
- <td> <div class = "form-check form-check-inline"><input class="form-check-input" type="radio" name="Asistencia[{{count.value}}]" id="inlineRadio1" value="0"></div> </td>
- <td> <div class = "form-check form-check-inline"><input class="form-check-input" type="radio" name="Asistencia[{{count.value}}]" id="inlineRadio1" value="1"></div> </td>
- <td> <div class = "form-check form-check-inline"><input class="form-check-input" type="radio" name="Asistencia[{{count.value}}]" id="inlineRadio1" value="2"></div> </td>
- <td> <div class = "form-check form-check-inline"><input class="form-check-input" type="radio" name="Asistencia[{{count.value}}]" id="inlineRadio1" value="3"></div> </td>
-
- </tr>
- {% set count.value = count.value + 1 %}
- {% endfor %}
- </tbody>
- </table>
- <button type='submit' class='btn btn-success'>Someter</button>
- </div>
- <div class ='col-4'>
- <label for="Fecha">Fecha (Deje en blanco si la asistencia es de hoy):</label>
- <input type="date" id="Fecha" name="Fecha">
- <input type = 'hidden' name='count' value ={{count.value}}>
-
-
- </form>
- </div>
-
- </div>
-
-
-
- {% endblock %}
|