tracking_user_overview.tpl 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <div class="summary-height">
  2. <div class="summary">
  3. <div class="summary-body">
  4. <div id="summary-user-{{ item.id }}" class="summary-item">
  5. <div class="icon">
  6. <img src="{{ item.avatar }}" class="img-circle">
  7. </div>
  8. <div class="user">
  9. <a title="{{ item.complete_name }}" href="{{ _p.web }}main/social/profile.php?u={{ item.id }}" class="name">
  10. {{ item.complete_name }}
  11. </a>
  12. <div class="username">{{ item.username }}</div>
  13. </div>
  14. <div class="summary-course">
  15. {% if item.course %}
  16. {% for course in item.course %}
  17. <div id="course-{{ course.real_id }}" class="course-item">
  18. <div class="course-info">
  19. <h5><a title="{{ 'Course'|get_lang }} - {{ course.title }}" href="{{ _p.web ~ 'main/mySpace/myStudents.php?details=true' ~ _p.web_cid_query ~ '&course=' ~ course.code ~ '&origin=tracking_course&id_session=0&student=' ~ item.id }}" target="_blank">{{ course.title }}</a></h5>
  20. <span class="code">{{ course.code }}</span>
  21. </div>
  22. <div class="box time-spent" data-toggle="tooltip" data-placement="top" title="{{ 'CourseTimeInfo'|get_lang }}">
  23. <i class="fa fa-clock-o" aria-hidden="true"></i>
  24. {{ course.time_spent }}
  25. </div>
  26. <div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'AvgStudentsProgress'|get_lang }}">
  27. <span class="kt-badge student-progress">
  28. {{ course.student_progress }} %
  29. </span>
  30. </div>
  31. <div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'AvgCourseScore'|get_lang }}">
  32. <span class="kt-badge student-score">
  33. {{ course.student_score }}
  34. </span>
  35. </div>
  36. <div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'TotalNumberOfMessages'|get_lang }}">
  37. <span class="kt-badge student-message">
  38. {{ course.student_message }}
  39. </span>
  40. </div>
  41. <div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'TotalNumberOfAssignments'|get_lang }}">
  42. <span class="kt-badge student-assignments">
  43. {{ course.student_assignments }}
  44. </span>
  45. </div>
  46. <div class="box">
  47. <span class="kt-badge student-exercises" data-toggle="tooltip" data-placement="top" title="{{ 'TotalExercisesScoreObtained'|get_lang }}">
  48. {{ course.student_assignments }}
  49. </span>
  50. </div>
  51. <div class="box">
  52. <span class="kt-badge questions-answered" data-toggle="tooltip" data-placement="top" title="{{ 'TotalExercisesAnswered'|get_lang }}">
  53. {{ course.questions_answered }}
  54. </span>
  55. </div>
  56. <div class="box box-date" data-toggle="tooltip" data-placement="top" title="{{ 'LatestLogin'|get_lang }}">
  57. {% if course.last_connection %}
  58. <span class="kt-badge last-connection">
  59. {{ course.last_connection }}
  60. </span>
  61. {% endif %}
  62. </div>
  63. </div>
  64. {% endfor %}
  65. {% else %}
  66. <div class="alert alert-warning" role="alert">
  67. {{ 'HaveNoCourse'|get_lang }}
  68. </div>
  69. {% endif %}
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>