upgrade
This commit is contained in:
32
main/template/default/my_space/accessoverview.tpl
Normal file
32
main/template/default/my_space/accessoverview.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<h2 class="page-header">{{ 'DisplayAccessOverview'|get_lang }}</h2>
|
||||
{{ form }}
|
||||
<h3 class="page-header">{{ 'Results'|get_lang }}</h3>
|
||||
{{ table }}
|
||||
<script>
|
||||
$(function(){
|
||||
var courseIdEl = $('#access_overview_course_id'),
|
||||
sessionIdEl = $('#access_overview_session_id');
|
||||
|
||||
if (!courseIdEl.val()) {
|
||||
sessionIdEl
|
||||
.prop('disabled', true)
|
||||
.selectpicker('refresh');
|
||||
}
|
||||
|
||||
courseIdEl.on('change', function() {
|
||||
var self = $(this);
|
||||
|
||||
if (!this.value) {
|
||||
sessionIdEl
|
||||
.prop("disabled", true)
|
||||
.selectpicker('refresh');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sessionIdEl
|
||||
.prop("disabled", false)
|
||||
.selectpicker('refresh');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
39
main/template/default/my_space/certificate_achievement.tpl
Normal file
39
main/template/default/my_space/certificate_achievement.tpl
Normal file
@@ -0,0 +1,39 @@
|
||||
<div style="position: absolute; top: 40px; right: 50px;">
|
||||
{{ logo }}
|
||||
</div>
|
||||
|
||||
{% if title %}
|
||||
<h1 style="color:#084B8A; text-transform: uppercase; background-color:transparent;font-size: 24px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if session_title %}
|
||||
<h1 style="color:#084B8A; font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ session_title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if student_info %}
|
||||
<div style="font-weight: bold; font-size: 14px; padding-bottom: 20px; margin-top: 20px;">
|
||||
{{ 'NamesAndLastNames'|get_lang }} : {{ student_info.complete_name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if table_progress %}
|
||||
<div style="background: transparent; font-size: 12px;">
|
||||
{{ table_progress }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if subtitle %}
|
||||
<div style="padding-bottom: 20px; margin-top: 20px; font-weight: bold;">
|
||||
{{ subtitle }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if table_course %}
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_course }}
|
||||
</div>
|
||||
{% endif %}
|
||||
20
main/template/default/my_space/course_summary.tpl
Normal file
20
main/template/default/my_space/course_summary.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="summary-legend">
|
||||
{{ table }}
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('.easypiechart-blue').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#30a5ff',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
|
||||
$('.easypiechart-red').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#f9243f',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
290
main/template/default/my_space/index.tpl
Normal file
290
main/template/default/my_space/index.tpl
Normal file
@@ -0,0 +1,290 @@
|
||||
<div class="search-student">
|
||||
{{ form }}
|
||||
</div>
|
||||
|
||||
<div class="page-header">
|
||||
<h4>
|
||||
{{ 'Overview' | get_lang }}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="view-global-followed">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="card">
|
||||
<div class="content">
|
||||
<div class="card-title"><a href="{{ _p.web_main }}mySpace/student.php">{{ 'FollowedStudents' | get_lang }}</a></div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="icon-big icon-student text-center">
|
||||
<i class="fa fa-graduation-cap" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<div class="numbers">
|
||||
<h2>{{ students }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="card">
|
||||
<div class="content">
|
||||
<div class="card-title"><a href="{{ _p.web_main }}mySpace/users.php?status={{ studentboss }}">{{ 'FollowedStudentBosses' | get_lang }}</a></div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="icon-big icon-studentboss text-center">
|
||||
<i class="fa fa-address-book" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<div class="numbers">
|
||||
<h2>{{ studentbosses }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="card">
|
||||
<div class="content">
|
||||
<div class="card-title"><a href="{{ _p.web_main }}mySpace/teachers.php">{{ 'FollowedTeachers' | get_lang }}</a></div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="icon-big icon-teachers text-center">
|
||||
<i class="fa fa-book" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<div class="numbers">
|
||||
<h2>{{ numberTeachers }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="card">
|
||||
<div class="content">
|
||||
<div class="card-title"><a href="{{ _p.web_main }}mySpace/users.php?status={{ drh }}">{{ 'FollowedHumanResources' | get_lang }}</a></div>
|
||||
<div class="row">
|
||||
<div class="col-xs-5">
|
||||
<div class="icon-big icon-humanresources text-center">
|
||||
<i class="fa fa-user" aria-hidden="true"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-7">
|
||||
<div class="numbers">
|
||||
<h2>{{ humanresources }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="view-global">
|
||||
<div class="panel panel-default panel-view">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-blue" class="easypiechart" data-percent="{{ total_user }}">
|
||||
<span class="percent">{{ total_user }}</span>
|
||||
</div>
|
||||
<div class="easypiechart-link">
|
||||
<a class="btn btn-default" href="{{ _p.web_main }}mySpace/users.php">
|
||||
{{ 'FollowedUsers' | get_lang }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if _u.status == 1 and _u.is_admin %}
|
||||
<a href="{{ _p.web_main }}admin/dashboard_add_users_to_user.php?user={{ _u.id }}" class="btn btn-default btn-sm">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-orange" class="easypiechart" data-percent="{{ stats.courses }}">
|
||||
<span class="percent">{{ stats.courses }}</span>
|
||||
</div>
|
||||
<div class="easypiechart-link">
|
||||
<a class="btn btn-default" href="{{ _p.web_main }}mySpace/course.php">
|
||||
{{ 'AssignedCourses' | get_lang }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if _u.status == 1 %}
|
||||
<a href="{{ _p.web_main }}mySpace/course.php" class="btn btn-default btn-sm">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-teal" class="easypiechart" data-percent="{{ stats.assigned_courses }}">
|
||||
<span class="percent">{{ stats.assigned_courses }}</span>
|
||||
</div>
|
||||
<div class="easypiechart-link">
|
||||
<a class="btn btn-default" href="{{ _p.web_main }}mySpace/course.php?follow">{{ 'FollowedCourses' | get_lang }}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if _u.status == 1 %}
|
||||
<a href="{{ _p.web_main }}mySpace/course.php?follow" class="btn btn-default btn-sm">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-red" class="easypiechart" data-percent="{{ stats.session_list |length }}">
|
||||
<span class="percent">{{ stats.session_list |length }}</span>
|
||||
</div>
|
||||
<div class="easypiechart-link">
|
||||
<a class="btn btn-default" href="{{ _p.web_main }}mySpace/session.php">{{ 'FollowedSessions' | get_lang }}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if _u.status == 1 and _u.is_admin %}
|
||||
<a href="{{ _p.web_main }}admin/dashboard_add_sessions_to_user.php?user={{ _u.id }}" class="btn btn-default btn-sm">
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-header">
|
||||
<h4>
|
||||
{{ title }}
|
||||
</h4>
|
||||
</div>
|
||||
<div class="report-section">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AverageCoursePerStudent }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{ 'AverageCoursePerStudent' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.InactivesStudents }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{ 'InactivesStudents' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AverageTimeSpentOnThePlatform }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{ 'AverageTimeSpentOnThePlatform' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AverageProgressInLearnpath }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{ 'AverageProgressInLearnpath' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AvgCourseScore }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>{{ 'AvgCourseScore' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AveragePostsInForum }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p> {{ 'AveragePostsInForum' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-sm-3">
|
||||
<div class="item-report">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="item-report-number">
|
||||
{{ report.AverageAssignments }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p> {{ 'AverageAssignments' | get_lang }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#easypiechart-teal').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#1ebfae',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
|
||||
$('#easypiechart-orange').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#ffb53e',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
|
||||
$('#easypiechart-red').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#f9243f',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
|
||||
$('#easypiechart-blue').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#30a5ff',
|
||||
lineWidth:8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,99 @@
|
||||
{% import 'default/macro/macro.tpl' as display %}
|
||||
|
||||
{% set content %}
|
||||
<div class="summary-course" id="summary-{{ data.id }}">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="course">
|
||||
<h4 class="title">{{ data.title }}</h4>
|
||||
<div class="image">
|
||||
<img src="{{ data.image_small }}" class="img-responsive"/>
|
||||
</div>
|
||||
<div class="info">
|
||||
{% if data.course_code %}
|
||||
<p><strong>{{ 'WantedCourseCode'|get_lang }}</strong><br>{{ data.course_code }}</p>
|
||||
{% endif %}
|
||||
{% if data.category %}
|
||||
<p><strong>{{ 'CourseFaculty'|get_lang }}</strong><br>{{ data.category }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="state">
|
||||
<div class="stat-text">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> {{ data.time_spent }}
|
||||
</div>
|
||||
<div class="stat-heading">
|
||||
{{ 'TimeSpentInTheCourse'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="state">
|
||||
<div class="stat-text">
|
||||
{{ data.total_score }}
|
||||
</div>
|
||||
<div class="stat-heading">
|
||||
{{ 'TotalExercisesScoreObtained'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="list-donut">
|
||||
<div class="easy-donut">
|
||||
<div class="easypiechart-blue easypiechart" title="{{ 'Progress'|get_lang }}" data-percent="{{ data.avg_progress }}">
|
||||
<span class="percent">{{ data.avg_progress }}%</span>
|
||||
</div>
|
||||
<div class="easypiechart-legend">
|
||||
{{ 'AvgStudentsProgress'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="easy-donut">
|
||||
<div class="easypiechart-red easypiechart" title="{{ 'Progress'|get_lang }}" data-percent="{{ data.avg_score }}">
|
||||
<span class="percent">{{ data.avg_score }}%</span>
|
||||
</div>
|
||||
<div class="easypiechart-legend">
|
||||
{{ 'AvgCourseScore'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
|
||||
<dl class="dl-horizontal list-info">
|
||||
<dt>
|
||||
<span title="{{ 'TotalNumberOfMessages'|get_lang }}">{{ 'TotalNumberOfMessages'|get_lang }}</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="text-color"><i class="fa fa-comments" aria-hidden="true"></i></span>
|
||||
<span class="text-color">{{ data.number_message }}</span>
|
||||
</dd>
|
||||
<dt>
|
||||
<span title="{{ 'TotalNumberOfAssignments'|get_lang }}">{{ 'TotalNumberOfAssignments'|get_lang }}</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="text-color"><i class="fa fa-pencil" aria-hidden="true"></i></span>
|
||||
<span class="text-color">{{ data.number_assignments }}</span>
|
||||
</dd>
|
||||
<dt>
|
||||
<span title="{{ 'TotalExercisesAnswered'|get_lang }}">{{ 'TotalExercisesAnswered'|get_lang }}</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="text-color"><i class="fa fa-file-text" aria-hidden="true"></i></span>
|
||||
<span class="text-color">{{ data.questions_answered }}</span>
|
||||
</dd>
|
||||
<dt>
|
||||
<span title="{{ 'LatestLogin'|get_lang }}">{{ 'LatestLogin'|get_lang }}</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="text-color"><i class="fa fa-clock-o" aria-hidden="true"></i></span>
|
||||
<span class="text-color">{{ data.last_login }}</span>
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
{{ display.panel('',content ,'') }}
|
||||
@@ -0,0 +1,76 @@
|
||||
<div class="summary-height">
|
||||
<div class="summary">
|
||||
<div class="summary-body">
|
||||
<div id="summary-user-{{ item.id }}" class="summary-item">
|
||||
<div class="icon">
|
||||
<img src="{{ item.avatar }}" class="img-circle">
|
||||
</div>
|
||||
<div class="user">
|
||||
<a title="{{ item.complete_name }}" href="{{ _p.web }}main/social/profile.php?u={{ item.id }}" class="name">
|
||||
{{ item.complete_name }}
|
||||
</a>
|
||||
<div class="username">{{ item.username }}</div>
|
||||
</div>
|
||||
<div class="summary-course">
|
||||
{% if item.course %}
|
||||
{% for course in item.course %}
|
||||
<div id="course-{{ course.real_id }}" class="course-item">
|
||||
<div class="course-info">
|
||||
<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>
|
||||
<span class="code">{{ course.code }}</span>
|
||||
</div>
|
||||
<div class="box time-spent" data-toggle="tooltip" data-placement="top" title="{{ 'CourseTimeInfo'|get_lang }}">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i>
|
||||
{{ course.time_spent }}
|
||||
</div>
|
||||
<div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'AvgStudentsProgress'|get_lang }}">
|
||||
<span class="kt-badge student-progress">
|
||||
{{ course.student_progress }} %
|
||||
</span>
|
||||
</div>
|
||||
<div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'AvgCourseScore'|get_lang }}">
|
||||
<span class="kt-badge student-score">
|
||||
{{ course.student_score }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'TotalNumberOfMessages'|get_lang }}">
|
||||
<span class="kt-badge student-message">
|
||||
{{ course.student_message }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="box" data-toggle="tooltip" data-placement="top" title="{{ 'TotalNumberOfAssignments'|get_lang }}">
|
||||
<span class="kt-badge student-assignments">
|
||||
{{ course.student_assignments }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="box">
|
||||
<span class="kt-badge student-exercises" data-toggle="tooltip" data-placement="top" title="{{ 'TotalExercisesScoreObtained'|get_lang }}">
|
||||
{{ course.student_assignments }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="box">
|
||||
<span class="kt-badge questions-answered" data-toggle="tooltip" data-placement="top" title="{{ 'TotalExercisesAnswered'|get_lang }}">
|
||||
{{ course.questions_answered }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="box box-date" data-toggle="tooltip" data-placement="top" title="{{ 'LatestLogin'|get_lang }}">
|
||||
{% if course.last_connection %}
|
||||
<span class="kt-badge last-connection">
|
||||
{{ course.last_connection }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{{ 'HaveNoCourse'|get_lang }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
26
main/template/default/my_space/pdf_export_certificate.tpl
Normal file
26
main/template/default/my_space/pdf_export_certificate.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
<div style="position: absolute; top: 30px; right: 50px;">
|
||||
<img src="{{ _p.web_css_theme }}images/header-logo.png" width="200">
|
||||
</div>
|
||||
|
||||
<h1 style="color:#000000; background-color:#fff;font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px;">
|
||||
{{ title }}
|
||||
</h1>
|
||||
|
||||
<h1 style="color:#ffffff; background-color:#521804;font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px;">
|
||||
{{ session_title }}
|
||||
</h1>
|
||||
<div style="font-weight: bold; padding-bottom: 20px;">
|
||||
{{ student }}
|
||||
</div>
|
||||
<div style="padding-bottom: 20px; margin-top: 20px;">
|
||||
{{ subtitle }}
|
||||
</div>
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_course }}
|
||||
</div>
|
||||
<div style="padding-bottom: 20px; margin-top: 20px;">
|
||||
{{ 'YourLpResultsAre' | get_lang }}
|
||||
</div>
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_parcours }}
|
||||
</div>
|
||||
20
main/template/default/my_space/pdf_export_results.tpl
Normal file
20
main/template/default/my_space/pdf_export_results.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
<div style="position: absolute; top: 30px; right: 50px;">
|
||||
<img src="{{ _p.web_css_theme }}images/header-logo.png" width="200">
|
||||
</div>
|
||||
|
||||
<h1 style="color:#000000; background-color:#fff;font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px;">
|
||||
{{ title }}
|
||||
</h1>
|
||||
|
||||
<h1 style="color:#ffffff; background-color:#521804;font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px;">
|
||||
{{ session_title }}
|
||||
</h1>
|
||||
<div style="font-weight: bold; padding-bottom: 20px;">
|
||||
{{ student }}
|
||||
</div>
|
||||
<div style="padding-bottom: 20px; margin-top: 20px;">
|
||||
{{ 'YourLpQuizzesResultsAre' | get_lang }}
|
||||
</div>
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_test }}
|
||||
</div>
|
||||
39
main/template/default/my_space/pdf_export_student.tpl
Normal file
39
main/template/default/my_space/pdf_export_student.tpl
Normal file
@@ -0,0 +1,39 @@
|
||||
<div style="position: absolute; top: 40px; right: 50px;">
|
||||
{{ logo }}
|
||||
</div>
|
||||
|
||||
{% if title %}
|
||||
<h1 style="color:#084B8A; text-transform: uppercase; background-color:transparent;font-size: 24px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if session_title %}
|
||||
<h1 style="color:#084B8A; font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ session_title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if student %}
|
||||
<div style="font-weight: bold; font-size: 14px; padding-bottom: 20px; margin-top: 20px;">
|
||||
{{ 'NamesAndLastNames'|get_lang }} : {{ student }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if table_progress %}
|
||||
<div style="background: transparent; font-size: 12px;">
|
||||
{{ table_progress }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if subtitle %}
|
||||
<div style="padding-bottom: 20px; margin-top: 20px; font-weight: bold;">
|
||||
{{ subtitle }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if table_course %}
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_course }}
|
||||
</div>
|
||||
{% endif %}
|
||||
27
main/template/default/my_space/pdf_lp_stats.tpl
Normal file
27
main/template/default/my_space/pdf_lp_stats.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
<div style="position: absolute; top: 40px; right: 50px;">
|
||||
{{ logo }}
|
||||
</div>
|
||||
|
||||
{% if title %}
|
||||
<h1 style="color:#084B8A; text-transform: uppercase; background-color:transparent;font-size: 24px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if session_title %}
|
||||
<h1 style="color:#084B8A; font-size: 22px; text-align: center; font-weight: bold; padding: 5px 10px; margin-bottom: 10px;">
|
||||
{{ session_title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if subtitle %}
|
||||
<div style="padding-bottom: 20px; margin-top: 20px; font-weight: bold;">
|
||||
{{ subtitle }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if table_course %}
|
||||
<div style="background: #f1f6ff;">
|
||||
{{ table_course }}
|
||||
</div>
|
||||
{% endif %}
|
||||
112
main/template/default/my_space/pdf_tracking_lp.tpl
Normal file
112
main/template/default/my_space/pdf_tracking_lp.tpl
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
<h3 style="text-align: center; text-transform: uppercase; font-size: 20px; font-weight: bold;">{{ data.name }}</h3>
|
||||
<br>
|
||||
<p>{{ 'Candidate' | get_lang }} : {{ data.candidate }}</p>
|
||||
<p>{{ 'ScormStartAttemptDate' | get_lang }} : {{ data.start_date }}</p>
|
||||
<br>
|
||||
<table style="width: 100%; font-size: 12px; font-weight: normal;">
|
||||
<tr>
|
||||
<th style="text-align: center; height: 25px; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Attempt'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Score'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Duration'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'StartTime'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'EndTime'|get_lang }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center; height: 50px; background: #d9d9d9; padding: 5px; display: block; border: 2px solid #FFFFFF;">
|
||||
{{ data.attempt }}
|
||||
</td>
|
||||
<td style="text-align: center; background: #d9d9d9; padding: 5px; display: block; border: 2px solid #FFFFFF;">
|
||||
{{ data.score }}
|
||||
</td>
|
||||
<td style="text-align: center; background: #d9d9d9; padding: 5px; display: block; border: 2px solid #FFFFFF;">
|
||||
{{ data.duration }}
|
||||
</td>
|
||||
<td style="text-align: center; background: #d9d9d9; padding: 5px; display: block; border: 2px solid #FFFFFF;">
|
||||
{{ data.start_time }}
|
||||
</td>
|
||||
<td style="text-align: center; background: #d9d9d9; padding: 5px; display: block; border: 2px solid #FFFFFF;">
|
||||
{{ data.end_time }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table style="width: 100%; font-size: 12px;">
|
||||
<tr>
|
||||
<th style="text-align: center; height: 25px; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Domains'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Score'|get_lang }}
|
||||
</th>
|
||||
<th style="text-align: center; background: #222222; color: #FFFFFF; border: 2px solid #FFFFFF;">
|
||||
{{ 'Percentage'|get_lang }}
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
{% for item in categories %}
|
||||
<tr>
|
||||
<td style="height:40px; width: 40%; text-align: left; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
|
||||
{{ item.name }}
|
||||
</td>
|
||||
<td style="text-align: center; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
|
||||
{% if item.score_numeric == 0 %}
|
||||
<span style="color: red;">{{ item.score }}</span>
|
||||
{% else %}
|
||||
<span>{{ item.score }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="text-align: left; padding: 5px; display: block; border-bottom: 1px solid #cdcdcd;">
|
||||
<img src="{{ "bar_progress.png"|icon(22) }}" width="{{ item.score_numeric }}px" height="16px" alt="{{ "Percentage"|get_lang }}"/>
|
||||
{% if item.score_numeric == 0 %}
|
||||
<span style="color: red;">{{ item.score_percentage }}</span>
|
||||
{% else %}
|
||||
<span>{{ item.score_percentage }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
{% for item in general_score %}
|
||||
<tr>
|
||||
<td style="text-align: left; padding: 5px; height:30px; background: #222222; color: #FFFFFF; display: block;">
|
||||
<b>{{ 'GeneralTotal' | get_lang }}</b>
|
||||
</td>
|
||||
<td style="text-align: center; padding: 5px; display: block;background-color: #f6ffe2;">
|
||||
{{ item.score }}
|
||||
</td>
|
||||
<td style="text-align: left; padding: 5px; display: block; background-color: #f6ffe2;">
|
||||
<img src="{{ "bar_progress.png"|icon(22) }}" width="{{ item.score_numeric }}px" height="16px" alt="{{ "Percentage"|get_lang }}"/>
|
||||
{% if item.score_numeric == 0 %}
|
||||
<span style="color: red;">{{ item.score_percentage }}</span>
|
||||
{% else %}
|
||||
<span>{{ item.score_percentage }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{# {% if global_total %}#}
|
||||
{# <tr>#}
|
||||
{# <td>#}
|
||||
|
||||
{# </td>#}
|
||||
{# <td>#}
|
||||
{# {{ 'GlobalTotal'|get_lang }}#}
|
||||
{# </td>#}
|
||||
{# <td>#}
|
||||
{# {{ global_total }}#}
|
||||
{# </td>#}
|
||||
{# </tr>#}
|
||||
{# {% endif %}#}
|
||||
{% endfor %}
|
||||
</table>
|
||||
@@ -0,0 +1,33 @@
|
||||
{{toolbar}}
|
||||
|
||||
{{ form }}
|
||||
|
||||
{% if users %}
|
||||
<h3 class="page-header">{{ sessionName }}</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ 'StudentName'|get_lang }}</th>
|
||||
<th>{{ 'TimeSpentOnThePlatform'|get_lang }}</th>
|
||||
|
||||
{% for course_code in courses %}
|
||||
<th>{{ 'Progress'|get_lang }}<br />{{ course_code }}</th>
|
||||
<th>{{ 'Certificate'|get_lang }}<br />{{ course_code }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
{% for data in user %}
|
||||
<td>{{ data }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{script}}
|
||||
53
main/template/default/my_space/student_follow_pdf.tpl
Normal file
53
main/template/default/my_space/student_follow_pdf.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
<div style="position: absolute; top: 40px; right: 50px; width: 250px">
|
||||
{{ logo }}
|
||||
</div>
|
||||
<h1>{{ 'StudentDetails'|get_lang }}</h1>
|
||||
|
||||
<div class="user-info">
|
||||
<div class="user-infor__col user-info__col">
|
||||
<img src="{{ user_info.avatar }}" alt="{{ user_info.complete_name }}">
|
||||
<h2>{{ user_info.complete_name }} <small>{{ user_info.username }}</small></h2>
|
||||
<p>{{ user_info.email }}</p>
|
||||
</div>
|
||||
<div class="user-info__col user-info__col">
|
||||
<dl>
|
||||
<dt>{{ 'Status'|get_lang }}</dt>
|
||||
<dd>{{ user_info.status }}</dd>
|
||||
<dt>{{ 'OfficialCode'|get_lang }}</dt>
|
||||
<dd>{{ user_info.official_code }}</dd>
|
||||
<dt>{{ 'Tel'|get_lang }}</dt>
|
||||
<dd>{{ user_info.phone }}</dd>
|
||||
|
||||
{% if user_info.timezone %}
|
||||
<dt>{{ 'Timezone'|get_lang }}</dt>
|
||||
<dd>{{ user_info.timezone }}</dd>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</div>
|
||||
<div class="user-info__col user-info__col">
|
||||
<dl>
|
||||
<dt>{{ 'FirstLoginInPlatform'|get_lang }}</dt>
|
||||
<dd>{{ user_info.first_login }}</dd>
|
||||
<dt>{{ 'LatestLoginInPlatform'|get_lang }}</dt>
|
||||
<dd>{{ user_info.last_login }}</dd>
|
||||
<dt>{{ 'LatestLoginInPlatform'|get_lang }}</dt>
|
||||
<dd>{{ user_info.last_course_connection }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
{{ careers }}
|
||||
|
||||
{{ skills }}
|
||||
|
||||
<br><br>
|
||||
|
||||
{{ classes }}
|
||||
|
||||
{% for course_info in courses_info %}
|
||||
<pagebreak>
|
||||
|
||||
{{ course_info }}
|
||||
{% endfor %}
|
||||
227
main/template/default/my_space/user_details.tpl
Normal file
227
main/template/default/my_space/user_details.tpl
Normal file
@@ -0,0 +1,227 @@
|
||||
{% import 'default/macro/macro.tpl' as display %}
|
||||
|
||||
{% if title %}
|
||||
<h2 class="details-title"><img src="{{ 'course.png'|icon(32) }}"> {{ title }}</h2>
|
||||
{% endif %}
|
||||
|
||||
<div class="page-header">
|
||||
<h3>{{ user.complete_name }}</h3>
|
||||
</div>
|
||||
<!-- NO DETAILS -->
|
||||
{% if details != true %}
|
||||
<div class="no-details">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="user text-center">
|
||||
<div class="avatar">
|
||||
<img width="128px" src="{{ user.avatar }}" class="img-responsive">
|
||||
</div>
|
||||
<div class="name">
|
||||
<h3>{{ user.complete_name_link }}</h3>
|
||||
<p class="email">{{ user.email }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{{ display.reporting_user_details(user) }}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{{ display.card_widget('FirstLoginInPlatform'|get_lang, user.first_connection, 'calendar') }}
|
||||
{{ display.card_widget('LatestLoginInPlatform'|get_lang, user.last_connection, 'calendar') }}
|
||||
{{ display.card_widget('LatestLoginInAnyCourse'|get_lang, user.last_connection_in_course, 'calendar') }}
|
||||
|
||||
{% if user.legal %}
|
||||
{{ display.card_widget('LegalAccepted'|get_lang, user.legal.datetime, 'gavel', user.legal.icon) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- DETAILS -->
|
||||
{% else %}
|
||||
<div class="details">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
{{ display.panel('', display.reporting_user_box(user), '') }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-blue" title="{{ 'Progress'|get_lang }}" class="easypiechart"
|
||||
data-percent="{{ user.student_progress }}">
|
||||
<span class="percent">{{ user.student_progress }}%</span>
|
||||
</div>
|
||||
<div class="easypiechart-legend">
|
||||
{{ 'ScormAndLPProgressTotalAverage'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if not hide_lp_test_average %}
|
||||
<div class="col-md-6">
|
||||
<div class="easy-donut">
|
||||
<div id="easypiechart-red" title="{{ 'Score'|get_lang }}" class="easypiechart"
|
||||
data-percent="{{ user.student_score }}">
|
||||
<span class="percent">{{ user.student_score }} </span>
|
||||
</div>
|
||||
<div class="easypiechart-legend">
|
||||
{{ 'ScormAndLPTestTotalAverage'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-sign-in" aria-hidden="true"></i>
|
||||
{{ user.tools.count_access_dates }}
|
||||
<div class="box-name">
|
||||
{{ 'CountToolAccess'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-globe" aria-hidden="true"></i>
|
||||
{{ user.tools.links }}
|
||||
<div class="box-name">
|
||||
{{ 'LinksDetails'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-download" aria-hidden="true"></i>
|
||||
{{ user.tools.documents }}
|
||||
<div class="box-name">
|
||||
{{ 'DocumentsDetails'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-pencil" aria-hidden="true"></i>
|
||||
{{ user.tools.tasks }}
|
||||
<div class="box-name">
|
||||
{{ 'Student_publication'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-comments-o" aria-hidden="true"></i>
|
||||
{{ user.tools.messages }}
|
||||
<div class="box-name">
|
||||
{{ 'NumberOfPostsForThisUser'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-paper-plane" aria-hidden="true"></i>
|
||||
{{ user.tools.upload_documents }}
|
||||
<div class="box-name">
|
||||
{{ 'UploadedDocuments'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card box-widget">
|
||||
<div class="card-body">
|
||||
<div class="stat-widget-five">
|
||||
<i class="fa fa-plug" aria-hidden="true"></i>
|
||||
<span class="date" title="{{ user.tools.chat_connection }}">
|
||||
{% if user.tools.chat_connection != '' %}
|
||||
{{ user.tools.chat_connection }}
|
||||
{% else %}
|
||||
{{ 'NotRegistered'|get_lang }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<div class="box-name">
|
||||
{{ 'ChatLastConnection'|get_lang }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if user.tools.count_access_dates %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{% if user.tools.course_first_access %}
|
||||
{{ display.card_widget('FirstLoginInCourse'|get_lang, user.tools.course_first_access, 'calendar-check-o', user.legal.icon) }}
|
||||
{% endif %}
|
||||
|
||||
{% if user.tools.course_last_access %}
|
||||
{{ display.card_widget('LatestLoginInCourse'|get_lang, user.tools.course_last_access, 'calendar-o', user.legal.icon) }}
|
||||
{% endif %}
|
||||
|
||||
{% if user.time_spent_course %}
|
||||
{{ display.card_widget('TimeSpentInTheCourse'|get_lang, user.time_spent_course, 'clock-o') }}
|
||||
{% endif %}
|
||||
|
||||
{{ display.card_widget('FirstLoginInPlatform'|get_lang, user.first_connection, 'calendar') }}
|
||||
{{ display.card_widget('LatestLoginInPlatform'|get_lang, user.last_connection, 'calendar') }}
|
||||
{{ display.card_widget('LatestLoginInAnyCourse'|get_lang, user.last_connection_in_course, 'calendar') }}
|
||||
|
||||
{% if user.legal %}
|
||||
{{ display.card_widget('LegalAccepted'|get_lang, user.legal.datetime, 'gavel', user.legal.icon) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$('#easypiechart-blue').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#30a5ff',
|
||||
lineWidth: 8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
|
||||
$('#easypiechart-red').easyPieChart({
|
||||
scaleColor: false,
|
||||
barColor: '#f9243f',
|
||||
lineWidth: 8,
|
||||
trackColor: '#f2f2f2'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
46
main/template/default/my_space/user_summary.tpl
Normal file
46
main/template/default/my_space/user_summary.tpl
Normal file
@@ -0,0 +1,46 @@
|
||||
<script>
|
||||
$(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
<div class="summary-legend">
|
||||
<ul class="list-legend">
|
||||
<li>
|
||||
<span class="cube student-progress">
|
||||
</span>
|
||||
{{ 'AvgStudentsProgress'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube student-score">
|
||||
</span>
|
||||
{{ 'AvgCourseScore'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube student-message">
|
||||
</span>
|
||||
{{ 'TotalNumberOfMessages'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube student-assignments">
|
||||
</span>
|
||||
{{ 'TotalNumberOfAssignments'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube student-exercises">
|
||||
</span>
|
||||
{{ 'TotalExercisesScoreObtained'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube questions-answered">
|
||||
</span>
|
||||
{{ 'TotalExercisesAnswered'|get_lang }}
|
||||
</li>
|
||||
<li>
|
||||
<span class="cube last-connection">
|
||||
</span>
|
||||
{{ 'LatestLogin'|get_lang }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ table }}
|
||||
33
main/template/default/my_space/works_in_session_report.tpl
Normal file
33
main/template/default/my_space/works_in_session_report.tpl
Normal file
@@ -0,0 +1,33 @@
|
||||
{{ form }}
|
||||
|
||||
{% if session %}
|
||||
<h3 class="page-header">{{ session.name }}</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ 'OfficialCode'|get_lang }}</th>
|
||||
<th>{{ 'StudentName'|get_lang }}</th>
|
||||
<th>{{ 'TimeSpentOnThePlatform'|get_lang }}</th>
|
||||
<th>{{ 'FirstLoginInPlatform'|get_lang }}</th>
|
||||
<th>{{ 'LatestLoginInPlatform'|get_lang }}</th>
|
||||
|
||||
{% for course_code in courses %}
|
||||
<th title="{{ header.title }}">{{ course_code }} <br />({{ 'BestScore' | get_lang }})</th>
|
||||
<th>{{ 'Progress'|get_lang }}</th>
|
||||
<th>{{ 'LastSentWorkDate'|get_lang }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
{% for data in user %}
|
||||
<td>{{ data }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user