123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
- {% block content %}
- {% if member.role.role == 'ROLE_JURY_PRESIDENT' %}
- <a class="btn" href="">Asignar al azar</a>
- <hr>
- {% endif %}
- <form>
- <table class="table table-bordered">
- <tbody>
- <tr>
- <td>Revisar</td>
- {% for member in members %}
- {% if _u.user_id == member.user.userId %}
- <td class="hover">
- {% else %}
- <td>
- {% endif %}
- {# member.user.userId #}
- {% if member.role.role == 'ROLE_JURY_PRESIDENT' %}
- P{{ loop.index }}
- {% elseif member.role.role == 'ROLE_JURY_MEMBER' %}
- M{{ loop.index -1}}
- {% else %}
- S{{ loop.index -1}}
- {% endif %}
- </td>
- {% endfor %}
- <td>Estado</td>
- </tr>
- {% for attempt in attempts %}
- <tr>
- <td>
- Estudiante #{{ attempt.user.getUserId }}
- </td>
- {% for member in members %}
- {% if _u.user_id == member.user.userId %}
- {% set memberHover = 'hover' %}
- {% else %}
- {% set memberHover = '' %}
- {% endif %}
- {% if relations[attempt.user.getUserId][member.user.userId] == 3 %}
- {% set checked = 'checked="checked"' %}
- <td class="{{ memberHover }}">
- <div class="success">
- {% else %}
- {% set checked = '' %}
- <td class="{{ memberHover }}">
- <div>
- {% endif %}
- <input {{ checked }} id="check_{{ attempt.user.getUserId }}_{{ member.user.userId }}" type="checkbox">
- </div>
- </td>
- {% endfor %}
- <td>
- {% if my_status_for_student[attempt.user.getUserId] %}
- <a href="#" class="btn btn-success disabled">Evaluado</a>
- {% else %}
- <a href="{{ url('jury_member.controller:scoreAttemptAction', { 'exeId': attempt.getExeId, 'juryId': jury.id }) }}" class="btn btn-warning">Evaluar</a>
- {% endif %}
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </form>
- <hr>
- {% if member.role.role == 'ROLE_JURY_PRESIDENT' %}
- <a class="btn" href="">Cierre de proceso</a>
- {% endif %}
- {% endblock %}
|