Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iena
iena-path-block
Commits
37e3a209
Commit
37e3a209
authored
May 29, 2019
by
Thomas Fradet
Browse files
path list css
parent
0dd1f7ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
37e3a209
...
...
@@ -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.
...
...
styles.css
View file @
37e3a209
...
...
@@ -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
{
...
...
view/view_career_unit.php
View file @
37e3a209
...
...
@@ -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
=
"
m
ar
gin-bottom: 0;
"
>
<h5
class
=
"
c
ar
eer-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>"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment