Commit 37e3a209 authored by Thomas Fradet's avatar Thomas Fradet
Browse files

path list css

parent 0dd1f7ee
......@@ -92,6 +92,8 @@ Ajout de vérification du droit d'éditer le cours pour les interfaces d'éditio
Sous forme de liste cliquable.
Ajout d'une apparence de lien sur le titre de la ressource.
#### Textes
Amélioration des textes sur les pages de liste et d'édition des parcours.
......
......@@ -58,6 +58,15 @@
display: initial;
}
.career-module-header {
margin-bottom: 0;
color: #008196;
}
.career-module-item:hover .career-module-header {
text-decoration: underline;
}
/* Block itself */
.career-list-group .list-group-item {
......
......@@ -92,9 +92,9 @@ function is_not_empty_string($str) {
<div class="list-group" style="margin-top: 1rem;">
<?php foreach ($ressources as $value) : ?>
<?php if($value->section->id == $section->id) : ?>
<a href="<?php echo "$value->link&career=$careerId" ?>" class="list-group-item list-group-item-action flex-column align-items-start">
<a href="<?php echo "$value->link&career=$careerId" ?>" class="list-group-item list-group-item-action flex-column align-items-start career-module-item">
<div class="d-flex w-100 justify-content-between">
<h5 style="margin-bottom: 0;">
<h5 class="career-module-header">
<?php echo $value->name;?>
</h5>
<img class="" alt="" src="<?php echo $CFG->wwwroot ?>/theme/image.php/boost/<?php echo $value->type ?>/1/icon>">
......
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