student_boss_report.tpl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {% if allow_skill_tool %}
  2. <div class="btn-group">
  3. <a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">
  4. {{ 'SkillsWheel' | get_lang }}
  5. </a>
  6. </div>
  7. {% endif %}
  8. <h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1>
  9. <form class="form-inline" method="post" action="{{ _p.web_self }}">
  10. <label>{{ 'Students' | get_lang }}</label>
  11. <select name="student" id="student">
  12. <option value="0">{{ 'Select' | get_lang }}</option>
  13. {% for student in followed_students %}
  14. <option value="{{ student.user_id }}" {{ (student.user_id == selected_student) ? 'selected' : '' }}>
  15. {{ student.completeName }}
  16. </option>
  17. {% endfor %}
  18. </select>
  19. <button type="submit" class="btn btn-primary">{{ 'Search' | get_lang }}</button>
  20. </form>
  21. {% if rows %}
  22. <table class="table">
  23. <thead>
  24. <tr>
  25. <th>{{ 'Student' | get_lang }}</th>
  26. <th>{{ 'SkillsAcquired' | get_lang }}</th>
  27. <th>{{ 'Date' | get_lang }}</th>
  28. <th>{{ 'Course' | get_lang }}</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. {% for row in rows %}
  33. <tr>
  34. <td>{{ row.complete_name }}</td>
  35. <td>{{ row.skill_name }}</td>
  36. <td>{{ row.achieved_at }}</td>
  37. <td><img src="{{ row.course_image }}" alt="{{ row.course_name }}"> {{ row.course_name }}</td>
  38. </tr>
  39. {% endfor %}
  40. </tbody>
  41. </table>
  42. {% endif %}