Commit 7124b2da authored by Thomas Fradet's avatar Thomas Fradet
Browse files

useless script removed

parent 1adcb9fe
......@@ -46,5 +46,13 @@ Suppression de la possibilité de plier / déplier les description de parcours e
Amélioration de l'affichage des titres et de la liste des ressources du parcours.
#### CSS inutile
Nettoyage de CSS inutile.
#### Scripts inutiles
Non inclusion de scripts inutiles dans la page career_unit.php.
......@@ -21,9 +21,9 @@
$PAGE->set_title(get_string('title_plugin', 'block_career'));
$PAGE->set_heading($OUTPUT->heading($COURSE->fullname, 2, 'headingblock header outline'));
echo $OUTPUT->header();
$PAGE->requires->js("/blocks/career/js/jquery.min.js");
$PAGE->requires->js("/blocks/career/js/file.js");
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">";
// $PAGE->requires->js("/blocks/career/js/jquery.min.js");
// $PAGE->requires->js("/blocks/career/js/file.js");
// echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">";
require_once('view/view_career_unit.php');
......
......@@ -14,6 +14,15 @@
padding: 0.6rem 1rem;
}
.career-descr {
padding: .75rem 1.25rem;
margin-bottom: 1rem;
border: 0 solid transparent;
border-color: #f1f3f5;
color: #6b6e71;
background-color: #f5f6f8;
}
/* Path settings */
.left_course_elements, .right_course_elements {
width: 33%;
......
......@@ -56,8 +56,8 @@ ksort($sections);
<section class="section">
<h2 class="display-3"><?=$titre;?></h2>
<div class="iena-carrer-path-descr wrapper">
<h2 class="display-4"><?=$titre;?></h2>
<div class="career-descr">
<?php echo $intro; ?>
</div>
<?php foreach ($sections as $section) : ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment