Skip to content

Commit

Permalink
Revert "Update reference week"
Browse files Browse the repository at this point in the history
This reverts commit 01e19e1.
  • Loading branch information
alinekeller committed Oct 15, 2024
1 parent 01e19e1 commit 26738e8
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 71 deletions.
53 changes: 15 additions & 38 deletions assets/components/content-types/coursebook/coursebook.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,35 +158,23 @@
padding-left: 0;
}

tr td.taken {
background: $red-dark;
background-repeat: no-repeat;
background-position: 0.25rem 0.25rem;
td.taken {
color: #fff;

a {
color: #fff;
font-weight: bold;
}

&.exercice {
background-image: url(../images/icons/icon-course-exercise.svg);
}

&.tp {
background-image: url(../images/icons/icon-course-tp.svg);
&.cours {
background: $red;
}

&.labo {
background-image: url(../images/icons/icon-course-lab.svg);
}

&.course-based-project {
background-image: url(../images/icons/icon-course-based-project.svg);
&.exercice {
background: $red-dark url(../images/icons/icon-course-exercise.svg) no-repeat 4px 4px;
}

&.individual-project {
background-image: url(../images/icons/icon-course-individual-project.svg);
&.projet {
background: #8e0000 url(../images/icons/icon-course-project.svg) no-repeat 4px 4px;
}
}
}
Expand All @@ -198,35 +186,24 @@
margin-bottom: .5rem;

.caption-icon {
background: $red-dark;
background-repeat: no-repeat;
background-position: .5rem .5rem;
display: inline-block;
width: 1.75rem;
height: 1.75rem;
width: 2rem;
height: 2rem;
margin-right: .25rem;
vertical-align: middle;
}
}

.caption-exercice .caption-icon {
background-image: url(../images/icons/icon-course-exercise.svg);
}

.caption-tp .caption-icon {
background-image: url(../images/icons/icon-course-tp.svg);
.caption-cours .caption-icon {
background: $red;
}

.caption-labo .caption-icon {
background-image: url(../images/icons/icon-course-lab.svg);
}

.caption-course-based-project .caption-icon {
background-image: url(../images/icons/icon-course-based-project.svg);
.caption-exercice .caption-icon {
background: $red-dark url(../images/icons/icon-course-exercise.svg) no-repeat .5rem .5rem;
}

.caption-course-individual-project .caption-icon {
background-image: url(../images/icons/icon-course-individual-project.svg);
.caption-projet .caption-icon {
background: #8e0000 url(../images/icons/icon-course-project.svg) no-repeat .5rem .5rem;
}
}

Expand Down
30 changes: 11 additions & 19 deletions assets/components/content-types/coursebook/coursebook.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@
<td class="time">10-11</td>
<td rowspan="2" class="taken exercice">&nbsp;</td>
<td>&nbsp;</td>
<td rowspan="2" class="taken course-based-project"><a href="#">CM5</a></td>
<td rowspan="2" class="taken individual-project">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="time">11-12</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="time">12-13</td>
Expand All @@ -46,7 +48,7 @@
</tr>
<tr>
<td class="time">13-14</td>
<td rowspan="6" class="taken tp">&nbsp;</td>
<td rowspan="6" class="taken projet">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
Expand All @@ -55,7 +57,7 @@
<tr>
<td class="time">14-15</td>
<td>&nbsp;</td>
<td rowspan="3" class="taken labo"><a href="#">CM5</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
Expand All @@ -64,12 +66,14 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="time">16-17</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="time">17-18</td>
Expand Down Expand Up @@ -120,23 +124,11 @@
</p>
<p class="caption caption-exercice">
<span class="caption-icon"></span>
Exercices
</p>
<p class="caption caption-labo">
<span class="caption-icon"></span>
Labo
</p>
<p class="caption caption-tp">
<span class="caption-icon"></span>
Travaux pratiques
</p>
<p class="caption caption-course-based-project">
<span class="caption-icon"></span>
Course based project
Exercice, TP
</p>
<p class="caption caption-course-individual-project">
<p class="caption caption-projet">
<span class="caption-icon"></span>
Individual project
Projet, autre
</p>
</div>

Expand Down
3 changes: 0 additions & 3 deletions assets/images/icons/icon-course-based-project.svg

This file was deleted.

4 changes: 2 additions & 2 deletions assets/images/icons/icon-course-exercise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions assets/images/icons/icon-course-individual-project.svg

This file was deleted.

3 changes: 0 additions & 3 deletions assets/images/icons/icon-course-lab.svg

This file was deleted.

3 changes: 3 additions & 0 deletions assets/images/icons/icon-course-project.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions assets/images/icons/icon-course-tp.svg

This file was deleted.

0 comments on commit 26738e8

Please sign in to comment.