Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iena-path-block
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iena
iena-path-block
Commits
7124b2da
Commit
7124b2da
authored
6 years ago
by
Thomas Fradet
Browse files
Options
Downloads
Patches
Plain Diff
useless script removed
parent
1adcb9fe
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
career_unit.php
+3
-3
3 additions, 3 deletions
career_unit.php
styles.css
+9
-0
9 additions, 0 deletions
styles.css
view/view_career_unit.php
+2
-2
2 additions, 2 deletions
view/view_career_unit.php
with
22 additions
and
5 deletions
CHANGELOG.md
+
8
−
0
View file @
7124b2da
...
@@ -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.
This diff is collapsed.
Click to expand it.
career_unit.php
+
3
−
3
View file @
7124b2da
...
@@ -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'
);
...
...
This diff is collapsed.
Click to expand it.
styles.css
+
9
−
0
View file @
7124b2da
...
@@ -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%
;
...
...
This diff is collapsed.
Click to expand it.
view/view_career_unit.php
+
2
−
2
View file @
7124b2da
...
@@ -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-
car
r
er-
path-descr wrappe
r"
>
<div
class=
"car
e
er-
desc
r"
>
<?php
echo
$intro
;
?>
<?php
echo
$intro
;
?>
</div>
</div>
<?php
foreach
(
$sections
as
$section
)
:
?>
<?php
foreach
(
$sections
as
$section
)
:
?>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment