Skip to content
Snippets Groups Projects
Commit 1a7a3e3d authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

fix css + plugin name

parent 40e9acb0
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Blended learning format'; $string['pluginname'] = 'Course format with advanced activity tracking';
$string['currentsection'] = 'The section'; $string['currentsection'] = 'The section';
$string['editsection'] = 'Edit section'; $string['editsection'] = 'Edit section';
$string['deletesection'] = 'Delete section'; $string['deletesection'] = 'Delete section';
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Format enseignement hybride'; $string['pluginname'] = 'Format de cours avec suivi avancé des activités';
$string['currentsection'] = 'La section'; $string['currentsection'] = 'La section';
$string['editsection'] = 'Modifier section'; $string['editsection'] = 'Modifier section';
$string['deletesection'] = 'Supprimer section'; $string['deletesection'] = 'Supprimer section';
......
...@@ -705,15 +705,15 @@ th.th-rotate { ...@@ -705,15 +705,15 @@ th.th-rotate {
th.th-rotate > div { th.th-rotate > div {
transform: transform:
/* Magic Numbers */ /* Magic Numbers */
translate(18px, 53px) /*translate(18px, 53px)*/
translate(18px, 74px)
/* 45 is really 360 - 45 */ /* 45 is really 360 - 45 */
rotate(315deg); rotate(315deg);
width: 30px; width: 30px;
} }
th.th-rotate > div > span { th.th-rotate > div > span {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
padding: 5px 10px; padding: 0px 3px;
padding-bottom: 2px;
width: 180px; width: 180px;
display: block; display: block;
...@@ -748,7 +748,7 @@ th.th-rotate > div > span { ...@@ -748,7 +748,7 @@ th.th-rotate > div > span {
.state-1 span.icon-progress::after{ .state-1 span.icon-progress::after{
content: "\f1db"; content: "\f10c";
font-family: FontAwesome; width: 100%; display: inline-block;text-align: center; font-family: FontAwesome; width: 100%; display: inline-block;text-align: center;
color: white; color: white;
font-size: 130%; font-size: 130%;
...@@ -767,7 +767,7 @@ th.th-rotate > div > span { ...@@ -767,7 +767,7 @@ th.th-rotate > div > span {
} }
.state-3 span.icon-progress::after{ .state-3 span.icon-progress::after{
content: "\f1db"; content: "\f05c";
font-family: FontAwesome; width: 100%; display: inline-block; text-align: center; font-family: FontAwesome; width: 100%; display: inline-block; text-align: center;
color: white; color: white;
font-size: 130%; font-size: 130%;
...@@ -799,6 +799,7 @@ th.th-rotate > div > span { ...@@ -799,6 +799,7 @@ th.th-rotate > div > span {
.stud_perc { .stud_perc {
min-width: 45px; min-width: 45px;
display: inline-block; display: inline-block;
text-align: right;
} }
#table-body td { #table-body td {
......
...@@ -142,7 +142,7 @@ function get_activities($completion, $activesectionid) { ...@@ -142,7 +142,7 @@ function get_activities($completion, $activesectionid) {
$module->id = $activity->id; $module->id = $activity->id;
$module->name = $activity->name; $module->name = $activity->name;
$displayname = format_string($activity->name, true, array('context' => $activity->context)); $displayname = format_string($activity->name, true, array('context' => $activity->context));
$module->displayname = strlen($displayname) > 20 ? mb_substr($displayname, 0, 19, 'UTF-8').'…' : $displayname; $module->displayname = strlen($displayname) > 30 ? mb_substr($displayname, 0, 29, 'UTF-8').'…' : $displayname;
$module->section = $activity->section; $module->section = $activity->section;
$modules[] = $module; $modules[] = $module;
if ($activity->section == $activesectionid || $activesectionid == 0 ) { if ($activity->section == $activesectionid || $activesectionid == 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment