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 ...@@ -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. 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 @@ ...@@ -21,9 +21,9 @@
$PAGE->set_title(get_string('title_plugin', 'block_career')); $PAGE->set_title(get_string('title_plugin', 'block_career'));
$PAGE->set_heading($OUTPUT->heading($COURSE->fullname, 2, 'headingblock header outline')); $PAGE->set_heading($OUTPUT->heading($COURSE->fullname, 2, 'headingblock header outline'));
echo $OUTPUT->header(); echo $OUTPUT->header();
$PAGE->requires->js("/blocks/career/js/jquery.min.js"); // $PAGE->requires->js("/blocks/career/js/jquery.min.js");
$PAGE->requires->js("/blocks/career/js/file.js"); // $PAGE->requires->js("/blocks/career/js/file.js");
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">"; // echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">";
require_once('view/view_career_unit.php'); require_once('view/view_career_unit.php');
......
...@@ -14,6 +14,15 @@ ...@@ -14,6 +14,15 @@
padding: 0.6rem 1rem; 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 */ /* Path settings */
.left_course_elements, .right_course_elements { .left_course_elements, .right_course_elements {
width: 33%; width: 33%;
......
...@@ -56,8 +56,8 @@ ksort($sections); ...@@ -56,8 +56,8 @@ ksort($sections);
<section class="section"> <section class="section">
<h2 class="display-3"><?=$titre;?></h2> <h2 class="display-4"><?=$titre;?></h2>
<div class="iena-carrer-path-descr wrapper"> <div class="career-descr">
<?php echo $intro; ?> <?php echo $intro; ?>
</div> </div>
<?php foreach ($sections as $section) : ?> <?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